View Single Post
Old Oct 9th, 2006, 1:33 PM   #1
Ribbott
Newbie
 
Join Date: Oct 2006
Posts: 4
Rep Power: 0 Ribbott is on a distinguished road
dropdown menu location problems

So I'm using someone else's script for the dropdown menus I'm using on my site, but it's making the menus drop down in the wrong place... I don't know much (read: anything) about java, but I was able to decipher it to the point that I think is the problem:

showhide(dropmenuobj.style, e, "visible", "hidden") dropmenuobj.x=getposOffset(obj, "left") dropmenuobj.y=getposOffset(obj, "top") dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px" dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"


The menus now drop down 2/3 of the way down the screen and 2/3 of the way across. I've had one person (who also knows nothing about javascript) say that it might have something to do with centering issues, which would be at the html level.

http://www.geocities.com/boyscouttroop49/index2.html

Yes, I know geocities is bad. Yes, it's getting a real domain. Probably as soon as I finish this.

Any help is much appreciated.
Ribbott is offline   Reply With Quote