Javascript [Electronic resources] : The Definitive Guide (4th Edition) نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Javascript [Electronic resources] : The Definitive Guide (4th Edition) - نسخه متنی

David Flanagan

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید




Availability


JavaScript 1.1; deprecated in JavaScript 1.2


Synopsis


window.scroll(x, y)


Arguments


x

The X-coordinate to scroll to.

y

The Y-coordinate to scroll to.


Description


The scroll( ) method moves the window's
document within the window so the specified
x- and
y-coordinates of the document appear in
the upper-left corner of the window.

The X-coordinate increases to the right, and the Y-coordinate
increases down the page. Thus, scroll(0,0) always
places the top-left corner of the document in the top-left corner of
the window.

In JavaScript 1.2, the scrollTo( ) and
scrollBy( ) methods are preferred over
scroll( ).


/ 844