Recent Questions Examples Style Treeview
Q: I have read your FAQ's on "When using javascript tabbed menu, where do I place the text content related to the selected tab", but I am still not understanding how to edit the java text menu. Can someone please assist me. This is for our Pack website and I have subscribed to a non-profit license. Thank you for your time.
A: You should specify any Object ID name of the DIV.
See, for each java text menu item you should assign the ID property of the contentDIV (see data file with your menu parameters).
["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. You canset background image for these DIV's in styles.
<div id="contentName" style="height: 0%; visibility: hidden; background-image: url('img/back.jpg'); background-repeat:repeat-y;" 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>
<div id="contentDescription" 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 description here!!!!!
</div>
Q: The text on the dropdown menu item is not centered as it shows in the preview, How do I fix?
A: The reason is in your style
TD {
VERTICAL-ALIGN: top
}
Try not to define style for Table, TD, TR elements they can affect themenu.
Set also the following parameter:
var itemAlignTop="center";
Q: How can I open the link in a new window with your DHTML MENU?
A: Please, try to set that parameter in your data.js file:
var itemTarget="_blank";
Q: This is a great product and I hope to use it for the project I am currently working on. I have played around with using simple javascript menu but have been unable to figure out how to make sub menu items live on multiple rows and columns. Could you point me in the right direction? I know with the individual styles I could make the category titles bold and put sub categories right underneath without actually making them sub categories.
A: You can find more info here:
http://www.deluxe-menu.com/multicolumn-menu-sample.html