slidejs not working on show/hide
- Ganesha Chathurthi festival celebration at JIRS
- JIRS Goa Trip
- Inter School Exchange Program
- UK Universities at JIRS
- Ganesha Chathurthi festival celebration at JIRS
- JIRS Goa Trip
- Inter School Exchange Program
- UK Universities at JIRS
- Ganesha Chathurthi festival celebration at JIRS
- JIRS Goa Trip
- Inter School Exchange Program
- UK Universities at JIRS
jquery code is here
- $(document).ready(function(){
- $("#slides").show();
- $("#slides2").hide();
- $("#slides3").hide();
- $("#slides4").hide();
- $('#slides').slidesjs({
- width: 940,
- height: 528,
- play: {
- active: true,
- auto: true,
- interval: 4000,
- swap: true
- }
- });
- $("#ganesha").click(function(){
- $("#slides").show();
- $("#slides2").hide();
- $("#slides3").hide();
- $("#slides4").hide();
- $('#slides').slidesjs({
- width: 940,
- height: 528,
- play: {
- active: true,
- auto: true,
- interval: 3500,
- swap: true
- }
- });
-
- });
- $("#jirs").click(function(){
- $("#slides").hide();
- $("#slides2").show();
- $("#slides3").hide();
- $("#slides4").hide();
- $('#slides2').slidesjs({
- width: 940,
- height: 528,
- play: {
- active: true,
- auto: true,
- interval: 3500,
- swap: true
- }
- });
-
- });
-
- $("#inter").click(function(){
- $("#slides").hide();
- $("#slides2").hide();
- $("#slides3").show();
- $("#slides4").hide();
- $('#slides3').slidesjs({
- width: 940,
- height: 528,
- play: {
- active: true,
- auto: true,
- interval: 3500,
- swap: true
- }
- });
-
- });
- $("#ukjirs").click(function(){
- $("#slides").hide();
- $("#slides2").hide();
- $("#slides3").hide();
- $("#slides4").show();
- $('#slides4').slidesjs({
- width: 940,
- height: 528,
- play: {
- active: true,
- auto: true,
- interval: 3500,
- swap: true
- }
- });
- });
-
- });
slidejs not working second time the gallery album is clicked,i have a accordion,it contains multiple album lists,upon clicking album title in list,the gallery of particular album starts,but after single loop,if we click on first album,the gallery not working. Here's the code,Using Slidejs