hmelyoff/jslider — Issue #1: Bug when Hiding RangeSlider
Author: SerNeo
Created: 2012-02-10 12:46:16+00:00
State: open

Hi,
First of all thanks for a great plugin! its really awesome!

When I tried to add an animation (show/hide) on Div with Slider the both **jslider-value** are stucked togather and not separate.

To see add this lines to demo:

**-------- CSS**
.showHide {display:none}
.open {display:block}

**------- JS**
jQuery(document).ready(function($) {
$("#trigger").click(function(){
if ($(this).next(".showHide").hasClass("open")) {
$(".showHide").slideUp(300);
} else {
$(".showHide").slideDown(300);
}
$(this).next(".showHide").toggleClass("open");
});
});

And wrapped #Slider3 with:

Show/Hide

How can I fix it ?