It is supposed to do that. What this feature is really intended for is if the menu is lower on the page and/or scrolled near the bottom of an adequately sized window. In cases like that it allows the menu to still be seen and used.
But, if the browser window is too small, does it really matter where the drop down goes? The menu is still unusable.
Your drop downs should be short enough to fit in about 350px height. That way they will still be usable at 800 x 600 resolution, and fine for all of today's more common monitor resolutions.
However, if you still wish to disable this feature, find this function in the script file and comment out (red //) the highlighted lines as shown:
Code:
function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie5 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie5 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie5 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
//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
//}
}
return edgeoffset
}
Bookmarks