Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

WMU Slider Problem 2

Recently I submitted and had a problem resolved relating to the WMU slider.

As I have continued to use it I have noticed another strange behavior with it. After each animation cycle my elements seem to be getting pushed further and further to the right, you will be able to see this if you view it live here - http://ajsimsdesign.com/ .

This problem causes my slider link to become un-clickable and the hover animation does not play. Does anyone have any ideas as to why this may be happening?

  • EDIT - I have fixed the problem, for anybody else who encounters something similar in the future make sure to triple check your markup! I had assigned a span of 12 to the containing div but then gave the each slider container a span of 12 to, this confused the behavior of the slider as it was trying to fit 36 nodes into a 12 width grid!

Alex.

1 Answer