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
Amanda Billy
11,364 PointsCoding Help: Swipe.js Slider Position Indicator
I have been fighting with this position indicator since last night, and it's a losing battle. If you can help me make this thing work, I will repay you with a lifetime supply* of love.
The WIP site is online here. I'm using the Swipe.js plugin for the slider because I want the site to be touch-friendly for mobile devices and tablets.
I'd like for the bullets under the slider to indicate which page is currently visible. In a perfect world, I could make them links, too, but, at this point, I fear I'm getting ahead of myself.
I've been working from the source code of the Swipe.js page to try to duplicate the bullets used there, but I am really struggling with the functionality. Any help would be greatly appreciated.
*Lifetime supply only as good as my own lifetime, the length of which can not be guaranteed.
3 Answers
samiff
31,206 PointsHey Amanda, sorry for the late reply, but did you get this figured out? I've been doing some jQuery/CSS lately and could try and help you out if it's still needed.
Amanda Billy
11,364 PointsThanks, Sam, for replying. I did, finally! I wasn't getting the indicators hooked into the JS properly. Thank you, though!
samiff
31,206 PointsThat's good to hear!