- Transition #14 - "fade out" effect - 85% transparency for sub menus - Sound support! - Cross-frame support - menus work on frameset-based pages - Relative/Absolute menu position - Submenus automatically scrolls - Personal CSS styles for separate menu elements - Filters and Transitional effects
Create contextual menus for your pages. For this purpose you should assign a special function for the object you want. The current coordinates of the mouse pointer or your own ones can be used for the contextual menu.
When the submenu is larger than the visible area of the page the submenu will be automatically decreased. To see all the submenu items you do not need to use scrollbars or something like that - just put your mouse to the bottom of a submenu and it will be automatically scrolled! You can also specify height and width for each separate submenu.
Build menus completely based on Cascading Style Sheets. It is possible to appoint the individual CSS styles for separate elements of the menu.
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: I can't get the popup menu sample (rightclick) to work in Opera. Does Deluxe-menu support opera for right-clicking?
Does Deluxe-menu have a gwt wrapper so we can use deluxe-menu as part of a GWT application?
A: Unfortunately, Opera doesn't support onContextMenu event. More info you can find, for example, here: http://lab.artlung.com/oncontextmenu/
Deluxe Menu wasn't developed as Google Web Toolkit extension,BUT you can use it as standard Javascript files.
To create and configure your menus use Deluxe Tuner application(included into the trial package):
http://deluxe-menu.com/deluxe-tuner-info.html
Please, try the trial version.
Q: I want to have one of the drop menus use a different image. I am using thevista images and would like to have all of them but one use the same imageand the last one a different one. Can this be done? If not I was able to adda second menu with the different image but for some reason the second menuwill not drop down. Can you help me with either of these?
A:You should create Individual Style for the last item and assign another image for it.
var itemStyles = [ ["itemWidth=92px","itemHeight=21px","itemBackColor=transparent,transparent","fontStyle=normal 11pxTahoma","fontColor=#FFFFFF,#FFFFFF","itemBackImage=data-vista-01.files/btn_black.gif,data-vista-01.files/btn_black_blue.gif"], ["itemWidth=92px","itemHeight=21px","itemBackColor=transparent,transparent","itemBackImage=data-vista-2-03.files/btn_green.gif,data-vista-2-03.files/btn_green2.gif","fontStyle='normal11px Tahoma','normal 11px Tahoma'","fontColor=#FFFFFF,#FFFFFF"],];
... successful New York surgeon (played by Michelle Krusiec) who tries to hide her girlfriend (played by Lynne Chen) from .... DHTML Menu By Milonic JavaScript
... successful New York surgeon (played by Michelle Krusiec) who tries to hide her girlfriend (played by Lynne Chen) from .... DHTML Menu By Milonic JavaScript
... successful New York surgeon (played by Michelle Krusiec) who tries to hide her girlfriend (played by Lynne Chen) from .... DHTML Menu By Milonic JavaScript