PDA

View Full Version : Modification for AnyLink Drop Down Menu



john@johnlewisweb.com
02-07-2005, 09:23 PM
I'm using the onClick version of AnyLink Drop Down Menu (http://dynamicdrive.com/dynamicindex1/dropmenuindex.htm)

I have several menus per page, and now want ALL menus to show onLoad and without a click. I tried the 'onLoad' event in the <img onload="javascript:dropdownmenu()"> which works in IE, but the relative x & y coordinate values in Firefox/NS6 are off. I'm not necessarily sold on this method, but it got me somewhere.

Any ideas ?

Thanks everyone

ddadmin
02-08-2005, 02:25 AM
Hmm unfortunately there's basically no easy way to do this. This is since only one DIV is used at any one time, just to contain the drop down menu for the link the mouse is currently over. To do the above, it assumes the script uses a different div for each drop down menu, so they can all be easily set to display per some action such as onLoad.