1182 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
campolar says

I tried all i can. No use. Can you please help me?!

I wanna use the jqueryUI slider with increments. And lets say i give 10 increments. I made 10 divs with IDs, 0, 1, 2 ,3 …., 9. And each increment (base 0) to hide all other divs (assume all have class “divbox”) and only show the matching ID.

Any help appreciated

Edit: (Or anything which would allow me to do a similar effect)

3446 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more
sevenspark Moderator says

If your IDs are really 0,1,2,3, (i.e. <div id="0" /> ) that might be your problem. I don’t think an ID can start with a numeric character. Try making your IDs id=”div-1” or something like that, it might help.

1182 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
campolar says

That point must have slipped out of my mind when posting the thread :D

In the real code, no IDs don’t start with numerics, lets aussume “div0” and so on

by
by
by
by
by
by