Recent Questions
Q: All links in navigation bar examples open in a new window even when they're configured to open in the same page (or another frame).
A: Check the following parameters:
var itemTarget="_self";
["menu item","link.htm", "", "","Tip", "_self", "", "", "", "", "", ],Q: In javascriptcoding.
I have id of the submenu.
How can retrieve id of the parent menu?
A: You can try to use the following function
function dm_ext_getSubmenuParams (menuInd, submenuInd)
Returns submenu parameters in the array:
[submenu_id, items_count, parent_item_id, submenu_level, is_horizontal]
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
Using this function you can retrieve the parent_item_id.
More info see:
http://deluxe-menu.com/functions-info.html
Q: I have a menu defined that displays and operates correctly in a page. However, if I place that same page in an iFrame the menu displays correctly BUT the texpanded parameter no longer works.
If I copy the contents of the iFrame and run it again in a new window, it all works fine again.
Is there something special I need to do in an iFrame?
A: Deluxe Tree Menu doesn't work with <IFrame> objects. It works withQ: What command that I use the HTML code that will be showing in the pop up window to close it?
A: Try to use the following functions to show and hide popup window:
deluxePopupWindow.open()
hide()
For example you should write:
["","javascript:deluxePopupWindow.make('window', 'http://google.com/', '#1: Google Web site',
'width=590,height=350,resizable,scrollbars,minimizable,fullscreen, centerscreen,move-effect=top,,opacity=1,
floatable=yes', 'default')","icon.gif"]
["","javascript:document.getElementById('window').hide();","icon.gif"]
Notice also that you should move the following code from your data file on your html page directly inside SCRIPT tags:
<script type="text/javascript">
menuItems[
[...]
];
dm_init();
</script>
See more info:
http://deluxepopupwindow.com/window-installation-info.html