Is it possible to have css drop down menu items act like regular hyperlinks?
Return to Recent Questions
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>","", , , , , , , , ],
Return to Recent Questions
|