Searched refs:scrollBox (Results 1 – 3 of 3) sorted by relevance
559 this.linesIntoCenterView=function(element,scrollBox){if(!scrollBox){scrollBox=this.getOverflowParen… argument560 }if(!scrollBox){return562 var topSpace=offset.y-scrollBox.scrollTop;563 var bottomSpace=(scrollBox.scrollTop+scrollBox.clientHeight)-(offset.y+element.offsetHeight);566 scrollBox.scrollTop=centerY;572 }if(!scrollBox){scrollBox=this.getOverflowParent(element)573 }if(!scrollBox){return576 var bottomSpace=(scrollBox.scrollTop+scrollBox.clientHeight)-(offset.y+element.offsetHeight);578 scrollBox.scrollTop=centerY580 var rightSpace=(scrollBox.scrollLeft+scrollBox.clientWidth)-(offset.x+element.clientWidth);[all …]
1539 if (!scrollBox)1542 if (!scrollBox)1548 var bottomSpace = (scrollBox.scrollTop + scrollBox.clientHeight)1553 var split = (scrollBox.clientHeight/2);1555 scrollBox.scrollTop = centerY;1569 if (!scrollBox)1572 if (!scrollBox)1580 var bottomSpace = (scrollBox.scrollTop + scrollBox.clientHeight)1586 scrollBox.scrollTop = centerY;1593 var rightSpace = (scrollBox.scrollLeft + scrollBox.clientWidth)[all …]
570 this.linesIntoCenterView=function(element,scrollBox){if(!scrollBox){scrollBox=this.getOverflowParent(element) argument 571 }if(!scrollBox){return573 var topSpace=offset.y-scrollBox.scrollTop;574 var bottomSpace=(scrollBox.scrollTop+scrollBox.clientHeight)-(offset.y+element.offsetHeight);575 if(topSpace<0||bottomSpace<0){var split=(scrollBox.clientHeight/2);577 scrollBox.scrollTop=centerY;582 this.scrollIntoCenterView=function(element,scrollBox,not argument [all...]