View Full Version : AnyLink JS Drop Down Menu

04-21-2011, 09:10 AM
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?


04-21-2011, 05:13 PM
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:

var anylinkmenu1={divclass:'anylinkmenu', inlinestyle:'width:150px; background:#FDD271', linktarget:''}