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


Help implementing an image slider on a site I'm making with the PHP course

I'm trying to implement this slider: http://tympanus.net/codrops/2011/11/21/elastic-image-slideshow-with-thumbnail-preview/

on this website

I can't get it to work as you can tell... I've tried so many things! Any ideas?

** Edit!: I was just able to make it a bit better by setting the height and width of the ".ei-slider" portion of the slider CSS to be the same as my picture files. Now it's not scaling like it's supposed to, but it's a little bit better.

1 Answer

Randy Hoyt
Randy Hoyt
Treehouse Guest Teacher

I would recommend getting it to work with static HTML and JavaScript first. Once you know what code the browser needs to get, then you can dig deeper and get that HTML and JavaScript generated dynamically with PHP.