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(
: number,
: number,
: 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
See Also
Reference
wijsuperpanel type
wijsuperpanel jQuery Widget