Recent Questions
Q: Can your dhtml drop down menus work in conjunction with a scroll wheel?
A: You cannot scroll submenus using scroll wheel when you set
var smSmartScroll=1;
To scroll your submenu you should move your mouse.
But you can use scroll wheel when you set
var smSmartScroll=0;
Q: Can I change the style of javascript tree menu on the fly when I click the style menu items of the tree I made?
A: Theoretically you can do it.
Try to use
function dtreet_ext_userClick(itemID)
{
// Your Javascript code here
return true;
}
function and call
function dtreet_ext_changeItem (menuInd, itemID, itemParams)
function in it.
You should create Individual item style for this item and and assignthis style when you click on the item
Q: Just wanted to thank you for all of your help...I changed all of the paths accordingly and the menus look great.
Out of curiousity, how do I use the javascript calendar function? It does not appear to be an option in the Deluxe Tuner GUI.
A: We haven't added Calendar in Deluxe Tuner.
You can find it in the installed package:
C:\Program Files\Deluxe Menus\calendar\
Q: How can I have the sub tab option that initiated the action highlighted once the new page is reloaded? I want to highlight the tab which is done with 'bselectedItem', please tell me about the sub-tab option.
A: See you cannot create subitems in
var tabMode=0;
it is not correct.
You should set
var tabMode=1;
The following parameters set the pressed items for top items andsubitems:
var bselectedItem=0; //top items
var bselectedSmItem=2; //subitems
where 0,1,2... is the index of the item in bmenuItems.
- delete var bselectedItem=1; and var bselectedSmItem=2; parameters from your data file
- set correct parameters on each page before you call data file, forexample:
<noscript><a href="http://deluxe-tabs.com">Javascript Menu by Deluxe-Tabs.com</a></noscript>
<script type="text/javascript" src="menudir/dtabs.js"></script>
<script type="text/javascript"> var bselectedItem=3;
var bselectedSmItem=5; </script>
...
<script type="text/javascript" src="menudir/data.js"></script>