Wijmo UI for the Web
scrollTo Method
Horizontal position to scroll to.
Vertical position to scroll to.
A value that indicates whether x, y are value or pixel.
Scroll to the specified position. which is value 1 after conversion.
Syntax
Javascript (Usage) 
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var x; // Type:  number
    var y; // Type:  number
    var isScrollValue; // Type:  bool
    
    returnsValue = $(".selector").wijsuperpanel("scrollTo", x, y, isScrollValue);
});
Javascript (Specification) 
function scrollTo( 
   x : number,
   y : number,
   isScrollValue : bool
) : any;

Parameters

x
Horizontal position to scroll to.
y
Vertical position to scroll to.
isScrollValue
A value that indicates whether x, y are value or pixel.
Browser Compatibility
7
5
5

See Also

Reference

wijsuperpanel type
wijsuperpanel jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.