Current item within jQuery TOOLS events


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. var api = $('#item').data('scrollable');
  2.  
  3. api.onSeek(function(event)
  4. {
  5. var current_item = this.getItems().eq(this.getIndex());
  6. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.