0

can anybody tell me, what's wrong with my code if AnythingSlider (or rather Firebug) throws the following error when initialised?

base.panelSize[page] is undefined
width: base.panelSize[page][0], jquery.anythingslider.js, Line 442

JS-Code (inside of $(document).ready-function)):

$('#slider').anythingSlider({
  width: 800,
  height: 564,
  startPanel: 1,
  autoPlay: false,
  startStopped: true,
  animationTime: 600,
  hashTags: false,
  buildNavigation: false,
  pauseOnHover: false,
  startText: "",
  stopText: ""
});

i tried this with the latest version (1.5.6.2) Motties' fork of Chris Coyers' AnythingSlider (available here).

3
  • I changed the tag java to javascript, as it doesn't seem to be related to java Dec 20, 2010 at 15:34
  • This may be a problem with your HTML, could you share it please?
    – Mottie
    Dec 28, 2010 at 15:28
  • Hi fudgey, thanks for your reply. You're right; i applied the #slider to a div instead an ul (i believe this worked in a prior version, but i'm not sure, anymore)
    – Paul
    Dec 28, 2010 at 16:09

1 Answer 1

1

Problem solved, thanks for all help provided. I was code-blind and thus applied the #slider to a div instead an ul... (i believe this worked in a prior version, but i'm not sure, anymore)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.