logionweb
10-29-2009, 06:55 PM
1) Script Title: ddtabfiles
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/droptabmenu.htm
3) Describe problem:
The default for the highlighted nav menu tab is not working. I tried Customization # 3 and both tabs were highlighted. How do I not have any of the tabs show a hover color when the page is opened? Right now the "Buildings" tab is showing this. Driving me nuts trying to work around it. help? http://bmi.logion.net
thanks,
David
from ddtabfiles page:
3) Script to call following the HTML for both of the above to initialize a Tab Menu instance:
Finally, with both parts of a Drop Down Tabs defined, you should call the following script to initialize it on the page:
<script type="text/javascript">
//SYNTAX: tabdropdown.init("menu_id", [integer OR "auto"])
tabdropdown.init("bluemenu", 0)
</script>
The first parameter (highlighted in red) should be the ID of the Menu Tab to initialize once the page has fully loaded. The second parameter is optional, and lets you set which tab should be selected by default- enter either an integer (0=1st tab, 1=2nd tab etc), or "auto" to have the script try to automatically select the tab that matches the current page's URL *. And that's it!
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/droptabmenu.htm
3) Describe problem:
The default for the highlighted nav menu tab is not working. I tried Customization # 3 and both tabs were highlighted. How do I not have any of the tabs show a hover color when the page is opened? Right now the "Buildings" tab is showing this. Driving me nuts trying to work around it. help? http://bmi.logion.net
thanks,
David
from ddtabfiles page:
3) Script to call following the HTML for both of the above to initialize a Tab Menu instance:
Finally, with both parts of a Drop Down Tabs defined, you should call the following script to initialize it on the page:
<script type="text/javascript">
//SYNTAX: tabdropdown.init("menu_id", [integer OR "auto"])
tabdropdown.init("bluemenu", 0)
</script>
The first parameter (highlighted in red) should be the ID of the Menu Tab to initialize once the page has fully loaded. The second parameter is optional, and lets you set which tab should be selected by default- enter either an integer (0=1st tab, 1=2nd tab etc), or "auto" to have the script try to automatically select the tab that matches the current page's URL *. And that's it!