- AJAX menu loading - loads web menu data from the server "on-the-fly". - Submenus dropdown on mouseover - Several menus on one page - Text aligned to left - Top items and submenus have a shadow - Submenus automatically scrolls - Visible over select boxes, iframes, pdf, flash, Java applets. - 85% transparency for sub menus
Use images for backgrounds of submenus and items, icons, arrows. Using web images you can create menus completely based on graphics.
Design both horizontal and vertical menus and submenus with any amount of menus on a single page.
Place any HTML code inside the menu item - be it a flash-object, form, picture, or text. This ability lets you to build various menus of any complexity.
Submenus can be shown in 4 ways: - From left to right and also from left to right + upwards. - From right to left and also from right to left + upwards (e.g. for right-to-left languages).
Q: I want to use function dtreet_ext_userRightClick(itemID) {
alert(itemID[0]); ???
return false; }
But how do I refer to tmenuItems array using itemID in the javascript? For example, if I want to pop a link text, should I use alert(itemID[0]))? It doesn't work. Please let me know how I refer to the menu.
A: You should use the following function to get item's info:
dtreet_ext_getItemParams (0, itemID);
For example:
<script type="text/javascript">
function dtreet_ext_userRightClick(itemID) { var link = []; link = dtreet_ext_getItemParams (0, itemID); //Returns item parameters in the array: // [item_id, index_within_submenu, parentID, level, has_child, child_count, expanded, text, link, target, tip, align, icons, hidden, disabled, visible]
alert(link[7]);
return false; } </script>
Q: Could you please advise how to stop drop down menu horizontal going under a swf in Firefox.
A: To overlap your flash file you should add opaque parametersto your flash, for example:
Q: I used the drop menu creator to create a simple tab example, and I created a simple HTML file to display the tabs. It initially appears fine when the page first displays (e.g., the correct div is hidden), but when I *first* click on a tab I always get a javascript error deep in the .js code. Then I click around a bit between the tabs and get some display problems (no more javascript errors though), until finally the show/hide logic recovers and all looks ok.
The error I initially get is something like “tabs[…].id is not an object”. I have the IE7 debugger turned on, otherwise I might not ever see this error.
FYI, I tried your example menus on your web site and everything is fine! Maybe the .js files on your web site are not the same as those created by the generator?
A: You should set the following parameter in drop menu creator:
var bselectedSmItem=0;
Q: Dreamweaver navigation bar disappearing behind flash file in Firefox..