This line controls the vertical position of the drop down:
Code:
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
to get it a little further down, just add to it like:
Code:
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+5+"px"
This will affect the positioning in those situations where the drop down must drop up so, you should compensate by also changing:
Code:
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
by an equal yet, opposite value to (in this case):
Code:
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight-5
Just to clarify, this second change deals with the vertical position of the drop down when the menu is so close to the bottom edge of the browser that it needs to 'drop up' in order to be visible.
Bookmarks