ProLoser/AnythingSlider — Issue #254: AnythingSlider Exception 
Author: wbgillis
Created: 2012-01-20 20:46:41+00:00
State: open

Hi,
I'm getting the following exception:

base.$dimensions[page] is undefined

on line 304 of jquery.anythingslider.js:

// Animate Slider
base.$window.filter(':not(:animated)').animate(
{ scrollLeft : base.$dimensions[page][2] }, <== THIS LINE HERE.
{ queue: false, duration: base.options.animationTime, easing: base.options.easing, complete: function(){ base.endAnimation(page); } }
);

I *think* I'm at version v1.7.23. That is, I downloaded it from here:

https://github.com/ProLoser/AnythingSlider/zipball/v1.7.23

but, the header of the files says 1.4:

AnythingSlider v1.4

By Chris Coyier: http://css-tricks.com
with major improvements by Doug Neiner: http://pixelgraphics.us/
based on work by Remy Sharp: http://jqueryfordesigners.com/
...

Going by this: https://github.com/ProLoser/AnythingSlider/wiki/Setup#wiki-standard.

My HTML should be OK per the example on the above link under "or in AnythingSlider version 1.5.19+ this HTML will work:"

Item 1

Item 2

Item 3

Item 4

Item 5

with a simple javascript activation is:

$('#slider1').anythingSlider();

(The above is called via a button I press well after the doc is ready).

I REALLY like this slider and hope someone can help me out so I can use it in time for a deadline. :-))