Recent Questions
Q: I am still struggling with multiple menus on one page.
It is probably something I am doing wrong, but I cannot see it.
A: Now you have:
var absolutePos=1;
var posX="10";
var posY="10";
So, both of your menus have the same absolute position.
You can use relative position and place your menu inside <table>. In this case you should write so:
var absolutePos=0;
Q: I am conisdering purchasing your menu generator product, however I have a question that is very important to me.
How can I add a separator to the dhtml menu examples using the dynamic functions? It seems as though the only way to get a separator into the menu is by defining it before hand, but the website I'm building will require me to reload the menus dinamically, and I'm losing the ability to put separators on it.
If there's a workaround for it, or if there's a chance that you can give me a prototype function that exposes that functionality, that would be acceptable as well.
A: You should add items using the following function:
function dm_ext_addItem (menuInd, submenuInd, iParams)
or
function dm_ext_addItemPos (menuInd, submenuInd, iParams, Pos)
Find more info:
http://deluxe-menu.com/functions-info.html
Set the following parameter:
var dm_writeAll=1;
So, you should write:
dm_ext_addItem(0, 4, ["|-", "", "", "", "", "", "", ])Q: One intern design a menu for us using MenuTuner that we bought however Menu doesn’t work in Firefox or netscape.
It works fine in Internet Explorer.
Can you help? I’m attaching the zip file which you can extract and open index.html to see what’s wrong.
A: Try to specify units in "px".
var tmenuWidth = "230px";
It's necessary to specify exact value for Mozilla browsers. It helpsto position menus correctly.
You should set this parameter:
var tmenuHeight = "auto";
Q: We haven't managed to find out how to activate a popup window through click in a flash? Is there possible to call a single jsfunction to activate it?
A: You can deluxePopupWindow.open() function to open your window:
<a href="javascript:;" onclick="deluxePopupWindow.open('window1', 'Content1 Content1','Window1','width=220,height=100,resizable,scrollbars=no,middle,right,fade-effect', 'windowsvista_graphite')">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="120" HEIGHT="40">
<PARAM NAME=movie VALUE="deluxe-menu.files/flash-deluxe-menu.swf">
<PARAM NAME=quality VALUE=best>
<param name="wmode" value="opaque">
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="deluxe-menu.files/flash-deluxe-menu.swf" quality=best bgcolor=#FFFFFF wmode="opaque" WIDTH="120" HEIGHT="40" NAME="data-samples/flash-deluxe-menu" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT></a>