Problems with JS on slides
-
Hello.
I have a strange problem with using JS on slides of this plugin.
I use this code:<script>
$(“#show-more”).click(function() {
$(“#slider-block”).css({height: “auto”});
$(“#show-more”).css({display: “none”});
$(“#hide-all”).css({display: “block”});
});
$(“#hide-all”).click(function() {
$(“#slider_block”).css({height: “300px”});
$(“#hide-all”).css({display: “none”});
$(“#show-more”).css({display: “block”});
});
</script>It’s simple, but it works only on first, second, third and the last slide. And doesn’t work on others. I’ve been trying to solve it for a last 3 days, but i don’t have any idea how.
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Problems with JS on slides’ is closed to new replies.