How do I get this to work so when a menu item is clicked it doesn't open in a new window. it opens in the same window.
Also is it posible to have it so it just runs a function?
http://www.dynamicdrive.com/dynamici...pmenuindex.htm
How do I get this to work so when a menu item is clicked it doesn't open in a new window. it opens in the same window.
Also is it posible to have it so it just runs a function?
http://www.dynamicdrive.com/dynamici...pmenuindex.htm
If you look at the first drop down on the DD demo page, it does this by default, that is, open the links in the same window. Inside menucontents.js, simply make sure the last option inside each menu variable is set to "", for example:
Code:var anylinkmenu1={divclass:'anylinkmenu', inlinestyle:'width:150px; background:#FDD271', linktarget:''}
DD Admin
Bookmarks