Recent Questions Treeview Virtuemart
Q: I am working on a menu for a client. I have most of the functionality in place for this client. I have 2 questions that I have not been able to figure out on this menu.
1. Is there a way to define the border image or color on an item in this simple javascript dropdown menu. I need to be able to add in lines between the items. I have not been able to figure out how to do that.
2. Is there a way to dynamically highlite an item? For instance if you are on the page "Horizon for SAP" as illustrated, I would want that to show differently in the menu.
I have written scripts to dynamically generate this menu based off of a sitemap. I just need to make one item on it look different based on your breadcrumb or where you are in the site.
A: > Is there a way to define the border image or color on an item.
You can't specify the image for border, but the color and width are fully configurable.
> 2. Is there a way to dynamically highlite an item?
Yes, please see
http://deluxe-menu.com/dynamic-functions-sample.html
Q: Are there the possibility to have the dhtml menu code into an external file so that nothing of the dhtml menu code will appear on my html code?
A: Menu has data.js (by default) data file with menu parameters, itemsand styles and 9 engine files.
You should only call two .js files on your html page.
See more info here:
http://deluxe-menu.com/description-of-files-info.html
http://deluxe-menu.com/installation-info.html
Q: I'm testing out your cascading html menu but I cannot seem to see the live version of it on line. I can view it on my computer but I cannot send a link to my coworkers so they can view it also. Am I putting the code in the right location? Please point me into the right direction.
A: It is not correctly to call data file inside H2 tag
<h2> <script type="text/javascript" src="test1.js"></script></h2>
You should write
<script type="text/javascript" src="test1.js"></script>
or
<div>
<script type="text/javascript" src="test1.js"></script>
</div>
Check that you uploaded dtree.js and test1.js files on your server.Q: I really enjoy your tools and methods to create superb menus! On your webpage http://deluxe-tabs.com under "Product Info" and the tab "Individual Item Styles", you give an example how to make a "brind to front effect". I have tested it and works nice - but: When you add a subitem, won't one of the right javascript menu image come along - either on mousover or on selected. What do I have to do to fix that?
I'm very grateful for your answer!
A: These examples were created for the
var tabMode=0;
only (tabs without submenus).