roblynch
09-25-2008, 10:46 AM
1) Script Title: AnyLink Drop Down Menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm
3) Describe problem: I'm a complete novice here, so I'm hoping for some helpful advice from someone a lot cleverer than me!
I'm using the anylink drop down menu, and in the code I've added a "+3" to the following line:
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+3+"px"
so that the dropdown appears a few pixels below my link/image. Trouble is, I'd like to have another link on my page where the menu appears above this second image link. I can amend the line of code to say -165 instead of +3 but this (obviously) changes every link.
I realise that this may be too difficult to do (and therefore may not be answered!), but if anyone knows how this can be done I'd appreciate any help :)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm
3) Describe problem: I'm a complete novice here, so I'm hoping for some helpful advice from someone a lot cleverer than me!
I'm using the anylink drop down menu, and in the code I've added a "+3" to the following line:
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+3+"px"
so that the dropdown appears a few pixels below my link/image. Trouble is, I'd like to have another link on my page where the menu appears above this second image link. I can amend the line of code to say -165 instead of +3 but this (obviously) changes every link.
I realise that this may be too difficult to do (and therefore may not be answered!), but if anyone knows how this can be done I'd appreciate any help :)