Recent Questions Download Tree Menu MootoolsQ:
Just wondering if you could help.I wish to put a script java menu on every page of my site - through all the folders etc.
How do I set it so that they all 'feed' from the same dmenu.js file?
How do I set the file path to that file from all pages of my website?A: 1) How do I set it so that they all 'feed' from the same dmenu.js file?
You should use absolute path here:
1. Paste the following code into a tag of your page:
<!-- (c) 2009, http://deluxe-menu.com -->
2. Paste the following code where you want to have the menu:
2) How do I set the file path to that file from all pages of my website?
If you don't want to create your menu on each page, you can try to useframes, the menu has a cross-frame mode.
Also you can use aserver-side script (php, asp, vb, etc.) to generate html pages fromtemplates on your server.
Is there any way to keep a menu lit up when going to another page? Or do the menus always have to default back to their normal state?
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.
Do you have a few examples of how to create clickable links for html popup?A: You can find such example here:
See how you should write your link:
onClick="deluxePopupWindow.open('safari', 'New Popup window', '#2: Popup window',
opacity=0.95,floatable=no', 'windows_safari')">Click here to open</a>Q:
For example you should write:
Notice also that you should move the following code from your data file on your html page directly inside SCRIPT tags:
See more info: