http://www.dynamicdrive.com/dynamici...pmenuindex.htm please can somebody help me get that drop down menu above the text it is being linked to ...:)
Printable View
http://www.dynamicdrive.com/dynamici...pmenuindex.htm please can somebody help me get that drop down menu above the text it is being linked to ...:)
^^^ please can you reply i really need help
yeah i still need help yeah thats what i want what u just said can u help??? thanks :DQuote:
Originally Posted by rianaM
OK, I'm chugging away on this. I'm trying to figure it out - if I get it, I'll let you know.
UPDATE: I'm not sure how your page layout works, and this is a bit of a cheat. . .but if you trap it down at the bottom of the page, the boxes will display on top automatically. I'm still looking into how to just MAKE it do that anyway though. I'll keep you updated. :)
thanks very much man :D
Replace:
with (remove all red parts from above including the trailing }):Code:if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
Code:edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
cheers very much moved it above but not direct above any idea why??
Cool! I almost had it. :D At least I was monkeying in the right area.
Either something in your layout is messing with it or, there isn't enough room for the entire drop down to appear above its trigger in the window.Quote:
Originally Posted by andy_DT
here is a link to the site u will see what i mean when u click it
www.dirttag.com/college/index22.html
you may see what i mean now
Unless you've changed something else in the script, it is your layout. Try it on a blank page with just the menu.
ok ill try that then i might refresh the script ie put a new one in, cheers
Thanks very much guys its work a treat. :D