Recent Questions
Q: That is what I need:
a) I build a menu with an item like this:
["||"Product1","http://127.0.0.1/product1.htm","","","",,"0",],
b) when I select that item, I need that page product1.htm loads into an iFrame.
Can I do this?
A: You should set the Iframe name as the target value in the menuItems.
You should also set the following parameter:
var itemTarget = "";
Q: I have noticed an issue with the menu. Dhtml pop up menu does not drop down over the frame if a pdf is being displayed. It does something weird to the browser like shortens the main frame and displays above the menu.
A: Notice that you should add your pdf inside IFRAME tag.
Try to set the following parameter to overlap .pdf files:
var useIFRAME=1;
Q: I have a javascript menu codes that I change dynamically with dm_ext_changeItem.
When I converted it to a popup window, dm_ext_changeItem does not seem to work. Is this a bug?
A: See in the popup menu you should write submenuInd+1:
dm_ext_changeItem (menuInd, submenuInd+1, itemInd, iParams)
Q: But given the sample on
http://deluxe-menu.com/highlighted-items-sample.html#ind
we want to delete menuentry 'Sample1' and do
dm_ext_deleteItem(2, 4, 0)
This raises an error but according to your javascript menu master manual the first argument should be the menuindex ....which is 2 in our opinion.
A: See, if you have several menus on your page they will have differentID's, for example:
<script type="text/javascript" src="menu/data1.js"></script> //ID=0
<script type="text/javascript" src="menu/data2.js"></script> //ID=1
<script type="text/javascript" src="menu/data3.js"></script> //ID=2
<script type="text/javascript" src="menu/data4.js"></script> //ID=3
So, if you have only one menu on your test page you should use ID=0