Recent Questions Java Tree Example
Q: I would like, that not only the text is represented differently when dhtml nav menu item is expanded, also the Icon separates before it at the side where I am.
iconarrs.gif is not right
iconarrs_aktiv.gif is right
How do I solve that?
A: You should set arrow for expanded state
["||Seite 1","seite1.htm", "deluxe-tree.files/iconarrs.gif", "", "deluxe-tree.files/iconarrs_aktiv.gif", "Seite 1", "_self", "", "", "", ],
["||Seite 2","seite2.htm", "deluxe-tree.files/iconarrs.gif", "", "deluxe-tree.files/iconarrs_aktiv.gif", "Seite2", "_self", "", "", "", ],
["||Seite 3","seite3.htm", "deluxe-tree.files/iconarrs.gif", "", "deluxe-tree.files/iconarrs_aktiv.gif", "Seite3", "_self", "", "", "", ],
Q: A question: How do I make it show all the drop down dhtml menu items rather than having them pop up?
eg:
- Item 1
- sub item 1
- sub item 2
- sub item 3
A: You cannot expand items by default in JavaScript Tree Menu. You should hoverover menu to open submenus.
You can do it using Javascript/DHTML Tree.
To expand specific items in Javascript/DHTML Tree you should add + sign beforeitem's text or set the following parameter to expand all drop down dhtml items bydefault:
var texpanded = 1;
Q: We have another question. How can we increase the width of the vista style buttons? Changing the itemwidth style will make the buttons larger but it also cause all the images to appear in the wrong place.
var itemStyles = [
["itemWidth=92px"
A: The width of Vista images is 92px. So, if you want to create the itemswider than 92px you should change vista images in any graphic editor,for example in PhotoShop.
Q: In IE7 I see the deluxe-menu.com link on the top and no horizontal menu items on my page.
In Firefox it will work fine.
Can you help me to get the Solution?
A: Your browser has JavaScript option disabled.
It means that no one JavaScript element can be run.
You should to enable JavaScript in IE:
Tools -> Internet Options -> Security -> Custom level... -> Scripting -> Active Scripting = Enable
There is no way to enable these preferences automatically, in othercase there are no reasons to create security preferences.
You can use search engine friendly code, so you'll see all yourlinks (for the main items and submenus) when your security settings in IE doesn't allow Javascript.
You can generate search engine friendly code.
JavaScript Tree Menu is a search engine friendly menu since v1.12.
To create a search engine friendly menu you should add additional html code within your html page:
<div id="dmlinks">
<a href="http://deluxe-menu.com">menu_item_text1</a>
<a href="http://deluxe-tree.com">menu_item_text2</a>
...etc.
</div>
To generate such a code use Deluxe Tuner application.
You can find this GUI in the trial package.
Run Tuner, load your horizontal menu and click Tools/Generate SE-friendly Code (F3).