scroll

English [skr??l] American [skro?l]

n. (??? ??? ?? ???) ?? ????, ?? ????, ????(??); . ??? ???? (??? ?)? ??? ??? ?????

vi (?????) ??? ???? ?????.

???? ;????

v. Leave (leave? ??? ? ????)

JQuery? ScrollLeft() ??? ???

??: scrollLeft() ???? ???? ??? ??? ??? ?? ??? ????? ?????. ??? ??? ?? ??? ???? ???? ?? ????. ??? ??? ?? ??? ?? ? ??? 0???.

?? ??? ?? ?? ??: ? ??? ???? ??? ?? ??? ?? ??? ?????.

??: ??$(selector).scrollLeft()

?? ??? ?? ?? ??: ???? ?? ??? ?? ??? ?? ??? ?????.

??: ??$(selector).scrollLeft(??)

????:

???? Description
position ?? ?????. ? ??? ?? ??? ?????.

JQuery? ScrollLeft() ??? ?

<html>
<head>
<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
  $("button").click(function(){
    $("div").scrollLeft(100);
  });
});
</script>
</head>
<body>
<div style="border:1px solid black;width:100px;height:130px;overflow:auto">
The longest word in the english dictionary is: pneumonoultramicroscopicsilicovolcanoconiosis.
</div>
<button class="btn1">把滾動(dòng)條的水平位置設(shè)置為 100px</button>
</body>
</html>
???? ?? ?

??? ????? ??? "???? ??" ??? ?????