Recent Questions
Q: I need a way to change tabs with buttons AFTER THE PAGE IS RENDERED. This means bselecteditem is useless to me at this point.
I want to have a button called NEXT on TAB 1, and when you press that button, it switches you to TAB 2. Likewise on TAB 2 I want to have a button called NEXT that when pressed will switch you to TAB 3.
I don't want to have to post back to the server to make this work, I want a way of Javascript to change the tab indexes.
How can I do this?
A: Try to use the following function:
LTb0(menuN,itemN);
menuN - menu ID, starts with 0
itemN - item ID, starts with 0
Q: I have a web site in which I am using Deluxe Menu in the top frame as a menu that crosses the frame and a menu in the lower frame that uses it as a menu in the same frame.
However, if a user selects the menu in the upper frame they get the menu that is associated with the menu of the lower frame.
The configuration files are names differently.
Is there a setting that needs to be set for the menu to distinguish between the two menus instantiations?
A: I suppose that you have two entries of dmenu.js file on your site in the tag.
You must have only one entry of dmenu.js file.
Please, delete the same code.
You should write so:
<head>
<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menu2.files/";</script>
<script type="text/javascript" src="menu2.files/dmenu.js"></script>
<!-- (c) 2006, by Deluxe-Menu.com -->
</head>
<body>
...
<div>
<SCRIPT src="deluxe-menu_files/data-deluxe-menu.js" type=text/javascript></SCRIPT>
</div>
...
<div>
<SCRIPT src="deluxe-menu_files/data-deluxe-menu11.js" type=text/javascript></SCRIPT>
</div>
...
</body>>
Q: My Submenu is faded too quickly if I pull the mouse away from the java drop down menu.
A: You can try to use Deluxe Menu - this is a newer version of DHTMLMenu. You can use the following parameters there:
var smShowPause=200;
var smHidePause=5000;
Q: I made my own multi-users Content Management System and I'm using deluxe menu developer license to create my menu into this application.
One dhtml menu vertical constantly need to be reload to see new page created/modified or deleted by other logged users. So I just take out your code for Ajax sample to fill dynamically this submenu.
There is my .js file fort my menu : mnu_admin.zip (You'll need to extract the .js file)
In this file I'm using the same way it goe's into your example with Ajax on line : [172] ["Contenu pages","", "", "", "Gйrer les pages du site", "", "0", "0", "modules/menu/data-ajax3.js", ],
There is my : data-ajax3.js (periodically change)
var menuItems = [
["|Services", "contenu_pages_a.php?id=HMglcKWvAQklxw4uM3qHWa9pFhY432dZNIXOIlYNJO4%3D", "", "", "Services", "", "", "", ""],
["|Documentation", "contenu_pages_a.php?id=iG31PyfJ%2BswDBJPcn61IXgczwXkePaDclD6DPsxAUKE%3D", "", "", "Documentation", "", "", "", ""],
["|Soutien financier","contenu_pages_a.php?id=tIACTxYwfsey%2FBGr0ROjAXGggU3LdglWtxMTyTVINtU%3D","", "", "Soutien financier", "", "", "", ""],
["|Programmes","contenu_pages_a.php?id=A7v%2BWOmpw4syUqHRcPizZjUwh9TzxyuYm5f1yi7EiGM%3D","", "", "Programmes", "", "", "", ""],
["||ARLPHAT","contenu_pages_a.php?id=SGe4LNdC8O%2BG5eDd1fgkfkK3lKE80KZL0Pi8o3zGo3Y%3D","", "", "ARLPHAT", "", "", "", ""],
["||Association des scouts","contenu_pages_a.php?id=nZVnC9wzyyojxSJI7Lfe7FpTceVEbsdlHy9vURCyULk%3D", "","", "Association des scouts", "", "", "", ""],
["||Secondaire en spectacle","contenu_pages_a.php?id=io2hWjkLPlP%2Fcum%2FzIVoV%2FrWYskolQgvLKpc%2FJc%2FRBo%3D", "", "", "Secondaire en spectacle", "", "", "", ""],
["||Sport йtudiant","contenu_pages_a.php?id=0fY3UenTH2Rri4AD72RKj7qz8EuwBxG3K0IaXLTqyjM%3D", "","", "Sport йtudiant", "", "", "", ""],
["||Jeux du Quйbec","contenu_pages_a.php?id=lZL5TyT9RFsRE2kzAPJisP4ZAAwcfiHG3JTKS6Ey9%2BE%3D","", "", "Jeux du Quйbec", "", "", "", ""],
];
Another user just delete differents pages so the data_ajax3.js change to this (example) :
var menuItems = [
["|Services","contenu_pages_a.php?id=HMglcKWvAQklxw4uM3qHWa9pFhY432dZNIXOIlYNJO4%3D", "","", "Services", "", "", "", ""],
["|Documentation", "contenu_pages_a.php?id=iG31PyfJ%2BswDBJPcn61IXgczwXkePaDclD6DPsxAUKE%3D", "", "", "Documentation", "", "", "", ""],
["|Soutien financier", "contenu_pages_a.php?id=tIACTxYwfsey%2FBGr0ROjAXGggU3LdglWtxMTyTVINtU%3D", "", "", "Soutien financier", "", "", "", ""],
["|Programmes", "contenu_pages_a.php?id=A7v%2BWOmpw4syUqHRcPizZjUwh9TzxyuYm5f1yi7EiGM%3D", "", "", "Programmes", "", "", "", ""],
["||ARLPHAT", "contenu_pages_a.php?id=SGe4LNdC8O%2BG5eDd1fgkfkK3lKE80KZL0Pi8o3zGo3Y%3D", "", "", "ARLPHAT", "", "", "", ""],
["||Association des scouts", "contenu_pages_a.php?id=nZVnC9wzyyojxSJI7Lfe7FpTceVEbsdlHy9vURCyULk%3D", "", "", "Association des scouts", "", "", "", ""],
["||Secondaire en spectacle", "contenu_pages_a.php?id=io2hWjkLPlP%2Fcum%2FzIVoV%2FrWYskolQgvLKpc%2FJc%2FRBo%3D", "", "", "Secondaire en spectacle", "", "", "", ""],
["||Sport йtudiant", "contenu_pages_a.php?id=0fY3UenTH2Rri4AD72RKj7qz8EuwBxG3K0IaXLTqyjM%3D", "", "", "Sport йtudiant", "", "", "", ""],
["||Jeux du Quйbec", "contenu_pages_a.php?id=lZL5TyT9RFsRE2kzAPJisP4ZAAwcfiHG3JTKS6Ey9%2BE%3D", "", "", "Jeux du Quйbec", "", "", "", ""],
];
Trouble :
When I go over "Contenu pages" menu, the submenu won't reload and still show me the new submenu with upper content (With "Qui sommes-nous"). I need to completely refresh the page and sometime to delete browser CACHE.
What I want to do :
I want to get submenu completely reload everytime I pass over "Contenu pages" dhtml menu vertical with the mouse.
Tested Browser :
IE6 and FF3
A: Try to set the following parameter to reload submenus on recall:
var ajaxReload=1;