SlidesJS 3 released!

12,844 views
Skip to first unread message

Nathan Searles

unread,
Mar 8, 2013, 7:03:02 PM3/8/13
to slid...@googlegroups.com
Hey y'all,

Thanks to everyone that helped test the SlidesJS beta!

SlidesJS 3 has been released and is available at http://slidesjs.com/.

Cheers!

Sebastian Müller

unread,
Mar 10, 2013, 10:05:09 AM3/10/13
to slid...@googlegroups.com
I am also looking for this feature. I wonder how a new version can be a downgrade of the older one...? However, great work! Thanks!

Am Samstag, 9. März 2013 22:02:39 UTC+1 schrieb Andrew Weber:
What happened to hoverPause? :( Is there any way I can reproduce this? That was kind of key.

(Don't get me wrong - this is easily the best jQuery slider)

Nathan Searles

unread,
Mar 11, 2013, 3:22:20 PM3/11/13
to slid...@googlegroups.com

Hey thanks for the feedback. I'll look into adding that into the new version. For now it'd be pretty easy to do this with a little mouse enter/leave and a trigger click on the play/pause button.


On Saturday, March 9, 2013 1:02:39 PM UTC-8, Andrew Weber wrote:
What happened to hoverPause? :( Is there any way I can reproduce this? That was kind of key.

(Don't get me wrong - this is easily the best jQuery slider)

On Friday, March 8, 2013 6:03:02 PM UTC-6, Nathan Searles wrote:

Nathan Searles

unread,
Mar 11, 2013, 3:23:08 PM3/11/13
to slid...@googlegroups.com

A downgrade? Did you miss all the new features? :)

Jules Mazur

unread,
Mar 11, 2013, 9:30:50 PM3/11/13
to slid...@googlegroups.com
Why is defining width mandatory now? My site has a fluid layout, do the `width` and `height` options accept percent, or just px?

Nathan Searles

unread,
Mar 11, 2013, 9:52:57 PM3/11/13
to slid...@googlegroups.com

What it does is get the aspect ratio from the width and height. It was the simplest solution for setting the height based on what the width is. Because things need to be positioned absolute to make the slideshow work the elements then lose their height which in turn needs to be set using CSS.

When changing the browser size SlidesJS gets the new width and sets the correct height based on the aspect ratio and new width.

So for fluid layout just get the actual width and height of your images or width and height of your slide content and use that and SlidesJS will take care of the rest.

Andrew Weber

unread,
Mar 11, 2013, 10:49:50 PM3/11/13
to slid...@googlegroups.com
Ah yes, good idea. I used a timeout to make sure it didn't trigger the play button over and over again. Also wanted to wait a couple seconds so that it didn't immediately move to the next slide after. Here was my final code.

var sliderTimer;
$('#slideshow').on('mouseenter', function(e) {
clearTimeout(sliderTimer);
$('.slidesjs-stop').trigger('click');
}).on('mouseleave', function(e) {
clearTimeout(sliderTimer);
sliderTimer = setTimeout(function () {
  $('.slidesjs-play').trigger('click');
}, 2000);
});

Missingbone

unread,
Mar 14, 2013, 12:27:57 PM3/14/13
to slid...@googlegroups.com
Hi, there is any workaround to have the slide automatically restart playing (after a couple seconds) after the user clicks on the pagination buttons but WITHOUT clicking anything else or hovering over images?

btw, thanks for the awesome slide

Nathan Searles

unread,
Mar 15, 2013, 2:55:06 PM3/15/13
to slid...@googlegroups.com

Hover pause has been added! http://slidesjs.com/examples/playing/

Check out the play options at http://slidesjs.com/

Nathan Searles

unread,
Mar 15, 2013, 2:55:17 PM3/15/13
to slid...@googlegroups.com, andrew...@alumni.nd.edu

Hover pause has been added! http://slidesjs.com/examples/playing/

Check out the play options at http://slidesjs.com/


Andrew Weber

unread,
Mar 15, 2013, 4:04:26 PM3/15/13
to slid...@googlegroups.com
Awesome, thank you :)

Alexander Spiridonov

unread,
Mar 16, 2013, 2:16:42 AM3/16/13
to slid...@googlegroups.com
That is awesome, thank you for the new version! I found touch-enabled feature quite handy =)

Hope more of previous version's features (such as already mentioned here hoverPause) will be incorporated into new version soon!

I just wondering, can 'crossfade' param of 'effect' settings object take false at all? When I try to set it to false (in attempt to disable crossfading) I get "Cannot read property 'effect' of undefined" error.

Nathan Searles

unread,
Mar 18, 2013, 1:52:30 PM3/18/13
to slid...@googlegroups.com

Which version is giving you that error and in which browser? And hoverPause was added to the latest version. Cheers!

Darren Wood

unread,
Mar 19, 2013, 11:04:53 PM3/19/13
to slid...@googlegroups.com
Hi,

Thanks for the great work on this script. In the older version it was very simple to include thumbnail pagination (like the Product example in the old version). How can I achieve this with the new version?

Thanks!
D

Lukas_

unread,
Mar 20, 2013, 9:45:41 AM3/20/13
to slid...@googlegroups.com
Hey all,
i have a Problem..
i just have to get the Next/Prev Buttons outside the container.
Is it remotely possible to do that in 3.0??

Rudy Carranza Alvarado

unread,
Mar 20, 2013, 12:40:00 PM3/20/13
to slid...@googlegroups.com
I have to say that I like this library a lot, very usefull, but I have a problem with the recent version. I know that there is a minified version however the tool I work with always minifies the js therefore I usually download the non minified version, however the new version throws some errors getting minified. For instance, using the online yui minifier (http://refresh-sf.com/yui) it shows 4 error getting this library minified. What tool do you use to minify?

Thanks and regards!!


On Friday, March 8, 2013 6:03:02 PM UTC-6, Nathan Searles wrote:

David Streever

unread,
Mar 20, 2013, 1:16:33 PM3/20/13
to slid...@googlegroups.com
Darren, Lukas, apparently, we can use the goto method, but I can't find documentation on that. Christophe very helpfully gave me code which I've pasted below. Unfortuantely, I can't figure out how to implement it :( any ideas?

at the end of the plugin code just replace this:

return $.fn[pluginName] = function (options) {
        return this.each(function () {
        if (!$.data(this, "plugin_" + pluginName)) {
        return $.data(this, "plugin_" + pluginName, new Plugin(this, options));
        }
        });
        };

with this:

return $.fn[pluginName] = function (options) {
            if (typeof options === "string") {
                var args = Array.prototype.slice.call(arguments, 1);


                this.each(function () {
                    var plugin = $.data(this, 'plugin_' + pluginName);
                    plugin[options].apply(plugin, args);
                });
            }
            else {
                return this.each(function () {
                    if (!$.data(this, 'plugin_' + pluginName)) {
                        $.data(this, 'plugin_' + pluginName,
                new Plugin(this, options));
                    }
                });
            }
        };

now you can call the goto method directly with an argument (slide number as integer), eg.

$("#slideshow").slidesjs("goto", intValue);




--
You received this message because you are subscribed to the Google Groups "SlidesJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slidesjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
David Streever
Web Development
Cycling & Community

Nathan Searles

unread,
Mar 20, 2013, 9:00:17 PM3/20/13
to slid...@googlegroups.com

SlidesJS 3 is written in CoffeeScript and minified using https://github.com/mishoo/UglifyJS.

Looking at yui minifier I'm not sure why it's throwing those errors.

Using http://www.jshint.com/ it gives some minor errors but nothing that yui is giving me.

Nathan Searles

unread,
Mar 20, 2013, 9:03:31 PM3/20/13
to slid...@googlegroups.com, d...@davidstreever.com

Currently there isn't any public methods only because it become problematic and a block to completing SlidesJS 3. Public Methods may be added in the feature if I can figure out a solution that dosen't cause other issues.

Kev

unread,
Mar 23, 2013, 8:04:17 PM3/23/13
to slid...@googlegroups.com
Hi I cannot seem to add a new topic, don't want to clutter this post with it, my posts ar for some reason being accepted and then it seems instantly deleted?

Been working no problem till about an hour ago...

Cheers
Kevin

Jonathan Motes

unread,
Mar 26, 2013, 1:57:07 PM3/26/13
to slid...@googlegroups.com
It seems the slider doesn't seem to lazyload anymore. I noticed there isn't a preload option, so I assume it wasn't included. Any hope we'll get that back? Thanks!


On Friday, March 8, 2013 6:03:02 PM UTC-6, Nathan Searles wrote:

Дмитрий Владимирович

unread,
Apr 12, 2013, 11:03:29 AM4/12/13
to slid...@googlegroups.com
How can I add captions in SlidesJS 3! In previous version it was possible!

Future Web

unread,
Apr 14, 2013, 3:16:17 AM4/14/13
to slid...@googlegroups.com
Awesome work, thanks!

How do I link to a specific slide? In previous version it was easy: <a href="#3" class="link">3</a>

ralphd...@gmail.com

unread,
Apr 14, 2013, 6:39:55 PM4/14/13
to slid...@googlegroups.com
$('#slider).slidesjs({
width: 100,
height: 100,
callback: {
loaded: function(){
// Hide navigation and pagination
$('.slidesjs-navigation, .slidesjs-pagination').hide(0);
}
}
});

$('#slider').on('click', '#myOwnNavigation-First', function(e){
e.preventDefault();

$('#slider').find('.slidesjs-pagination li:first a').trigger('click');

return false;
});

$('#slider').on('click', '#myOwnNavigation-Prev', function(e){
e.preventDefault();

$('#slider').find('.slidesjs-previous').trigger('click');

return false;
});

$('#slider').on('click', '#myOwnNavigation-Next', function(e){
e.preventDefault();

$('#slider').find('.slidesjs-next').trigger('click');

return false;
});

$('#slider').on('click', '#myOwnNavigation-Last', function(e){
e.preventDefault();

$('#slider').find('.slidesjs-pagination li:last a').trigger('click');

return false;
});

jo...@animalvolcano.com

unread,
Apr 14, 2013, 7:03:52 PM4/14/13
to slid...@googlegroups.com
Has bigTarget been removed as a feature? I'm not a web developer and don't know how to adjust the code to move to the next slide when clicked. 

Thank you!

Joshua McFarland

unread,
Apr 20, 2013, 10:28:05 AM4/20/13
to slid...@googlegroups.com
For slower connections I found the preloadImage setting to be useful. Any simple way to handle this in the new version?
Message has been deleted

Andrew Robinson

unread,
May 13, 2013, 4:10:19 AM5/13/13
to slid...@googlegroups.com
I have just implemented (very easily, thankyou) SlidesJS 3 onto a site i'm working on, but there isn't a pause like there was in the old version, I would like people to be able to use the navigation and pagination, but after say 2000 of pagination/navigation not being clicked, to resume normal slideshow routine, is this possible? Thankyou.

Thom van Ledden

unread,
May 13, 2013, 1:21:59 PM5/13/13
to slid...@googlegroups.com
Does SlidesJS have a deconstructor? in my case i need to make new sliders everytime an user select a new item.
Removing the HTML does not deconstruct all the events created. So when a user does a lot of switches it might fill up the bucket...

Ty for any information on this subject

Op zaterdag 9 maart 2013 01:03:02 UTC+1 schreef Nathan Searles het volgende:

Dan Svoboda

unread,
May 16, 2013, 1:01:10 PM5/16/13
to slid...@googlegroups.com
I wanted to ask in the script what would I need to input into the code to make the slide show start up automatically again even after someone clicks on the navigation, For example, a user sees the slide show and it starts automatically, they click on the nav buttons and then it stays on that image. How would I tell the slide show to start the auto play after a few seconds?

  <script>
    $(function() {
      $('#slides').slidesjs({
        width: 387,
        height: 224,
        navigation: false,
        start: 1,
        play: {
          auto: true
        }       
      });
    });
  </script>



On Friday, March 8, 2013 6:03:02 PM UTC-6, Nathan Searles wrote:

Andrew Robinson

unread,
May 16, 2013, 1:20:59 PM5/16/13
to slid...@googlegroups.com
This needs to be implemented fast, it's the only bug/flaw with this slideshow plugin.
Message has been deleted

Elena Meghdir

unread,
Jun 19, 2013, 4:16:47 PM6/19/13
to slid...@googlegroups.com
Yes, I agree.  Our client is requesting the same functionality - that the slideshow auto restart after someone clicks on the navigation, but hasn't clicked in a while.  I've done a lot of searching and tried various suggestions, to no avail. I really want to make this work, rather than going to a new plug-in like Orbit (way too much for what our client's site needs).
Any help in this matter would be HUGELY appreciated!

王賴

unread,
Jun 28, 2013, 3:16:45 AM6/28/13
to slid...@googlegroups.com
Hi , Nathan,

May i know about how to set my own images on navigations?
I've seen these 2 line words on website.
previous button: class="slidesjs-previous slidesjs-navigation" next button: class="slidesjs-next slidesjs-navigation"
but, how to use?
Thanks for help^^
Message has been deleted

Andy Lang

unread,
Jul 19, 2013, 10:47:29 AM7/19/13
to slid...@googlegroups.com
I also kind of miss the bigTarget function. Is that something that will be added in the future?
Thanks, Andy

vasanth kumar

unread,
Jul 20, 2013, 6:51:11 AM7/20/13
to slid...@googlegroups.com
Hi,

The latest version of SlidesJS is not working in IE 10. Can any one help me..


Thanks in advance..!

Jochem Geerdink

unread,
Jul 24, 2013, 4:12:29 PM7/24/13
to slid...@googlegroups.com
I just checked this page in IE10:
http://slidesjs.com/examples/playing/

It worked fine for me.

What issue are you seeing?

aung...@gmail.com

unread,
Aug 6, 2013, 5:31:32 AM8/6/13
to slid...@googlegroups.com
Hi anyone,

I found one issue in IE 10. I want the auto play the slides. It is working fine. But i also want when the user click on image, the redirection will go to next window. All browsers are working fine except IE 10. After clicking the image, the auto play have been stopped and then cannot click navigation also. Please help me this issue. Thanks.

html

<div class="container">
    <div id="slides">
       <a href="http://www.google.com" target="_blank">  <img src="img/example-slide-1.jpg" alt="Photo by: Missy S Link: http://www.flickr.com/photos/listenmissy/5087404401/"></a>
  <a href="http://www.google.com" target="_blank"><img src="img/example-slide-2.jpg" alt="Photo by: Missy S Link: http://www.flickr.com/photos/listenmissy/5087404401/"></a>
    </div>
  </div>


js --

 $('#slides').slidesjs({
        width: 940,
        height: 528,
        play: {
          active: true,
          auto: true,
          interval: 4000,
          swap: true
        }
      });

Aung Mon

unread,
Aug 6, 2013, 7:11:34 AM8/6/13
to slid...@googlegroups.com
Hi all,

Please help me. While i am using the autoplay and then click on image, the autoplay is stop and navigation also not working in IE 10. the other browsers are working fine. Thanks.Please help me.


On Thursday, July 25, 2013 4:12:29 AM UTC+8, Jochem Geerdink wrote:

Aung Mon

unread,
Aug 6, 2013, 7:11:50 AM8/6/13
to slid...@googlegroups.com

Guik

unread,
Aug 21, 2013, 5:55:14 AM8/21/13
to slid...@googlegroups.com
Hi
I have the same problem ? did you find a method or a soluce ? If yes could you share ?
Thanks

Ben Owen

unread,
Aug 29, 2013, 9:52:45 AM8/29/13
to slid...@googlegroups.com
I'm wanting to use thumbnails for navigation instead of the bullets, can somebody point me in the right direction?

Edward Fung

unread,
Aug 31, 2013, 2:48:58 AM8/31/13
to slid...@googlegroups.com, andrew...@alumni.nd.edu
The hover pause is buggy. 
It works normally but if the mouse enters and leaves the slide div quickly, the slideshow will not pause and switch to next image instead.
Besides, is it possible to add my own mouse hover event while keeping the slidejs hover pause function?

On Saturday, March 16, 2013 2:55:17 AM UTC+8, Nathan Searles wrote:

Hover pause has been added! http://slidesjs.com/examples/playing/

Check out the play options at http://slidesjs.com/


On Monday, March 11, 2013 7:49:50 PM UTC-7, Andrew Weber wrote:
Ah yes, good idea. I used a timeout to make sure it didn't trigger the play button over and over again. Also wanted to wait a couple seconds so that it didn't immediately move to the next slide after. Here was my final code.

var sliderTimer;
$('#slideshow').on('mouseenter', function(e) {
clearTimeout(sliderTimer);
$('.slidesjs-stop').trigger('click');
}).on('mouseleave', function(e) {
clearTimeout(sliderTimer);
sliderTimer = setTimeout(function () {
  $('.slidesjs-play').trigger('click');
}, 2000);
});


On Monday, March 11, 2013 2:22:20 PM UTC-5, Nathan Searles wrote:

Hey thanks for the feedback. I'll look into adding that into the new version. For now it'd be pretty easy to do this with a little mouse enter/leave and a trigger click on the play/pause button.


On Saturday, March 9, 2013 1:02:39 PM UTC-8, Andrew Weber wrote:
What happened to hoverPause? :( Is there any way I can reproduce this? That was kind of key.

(Don't get me wrong - this is easily the best jQuery slider)

Rohan Deshpande

unread,
Sep 5, 2013, 12:38:48 AM9/5/13
to slid...@googlegroups.com

Just a note to anyone wanting to use their own pagination with the current version, it‘s pretty easy to get this working. This assumes all your slides are inside of a div with class ’slide'.

Here's a solution:

html

<ul id='slide-controls' class='cf'></ul>

slidejs

pagination: {active:true}

css

.slidesjs-pagination
{
    display:none;
}

custom js

$('.slide').each(function()
        {
            $('#slide-controls').append('<li></li>');
        });

$('#slide-controls li').each(function(index , item)
        {
            $(item).on('click' , function()
            {
                $('.slidesjs-pagination li a').eq(index).trigger('click');
            })

        });

Leisure Yang

unread,
Sep 6, 2013, 1:23:26 PM9/6/13
to slid...@googlegroups.com
It's useful,Thank you very much.Good job!

在 2013年3月9日星期六UTC+8上午8时03分02秒,Nathan Searles写道:

Leisure Yang

unread,
Sep 6, 2013, 1:24:19 PM9/6/13
to slid...@googlegroups.com

Cookie

unread,
Dec 4, 2013, 4:15:04 AM12/4/13
to slid...@googlegroups.com
Hey man~
When I use this plugin.
There have a problem to me. Sometimes the img disappear when play auto. I need to click the navi to active it.Like this:

m.th...@meincms.ch

unread,
Dec 10, 2013, 9:08:58 PM12/10/13
to slid...@googlegroups.com
Brilliant Work! 

by the way.. here is an easy way to attache arrow keys to the slider...
i didn't see this at the first glimpse, but it's quite nice to have it on.

$(document).bind('keydown',function(e){
if (e.keyCode == 37) { 
$('.slidesjs-previous').trigger('click');
}
if (e.keyCode == 39) { 
$('.slidesjs-next').trigger('click');
}
/* arrow keys:
37 - left
38 - up
39 - right
40 - down
*/
});

Abhishek Sharma

unread,
Dec 24, 2013, 12:58:37 AM12/24/13
to slid...@googlegroups.com
Slidesjs touch image swipe is not working in IE10. Can anyone reply asap.

Michael Riley

unread,
Dec 30, 2013, 12:36:28 AM12/30/13
to slid...@googlegroups.com
Does anyone have a solution for the problem of the images disappearing if the browser window is resized while the slideshow is mid-transition?

Thanks.

Beto Torres

unread,
Jan 8, 2014, 3:03:29 PM1/8/14
to slid...@googlegroups.com
It's happening to me too, but I noticed that when the next image slide comes in the slideshow behaves normally. I think this just happens while you are re sizing the window manually, once you let go the window it works ok.
Message has been deleted

Ricardo Fraile

unread,
Jan 9, 2014, 5:52:32 AM1/9/14
to slid...@googlegroups.com
I have the problem of images disappearing on iphone.

But for jump the problem (not fix it!), I create an other div previous the main <div id="slides"..> with a z-index inferior and I put on it the same content as the first slide. In the case of the white slide, now, you can see this previous div, which is the background of the id="slides" and is exact as the first slide.


Thanks, 

Regards Nathan, 

Sheen Perkins

unread,
Jan 10, 2014, 10:39:27 AM1/10/14
to slid...@googlegroups.com
Hello!

I have been receiving this error when I try to install your plugin:

The package could not be installed. No valid plugins were found.

Plugin install failed.


Please advise.


Thank you!
Sheen

Jim Gergen

unread,
Jan 26, 2014, 1:25:35 AM1/26/14
to slid...@googlegroups.com, d...@davidstreever.com
Wow,
That's all I can think of.  No public methods.  Wow.

Had to drop this rabbit hole for a better solution.

No public methods.  Problematic - wow.


On Wednesday, March 20, 2013 8:03:31 PM UTC-5, Nathan Searles wrote:

Currently there isn't any public methods only because it become problematic and a block to completing SlidesJS 3. Public Methods may be added in the feature if I can figure out a solution that dosen't cause other issues.


On Wednesday, March 20, 2013 10:16:33 AM UTC-7, David Streever wrote:
Darren, Lukas, apparently, we can use the goto method, but I can't find documentation on that. Christophe very helpfully gave me code which I've pasted below. Unfortuantely, I can't figure out how to implement it :( any ideas?

at the end of the plugin code just replace this:

return $.fn[pluginName] = function (options) {
        return this.each(function () {
        if (!$.data(this, "plugin_" + pluginName)) {
        return $.data(this, "plugin_" + pluginName, new Plugin(this, options));
        }
        });
        };

with this:

return $.fn[pluginName] = function (options) {
            if (typeof options === "string") {
                var args = Array.prototype.slice.call(arguments, 1);


                this.each(function () {
                    var plugin = $.data(this, 'plugin_' + pluginName);
                    plugin[options].apply(plugin, args);
                });
            }
            else {
                return this.each(function () {
                    if (!$.data(this, 'plugin_' + pluginName)) {
                        $.data(this, 'plugin_' + pluginName,
                new Plugin(this, options));
                    }
                });
            }
        };

now you can call the goto method directly with an argument (slide number as integer), eg.

$("#slideshow").slidesjs("goto", intValue);




On Tue, Mar 19, 2013 at 11:04 PM, Darren Wood <dar...@thefold.co.nz> wrote:
Hi,

Thanks for the great work on this script. In the older version it was very simple to include thumbnail pagination (like the Product example in the old version). How can I achieve this with the new version?

Thanks!
D


On Saturday, March 9, 2013 1:03:02 PM UTC+13, Nathan Searles wrote:
Hey y'all,

Thanks to everyone that helped test the SlidesJS beta!

SlidesJS 3 has been released and is available at http://slidesjs.com/.

Cheers!

--
You received this message because you are subscribed to the Google Groups "SlidesJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slidesjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
David Streever
Web Development
Cycling & Community

Glaudston Soares

unread,
Feb 6, 2014, 3:10:36 AM2/6/14
to slid...@googlegroups.com
This seems fair, but is it possible to make it so SlideJS adjust to the image height and width? I'm trying to SlideJS in a script that the size of the images are not constant, so depending on the size of the image the slider looks off, so maybe a width of 100% and a height of auto would be more flexible for something like this.. or if you have a better solution to solve my problem, I appreciate it.

Thanks!

On Monday, March 11, 2013 9:52:57 PM UTC-4, Nathan Searles wrote:

What it does is get the aspect ratio from the width and height. It was the simplest solution for setting the height based on what the width is. Because things need to be positioned absolute to make the slideshow work the elements then lose their height which in turn needs to be set using CSS.

When changing the browser size SlidesJS gets the new width and sets the correct height based on the aspect ratio and new width.

So for fluid layout just get the actual width and height of your images or width and height of your slide content and use that and SlidesJS will take care of the rest.

On Monday, March 11, 2013 6:30:50 PM UTC-7, Jules Mazur wrote:
Why is defining width mandatory now? My site has a fluid layout, do the `width` and `height` options accept percent, or just px?

bachisio soru

unread,
Feb 18, 2014, 8:20:17 AM2/18/14
to slid...@googlegroups.com
hi did you have a solution for the thumbnails?

best

Wen Huang

unread,
Mar 4, 2014, 10:12:57 AM3/4/14
to slid...@googlegroups.com
Does it support vertical slide scroll yet? 

Denise Wong

unread,
Mar 24, 2014, 4:52:03 PM3/24/14
to slid...@googlegroups.com
This was actually a very good snippet!  Do you know how to add a SELECTED state script, once a certain slide has been clicked on?
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Ines Katharina

unread,
Apr 13, 2014, 12:24:59 PM4/13/14
to slid...@googlegroups.com
Hello

I do have the problem, that I added some vimeo videos with Iframe
But if I switch between the videos they won't stop and continue to play there sound in the background.
I want to know where I have to modify the code to get this fixed.
Thanks for your help

You can see the problem here

http://ineskatharina.de/Projekt5.html

Message has been deleted

Colin Ryan

unread,
May 8, 2014, 12:07:38 PM5/8/14
to slid...@googlegroups.com
For anyone with the issue of autoplay not working anymore after a pagination link is clicked, here's a solution with jQuery:

// Show the play/pause buttons first of all (I just hid them with css)
play: {
      active: true,

a.slidesjs-navigation {float: left; position: absolute; left: -9999px; visibility: hidden}

// Then listen for the complete callback and set a timeout to see if the slide hasn't moved (just set the timeout length for your normal slide delay)
callback: {
complete: function(number) {
$('.slidesjs-container').css({width:'100%',height:'500px'});
$('.slidesjs-control').css({width:'100%',height:'500px'});
setTimeout(function(number) {
var activeslide = $('.slidesjs-pagination').find('a.active').attr('data-slidesjs-item');
if (!$('a.slidesjs-playing').length && number != activeslide) // We don't want to skip ahead if the user has already migrated
$('.slidesjs-play').trigger('click');
}, 5000);
}
}

On Tuesday, August 6, 2013 7:11:34 AM UTC-4, Aung Mon wrote:
Hi all,

Please help me. While i am using the autoplay and then click on image, the autoplay is stop and navigation also not working in IE 10. the other browsers are working fine. Thanks.Please help me.

On Thursday, July 25, 2013 4:12:29 AM UTC+8, Jochem Geerdink wrote:
I just checked this page in IE10:
http://slidesjs.com/examples/playing/

It worked fine for me.

What issue are you seeing?

On Saturday, July 20, 2013 3:51:11 AM UTC-7, vasanth kumar wrote:
Hi,

The latest version of SlidesJS is not working in IE 10. Can any one help me..


Thanks in advance..!

Colin Ryan

unread,
May 8, 2014, 12:23:00 PM5/8/14
to slid...@googlegroups.com
Here's a more reliable version:

complete: function(number) {
if (window.sjstimeout != undefined)
clearTimeout(window.sjstimeout);
$('.slidesjs-container').css({width:'100%',height:'500px'});
$('.slidesjs-control').css({width:'100%',height:'500px'});
window.sjstimeout = setTimeout(function(number) {
if (!$('a.slidesjs-playing').length)
$('.slidesjs-play').trigger('click');
}, 5000);
}

Charlene Slayton

unread,
Sep 12, 2014, 4:04:12 PM9/12/14
to slid...@googlegroups.com
Upon resize the next image in the slideshow does not display. I think it might be a height issue.
Message has been deleted

Federica Sfregola

unread,
Jul 26, 2015, 4:37:21 PM7/26/15
to SlidesJS, nsea...@gmail.com
This is great!

I only wonder if there's any way to add captions to the slideshow? In particular, each image should have a different caption.

Thanks!

Hadassa Golovenshitz

unread,
Jan 12, 2016, 3:50:54 AM1/12/16
to SlidesJS
Hi,
Thanks so much for this great plugin! Is there any way to lazy load images? We're using this on our homepage with about 20 images and I would love to cut the pageload time.
Thanks!

Dennis Odavar

unread,
Mar 22, 2017, 4:03:33 AM3/22/17
to SlidesJS
Do you have a plan to include the preload option?
Reply all
Reply to author
Forward
0 new messages