/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var api = $('#item').data('scrollable'); api.onSeek(function(event) { var current_item = this.getItems().eq(this.getIndex()); });