Recent Questions
Q: Hi there ... a while ago I had asked you what I need to change to prevent exit pops from being activated, but I don't think it's working.
For example, a regular link that I want:
onClick="exit=false"
How do I do it with dhtml vertical menu?
Before, in the "text" box in the "Item Parameters" window, you had me do the following:
<span onClick='exit=false;'>click here</span>
But that doesn't seem to work. Any other suggestions? Thanks very much.
A: I suppose that you should move menuItems from the data file to yourhtml page directly (where you define exit variable).
<script>
menuItenms = [
...
],
</script>
Q: I have used one of your products in the past, but bare with me as I am not a programmer. It was a Basic Horizontal Menu that I used mostly the defaults with.
I have a New website that needs to have more than one MENU....
1 - Header = (Horizontal) Drop down Menu
2 - Right Side Bar = (Vertical) MAIN Menu with sub-menus
3 - Lower Side Bar = (Vertical) Menu #2 with sub-menu
4 - Footer Menu = (Horizontal) Pop-up Menu?
I am not sure how this all would be accomplished on one page.
I have tried reading the INFO on the site but I get lost in all the data.
Could you explain a little better please?
A: You can add as many menus as you want on the one page.
You should call
<SCRIPT type=text/javascript> var dmWorkPath = "data.files/";</SCRIPT>
<SCRIPT src="data.files/dmenu.js" type=text/javascript></SCRIPT>
and then call your data files:
<SCRIPT src="data.files/data1.js" type=text/javascript></SCRIPT>
<SCRIPT src="data.files/data2.js" type=text/javascript></SCRIPT>
<SCRIPT src="data.files/data3.js" type=text/javascript></SCRIPT>
<SCRIPT src="data.files/data4.js" type=text/javascript></SCRIPT>
Q: I am curious why there are no font settings for "Individual Styles" for"Submenu styles".
Basically I want to have a different font and color for my submenu items so they appear differently than the normal primary Items - but it seems there is only two options for fonts:
- The global font parameters affecting all fonts (primary and sub).
- And the Individial Styles for primary Item Styles.
Why no font paramenters for Submenu Items?
A: You can assign Item Style for the submenu item too.
See the example:
var itemStyles = [
["fontStyle=normal 13px Comic Sans MS"], //item style 0
];
var menuStyles = [
];
["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", , , "0", , , ], //item style 0
["||How To Setup","testlink.html", "default.files/icon6.gif", "default.files/icon6o.gif", , , "0", , , ], //item style 0
Q: Is it possible to have menu items act like regular hyperlinks?
For instance in Firefox I like to "middle click" hyperlinks to open them in a new tab, or in IE right click and open in new window.
However with Deluxe-Menu this does not seem to work.
A: If you want to open your links in the new window you should set the item target parameter to "_blank", for example:
var menuItems = [
["Home","testlink.html", , , , "_blank", , , , ],
...
You can include also any html code in the Item Text.
For example:
["<a href='http://deluxe-menu.com/'>Home</a>","", , , , , , , , ],