ScrollBy Method
The ScrollBy method scrolls to certain pixel values.
Syntax
SiteKioskWindow.SiteKioskWebBrowser.ScrollBy(al_Xoff, al_Yoff)
|
Parameters
al_Xoff |
Long value that specifies the scroll position for horizontal scrolling. |
al_Yoff |
Long value that specifies the scroll position for vertical scrolling. |
Return Value
Remarks
Examples
The following example scrolls to the position x=100 pixels and y=250 if possible.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
document.write("<a href='#' onclick='SiteKioskWindow.
SiteKioskWebBrowser.ScrollBy(100,0)'>
<img src='your_horizontalscroll_button.gif'></a>");
document.write("<a href='#' onclick='SiteKioskWindow.
SiteKioskWebBrowser.ScrollBy(0,250)'>
<img src='your_verticalscroll_button.gif'></a>");
</SCRIPT>
|
Applies to
SiteKiosk v5.0 (and later versions).
Back to top