Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function($) {
- var aux = {
- // navigates left / right
- navigate : function( dir, $el, $wrapper, opts, cache ) {
- var scroll = opts.scroll,
- factor = 0,
- idxClicked = 0;
- if( cache.expanded ) {
- scroll = 0; // scroll is always 1 in full mode
- factor = 3; // the width of the expanded item will be 3 times bigger than 1 collapsed item
- idxClicked = cache.idxClicked; // the index of the clicked item
- }
Advertisement
Add Comment
Please, Sign In to add comment