'doScroll()' Syntax, Parameters and Note : doScroll « Javascript Methods « JavaScript Reference

JavaScript Reference
1. Event Handlers Reference
2. Javascript Collections
3. Javascript Methods
4. Javascript Objects
5. Javascript Properties
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
JavaScript Reference » Javascript Methods » doScroll 
'doScroll()' Syntax, Parameters and Note

Note:

This method simulates a user action on a scroll bar component.
    
Syntax:
    
document.all.elementID.doScroll(param1)


Parameters:
    param1   Optional; the scrolling action. 
             From http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/doscroll.asp?frame=true.
            scrollbarDown       Default. Down scroll arrow is at the specified location.
            scrollbarHThumb       Horizontal scroll thumb or box is at the specified location.
            scrollbarLeft       Left scroll arrow is at the specified location.
            scrollbarPageDown   Page-down scroll bar shaft is at the specified location.
            scrollbarPageLeft   Page-left scroll bar shaft is at the specified location.
            scrollbarPageRight   Page-right scroll bar shaft is at the specified location.
            scrollbarPageUp       Page-up scroll bar shaft is at the specified location.
            scrollbarRight       Right scroll arrow is at the specified location.
            scrollbarUp           Up scroll arrow is at the specified location.
            scrollbarVThumb       Vertical scroll thumb or box is at the specified location.
            down               Composite reference to scrollbarDown.
            left               Composite reference to scrollbarLeft.
            pageDown           Composite reference to scrollbarPageDown.
            pageLeft           Composite reference to scrollbarPageLeft.
            pageRight           Composite reference to scrollbarPageRight.
            pageUp               Composite reference to scrollbarPageUp.
            right               Composite reference to scrollbarRight.
            up                   Composite reference to scrollbarUp.

    

      
      
Related examples in the same category
1. 'doScroll()' Example
2. 'doScroll()' is applied to
www.java2java.com | Contact Us
Copyright 2010 - 2030 Java Source and Support. All rights reserved.
All other trademarks are property of their respective owners.