Recent Questions
Q: Is there a way to programmatically specify which tab is selected in the drop down menu using javascript?
What I mean is, I want to set the selected tab programmatically (Not clicking the tab).
A: Deluxe Tabs doesn't support API functions which can return theselected tab.
If your site is written on PHP you can set "bselectedItem" and "varbselectedSmItem" parameters based on your link beforeyou call your data file.
For example, move "bselectedItem" and " var bselectedSmItem" parametersfrom your data file to your code.
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=<?php echo $seltabs; ?>;
var bselectedSmItem=<?php echo $selsmtabs; ?>;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>
You should define seltabs and selsmtabs using server side script.
You can also set it on every page before you call data.js file, forexample:
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=4;
var bselectedSmItem=3;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>
Q: Do you have an extremely simple example of modifying a dynamic drop down menus with the JavaScript API? I've played with the example on the site, but I have trouble removing the other menus without breaking it.
I just want to use the API to change the icon on the menu items.
A: You should use the following function:
function dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)
<script language="javascript" >
dm_ext_changeItem(0, 0, 1, ["", "", "new_icon.gif", "new_icon_o.gif", "",,""]);
</script>
http://deluxe-menu.com/dynamic-functions-sample.htmlQ: Thank you for your prompt replay- the menu now works! However, the multi level dhtml menu takes forever to load up as demonstrated on our website. I was wondering whether there was any possible way of getting it to load up faster.
A: I have noticed no delays in the menu loading.
But your menu is big enough. You can try to us AJAX technology.
http://deluxe-menu.com/ajax-technology-menu-sample.html
Try to set the following parameter also:
var dm_writeAll=1;
Q: I use Namo WebEditor 2006 to edit our site.
I used your program to create a drop down menu but when I try to paste the script into my editor I don't get the menu. I have read your instructions and followed them step by step several times but I have had no success. Can you please assist me.
A: Deluxe Menu wasn't developed as Namo WebEditor 2006/Dreamweaver/Frontpage extension,
BUT you can use it as standard Javascript files. To install the menuinto your html page:
1. open the page in Namo WebEditor 2006/Dreamweaver/Frontpage
2. open html source code of the page
3. add several rows of code (<script> tags), For info see:
http://deluxe-menu.com/installation-info.html
That's all.To create and configure your menus use Deluxe Tuner application(included into the trial package):http://deluxe-menu.com/deluxe-tuner-info.html