1182 posts
  • 5 Years of Membership
  • Affiliate Level 1
  • Collector Level 2
  • Exclusive Author
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)

3535 posts
  • Power Elite Author
  • Author Level 12
  • Trendsetter
  • United States
+13 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
  • 5 Years of Membership
  • Affiliate Level 1
  • Collector Level 2
  • Exclusive Author
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