I'm unable to reach second dhtml drop down menu code using API functions...
Return to Recent Questions
Q:
When I use API like <script>dm_ext_deleteItem(0, 0, 0);</script>
it works fine in my first dhtml drop down menu code (menu.js) but I'm unable to reach
second one (menu_gauche.js). I�ve tried this :
<script>dm_ext_deleteItem(1, 0, 0);</script> and the page came�s out
with a JavaScript error on that line. I�ve read on your side about
dm_ext_deleteItem api and the first parameter is for menu Id � If
there anything that I have forgot ??
A:
You cannot use the following function for the tree menu:
dm_ext_deleteItem(1, 0, 0);
There is no such function there:
You should use
dtreet_ext_deleteItem (0, 0)
for the tree menu, see more info:
http://deluxe-tree.com/functions-info.html
You should set menuInd=0 if you have only one dhtml drop down menu code on your page.
Return to Recent Questions
Related:
- Aug 28, 2006 - Top menu in a 6x4 cell layout (effectively a rectangle)
- Sep 02, 2006 - Can I show / hide the javascript floating menu .
- Sep 02, 2006 - Little vertical spacers between menu items in the drop down menu.
- Sep 04, 2006 - Set a menu item to pressed when a page is loaded.
- Sep 05, 2006 - Can I say to deluxe-menu "use wrapping"?
- Sep 05, 2006 - Change cursor to a hand when over a menu link...
- Sep 06, 2006 - The alighment of the dropdown menu is off to the right in Firefox...
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Sep 06, 2006 - The first item of the html drop down menu stays highlighted.
- Sep 11, 2006 - How can I hide my dropdown menu on print?
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
|