Recent Questions Jquery Tree Menu Template
Q: Is it possible to put PHP, or other scripting languages within the tab menu javascript?
A: See, for each item you should assign the ID property of the content DIV.
["Style Name","contentName", "", "", "", "", "1", "", "", ],
["-","", "", "", "", "", "0", "", "", ],
["Style Description","contentDescription", "", "", "", "", "", "", "", ],
["-","", "", "", "", "", "0", "", "", ],
["Style Variations","contentVariations", "", "", "", "", "", "", "", ],
["-","", "", "", "", "", "0", "", "", ],
["Empty","", "", "", "", "", "2", "", "", ],
And on your html page you should create DIV's with such ID.
<div id="contentName" style="height: 0%; visibility: hidden;" class="tabPage">
<br><br><br>
<p align=center><img src="img/style01_title.gif" width=140 height=90 alt="Glass Style Tabs"></p>
<br><br><br>
You should paste your content here!!!!!
</div>
You can paste any code within DIV's (PHP, Javascript ...)
Q: Option to make the background in a pop up dhtml item fully transparent so that the page below it is fully visible. Is this possible now?
A: Yes, it is possible now.
You can set the following pop up dhtml parameter:
var menuBackColor="transparent";
Q: I’m very interested in your script of deluxe-menu.
I tryed your script out and have some questions now:
How do I highlight main menu items when I selected a main category?
How do I highlight submenu items when I selected a sub category?
How can I have a submenu unfoldet when I selected the matching main category?
I would be pleased to have answers to my questions as soon as possible.
Thank you for support!
A: The menu has only two states normal and mouseover. We'll try to add the pressed state in the future.
You can set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.
Q: I worked up some menus on my local machine and they work fine I want to push them to my server.
When I do, I don't see the menu that I saw on my local machine.
Instead, I see a hypertext link with a word that I used in one menu. What could be wrong?
Do I have to chmod the JS file? Do I have it mapped wrong. Is it because I am using a demo version?
A: Demo version of the menu has full functionality.
I can't find the call of dmenu.js file on deluxe-menu.htm and dmenu.js file in the "deluxe-menu_files" folder.
Please, upload this file on your server.
More info about the installation of the menu you can find here:
http://deluxe-menu.com/installation-info.html