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)

3495 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

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by