PDA

View Full Version : AnyLink Drop Down Menu IE



johnnyi
03-09-2005, 04:13 PM
Howdy folks,

I have been toying with the "AnyLink Drop Down Menu IE" menu and was curious as to whether anyone has successfully added a second layer to the menu - for example, launch another "AnyLink Drop Down Menu IE" menu from an item contained in the first menu. I thought I could just input the following, but it's giving me a syntax error. It's probably a long shot, but just thought I'd try you all before surrendering.




//Contents for menu 3 - Menu A
var menu3=new Array()
menu3[0]='<a href="http://www.google.com">Google</a><br>'
menu3[1]='<a href="http://www.yahoo.com">Yahoo!</a><br>'
menu3[2]='<a href="default2.htm" onClick="return dropdownmenu(this, event, menu4, \'200px\')" onMouseout="delayhidemenu()">News Sites</a><br>'

//Contents for menu 4 - Menu B
var menu4=new Array()
menu4[0]='<a href="http://cnn.com">CNN</a><br>'
menu4[1]='<a href="http://msnbc.com">MSNBC</a><br>'
menu4[2]='<a href="http://news.bbc.co.uk">BBC News</a><br>'



So in other words, what I'm trying to accomplish is that when you click News Sites from the first menu (Menu A) that another menu will appear on top of it showing the contents of Menu B.

Again, it's probably a long shot, but figured I'd check with you all first.
:D

Thanks in advance.

- i

ddadmin
03-09-2005, 09:18 PM
Hmm unfortunately this wouldn't exactly be a simple modication. We might release an alternate version of this script in the future with support for a 2nd layer.