Recent Questions
Q: What I would like is a link inside the popup window that closes the mouseover popup window. I tried moving the "close" link from the main page into the popup window html but I get a Javascript error when I click on that link.
A: See, if you load a different page in your popup window (iframe) suchlink won't work in it.
If you add the content of the mouseover popup window in DIV (so, it will be thesame page) such link will work.Q: Question: How do you enable or configure settings so that on default a specific "Tab" is always set to on or shown as the preload tab, I have a eStore page where I would like to insure that a specific Tab is always shown on default and all others are hidden on the first revealing of the page? Can you help?
A: Use the following parameters to set the selected top and submenu items:
var bselectedItem = 0;
var bselectedSmItem = 0;
Deluxe Tabs doesn't support API functions which can return theselected tab aslo.
You can set "bselectedItem" and " var bselectedSmItem" parametersbased on your link before you call your data file.
For example, move " var 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: There are two of your menus that we wish to incorporate into one. Our main left hand side vertical navigation menu would be an accordion menu. When you click on products in the accordion menu, it would drop down with an indented sub menu. When you hover over a link in the sub menu, your Javascript Scrolling Menu - Smart Scrollable Feature would allow us to have a scrolling sub menu.
I guess my question is can you have two javascript dhtml scroll menus working together in the same page?
A: I'm not sure I understand your question.
Why you should create two menus in that case?
You can create only one vertical menu (left menu) with all submenusand set smart scrollable feature:
var smSmartScroll=1;
That is all. Please try the trial version.
Q: I have a paid version of the menu, and I was trying to add the functionality of dynamically adding net dhtml menu item
When I added the code I get the following JS error,
menu is undefined in dmenu_dyn.js (line 13)
dm_ext_addItemPos(1, 0, ["Netscape", "testlink.htm", "", 4 more...], -1)dmenu_dyn.js (line 13)
dm_ext_addItem(1, 0, ["Netscape", "testlink.htm", "", 4 more...])dmenu_dyn.js (line 13)
function dm_ext_hideAllSubmenus(mInd){_dmsm(mInd);};function dm_ext_changeItem(m...
I copied the example from your site, just to see if I can use it.
What am I doing wrong?
A: See, we have two menus on the sample's page
http://deluxe-menu.com/dynamic-functions-sample.html
That's why we write menuInd = 1
dm_ext_addItemPos(1, ...
dm_ext_addItemPos(1, 0, ["Netscape", "testlink.htm", "", 4 more...], -1)dmenu_dyn.js (line 13)
dm_ext_addItem(1, 0, ["Netscape", "testlink.htm", "", 4 more...])dmenu_dyn.js (line 13)
But if you have only one menu you should write menuInd = 0
dm_ext_addItemPos(0, ...
dm_ext_addItem(0, ...