Recent Questions
Q: Is there a way we can add javascript behaviors to the popup menu in java actions? For example, is there a way we can add an onClick function to a popup menu in java item (eg, onClick="return MyFunction( )" ) so that we can catch and process key events?
I'm really hoping there's a way of doing this...
A: Unfortunately, you can't assign onmouseover/onClick/onContextMenu event to each item. However, you can achieve this by using standard html objects within popup menu in java items, for example:
var menuitems = [
["<div onContextMenu='your_code_here'>item text</div>", ""]
];
You can use your own Javascript code instead standard links. For example:
var menuItems = [
["text", "javascript:your_code_here"]
];
Q: I am evaluating your Deluxe Menu. I see there are many different template designs. Is it possible to create a custom image to be used as the base image for the main javascript pull down menu? If, so how is it done? Or is it mandatory to use the templates available? I would like to have a larger image for the main javascript pull down menu. Most templates have very small and thin images.
A: No, it is not mandatory to use templates.
You can use your own images. Try to use the following javascript pull down menu parameters:
var menuBackImage="";
var menuBackRepeat="repeat";
var itemBackImage=["",""];
And Individual Item Style and Individual Submenu Styles.
Q: The navigation menus shows up behind the YouTube videos instead of the front
A: You should add opaque parameter to object and embed tags. So set your video in thefollowing way:
<object width="445" height="364">
<param name="movie" value="http://www.youtube-nocookie.com/v/tXdWj-teINc&hl=en&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6&border=1">
<param name="allowFullScreen" value="true">
<param name="wmode" value="opaque">
<param name="allowscriptaccess" value="always">
<embed src="islam-supports-child-marriage-rape-and_files/tXdWj-teINchlenfs1rel0color10x2b405bcolor20x6b8ab6border1.swf" wmode="opaque" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="445" height="364">
</object>
Q: Is there a way to capture user click event just like the one in the javascript menu sliding?
A: Unfortunately, you can't assign onmouseover/onClick/onContextMenu event to each item.
However, you can achieve this by using standard html objects within items, for example:
var menuitems = [
["<div onContextMenu='your_code_here'>item text</div>", ""]
];