Guest User

cjava

a guest
Mar 5th, 2012
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function($) {
  2.     var aux     = {
  3.             // navigates left / right
  4.             navigate    : function( dir, $el, $wrapper, opts, cache ) {
  5.                
  6.                 var scroll      = opts.scroll,
  7.                     factor      = 0,
  8.                     idxClicked  = 0;
  9.                    
  10.                 if( cache.expanded ) {
  11.                     scroll      = 0; // scroll is always 1 in full mode
  12.                     factor      = 3; // the width of the expanded item will be 3 times bigger than 1 collapsed item
  13.                     idxClicked  = cache.idxClicked; // the index of the clicked item
  14.                 }
Advertisement
Add Comment
Please, Sign In to add comment