Note that there are some explanatory texts on larger screens.

plurals
  1. POSlidesJS hide works one time only
    text
    copied!<p>i made 5 slideshows and i made a hide show jquery for them, my problem is after i show the hidden slideshows they dont respond anymore its just a static image of the last pic of the slideshow.</p> <pre><code>&lt;div class="container"&gt; &lt;div id="slides"&gt; &lt;img src="img/room1.jpg" /&gt; &lt;img src="img/bathroom1.jpg" /&gt; &lt;img src="img/diningroom1.jpg" /&gt; &lt;img src="img/balcony1.jpg" /&gt; &lt;/div&gt; &lt;div id="slides0"&gt; &lt;img src="img/room1.jpg" /&gt; &lt;img src="img/bathroom1.jpg" /&gt; &lt;img src="img/diningroom1.jpg" /&gt; &lt;img src="img/balcony1.jpg" /&gt; &lt;/div&gt; &lt;div id="slides1"&gt; &lt;img src="img/room.jpg" /&gt; &lt;img src="img/bathroom.jpg" /&gt; &lt;img src="img/diningroom.jpg" /&gt; &lt;img src="img/balcony.jpg" /&gt; &lt;/div&gt; &lt;div id="slides2"&gt; &lt;img src="img/room1.jpg" /&gt; &lt;img src="img/bathroom1.jpg" /&gt; &lt;img src="img/diningroom1.jpg" /&gt; &lt;img src="img/balcony1.jpg" /&gt; &lt;/div&gt; &lt;div id="slides3"&gt; &lt;img src="img/room.jpg" /&gt; &lt;img src="img/bathroom.jpg" /&gt; &lt;img src="img/diningroom.jpg" /&gt; &lt;img src="img/balcony.jpg" /&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>then my hide show jquery is </p> <pre><code>// JavaScript Document $(function() { $("#slides").show(); $("#slides0,#slides1,#slides2,#slides3").hide(); $("#intro").click(function(){ $("#slides0,#slides1,#slides2,#slides3").hide(); }); $("#intro").click(function(){ $("#slides").show(); }); $("#single").click(function(){ $("#slides,#slides1,#slides2,#slides3").hide(); }); $("#single").click(function(){ $("#slides0").show(); }); $("#double").click(function(){ $("#slides,#slides0,#slides2,#slides3").hide(); }); $("#double").click(function(){ $("#slides1").show(); }); $("#family").click(function(){ $("#slides,#slides0,#slides1,#slides3").hide(); }); $("#family").click(function(){ $("#slides2").show(); }); $("#deluxe").click(function(){ $("#slides,#slides0,#slides1,#slides2").hide(); }); $("#deluxe").click(function(){ $("#slides3").show(); }); }); </code></pre> <p>and the sliders jquery that SlideJs made that i added for multiple slideshows</p> <pre><code>// JavaScript Document $(function() { $('#slides').slidesjs({ width: 940, height: 300, play: { active: true, auto: true, interval: 4000, swap: true } }); $('#slides0').slidesjs({ width: 940, height: 300, play: { active: true, auto: true, interval: 4000, swap: true } }); $('#slides1').slidesjs({ width: 940, height: 300, play: { active: true, auto: true, interval: 4000, swap: true } }); $('#slides2').slidesjs({ width: 940, height: 300, play: { active: true, auto: true, interval: 4000, swap: true } }); $('#slides3').slidesjs({ width: 940, height: 300, play: { active: true, auto: true, interval: 4000, swap: true } }); }); </code></pre> <p>This is the webpage:<a href="http://jcuizon.host56.com/rooms.html" rel="nofollow">Slider</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload