Wijmo UI for the Web
scrollTo Method
The zero-based index of the picture to which to scroll.
Scrolls to the picture at the specified index.
Syntax
Javascript (Usage) 
$(function () {
    var value; // Type:  any
    // Parameters
    var index; // Type:  number
    
    value = $(".selector").wijcarousel("scrollTo", index);
});
Javascript (Specification) 
function scrollTo( 
   index : number
) : any;

Parameters

index
The zero-based index of the picture to which to scroll.
Example
$("#element").wijcarousel("scrollTo", 2);
Browser Compatibility
7
5
5

See Also

Reference

wijcarousel type
wijcarousel jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.