'scrollLeft' Syntax and Note : scrollLeft « Javascript Properties « JavaScript Reference

'scrollLeft' Syntax and Note

Note:

Read-only properties. 
    
Syntax:
    
document.all.getElementById("elementID").scrollLeft
document.all.elementID.scrollLeft // IE only
document.all.getElementById("elementID").scrollTop
document.all.elementID.scrollTop // IE only

    

      
      








Related examples in the same category

1.'scrollLeft' Example
2.'scrollLeft' is applied to