Displaying 2 results from an estimated 2 matches for "scrollm".
Did you mean:
scroll
2005 Nov 23
0
Browser inconsistencies when using Effect.MoveBy()
...E 6
where, after calling MoveBy(), the table becomes visible outside the
boundaries of the div.
Can anyone give me a hand with this?
Many thanks!
Relevant code is between the lines (ignore dodgy event handler code!):
____________________________________________________________________
function scrollMe(Direction){
var value = Direction == 'left' ? 500 : -500;
var theTable = $('Table');
new Effect.MoveBy(theTable, 0, value, {});
}
<div id="viewer" style="border: 1px solid #c03; width: 500px;
overflow: hidden;">
<p>
<img src="l...
2006 Mar 17
1
Autocompleter.Local problem/desparate plea for help...
...l>" + ret.join('''') + "</ul>";
}
//end
});
// ]]>
</script>
I did try to make a function that would scroll outside of the Autocompleter,
but it doesn''t work based on the fact the auto_complete <div> may not be
showing yet:
function scrollme(box) {
var topItem = Position.cumulativeOffset(box.getEntry(0));
var selItem = Position.cumulativeOffset(box.getEntry (box.index));
box.update.scrollTop=selItem[1]-(topItem[1]+15);
}
scrollme(box);
Please help me!!!
Thanks,
-Steve
_______________________________________________
Ra...