jQuery slider not visible after container div is toggled
Posted
by Shahar Evron
on Stack Overflow
See other posts from Stack Overflow
or by Shahar Evron
Published on 2010-04-11T08:56:16Z
Indexed on
2010/04/11
10:13 UTC
Read the original article
Hit count: 360
I have a page which contains a jQuery-UI horizontal slider, created using a little function, inside a div
which can be displayed / hidden by clicking on it's title, using $.toggle()
.
Problem is, once the div
is hidden, when it is expanded the slider is gone.
A simplified demo of the problem can be seen here: http://arr.gr/jquery-issue.html (file contains all relevant source code) - when clicking the "Advanced Options" title to hide and then show the div
, the slider is no longer there.
Any suggestions on how to work around this?
© Stack Overflow or respective owner