arielsalminen / responsiveslides.js Goto Github PK
View Code? Open in Web Editor NEWSimple & lightweight responsive slider plugin (in 1kb)
Home Page: http://responsiveslides.com
Simple & lightweight responsive slider plugin (in 1kb)
Home Page: http://responsiveslides.com
I’m using Slideshow 1 without any modifications. Is there an easy way to change fade to slide?
This is a great little script and has solved a problem (adding a slideshow to a fluid layout) that has been bugging me for a long time. If possible, could you tell me what needs changing in the script to make the cycle stop after the first or second run through (or n times).
I've tried tweaking this line:
var idx = index + 1 < length ? index + 1 : 0;
and I can stop the slideshow going back to the first slide, but then it keeps fading the third slide in and out, which is not the desired outcome.
Any advice would be much appreciated. Thanks.
Hi!
Can you add an option to support HTML5. It would be to change the elements like this:
Your widget is perfect. Only thing it was lacking was a mouseover feature to pause on mouseover.
I added this into the code at line 128:
//Mouseover Support
$(this).mouseover(function() {
clearInterval(rotate);
});
$(this).mouseout(function() {
restartCycle();
});
Has anyone had any problem where the slides just stop showing after awhile? The element is still on the page ( I can see it in inspector), but the images are just not visible. It seems to be happing in both Chrome/Safari/Firefox? I'm just running a vanilla slideshow without much except maxwidth and speed defined. I can post more if diagnosis is necessary, but thought I'd see if anyone else has experienced this and has any solutions.
Hi i have a jquery click function that loads another slider and would like to stop the first one when i load the second, i also would hide it but i don´t kno how to stop it.
I have probe .stop(); but not working, i have removeClass() and then addClass(); another new classes but the li 's continue slidding and fading.
Thank you very much, continue with the good work, sorry for my english, spanish designer trying to code.
Is it possible to only have the navigation controls show up when you hover over the slider? If not that would be a great feature to consider.
Rather than having to choose between auto and pagination, I suggest they should be separate options, so that you can choose to have pagination WITH auto.
(And of course if someone wants to stupidly have auto off AND pagination off so that you can't navigate between slides then they can, that's their choice, you shouldn't try to prevent that by combining them into a single option as you have)
Hi,
I love your light weight plugin. I only have a small issue though. The pagers are duplicated whenever a colorbox opened in the same page where responsiveslides reside.
Looking forward to hearing from you.
Thanks
Great plugin, working really well while staying very light!
Not an issue, but a suggestion: add callbacks so that the slideshow can be paused and resumed.
This is working awesome. But when i include lightbox plugin, the lightbox plugin doesn't seem to work along with this.
Point me in the right direction.
Thanks in advance!
Amarnath Jaganathan
Wasn't sure how to request a feature.
I would like the slides to advance when the user clicks on the image/slide.
I think this is a pretty standard usability issue. When the slideshow is very large on the page, it can be frustrating for the user to find the pagination of the slides.
Hopefully it is simple to implement? I know that you wanted to keep the functionality basic, but this would improve it a lot.
Thanks for all of your hard work! This has been a great slideshow to use.
If an image is larger than the one before it, a visual "jump" is present as the image fades into view.
Add 2 images to a slideshow, one vertically longer than the other.
Using the default ResponsiveSlide settings, wait for the larger image to appear. Notice as it fades into view but only displays at the exact vertical length of the image before it, cutting off the remainder of the longer image. After the fade is complete, the rest of the larger image "pops" into view without the fade effect applied.
Reproducible in FF11 & Chrome 18.
As the feature set will inevitably change over time, it would be helpful to add a version number and changelog where applicable (i.e. source code, documentation, site, demo, etc) so perhaps the current release is 1.0 and the next will be 1.1?
Also because not everyone is able to use the latest version of jQuery on their site (perhaps because of dependencies with other plugins, CMS, etc) I suggest that you also include (in the documentation and plugin source) details of what version(s) of jQuery are supported, e.g. v1.4.2+ ?
I am making a new site that needs a slider that has image sets that can be changed with javascript. Can I add this or do I need another slider? do you know of one?
After changing the imageset it should stay at the current image for the specified timeout and use the new images when it changes.
I'm using your script in a website i'm building with Concrete5 wich comes with jQuery 1.6.2. You can look at the website here www.dltransport.it/concrete5/ . In Firefox 10 and latest Chrome on Windows after some minutes (~10) the slideshow degrades, it starts fading the slides very quickly and duplicates itself under the original.Can you reproduce this issue?
In the script responsiveslides.js:
It seems no matter what I set this to
"fade": 5000, // Integer: Crossfade time, in milliseconds
"speed": 5000, // Integer: How long image shows before fading to next, in milliseconds
... there is no change in the fade or the speed.
Am I missing something or is this a bug - ?
Thank you. The script is exactly what I needed, lightweight & responsive with minimum features.
Steve
First off, I wanted to say this slideshow has been really helpful and I really appreciate you making it and keeping it updated.
The problem is in my tweek of the navigation. So I wanted to put 2 navigations on this responsive online newsletter, one at the top and one at the bottom. So instead of using your auto nav feature, I turned it on and then hid it with display: none; and put the html code for the navs in the locations i wanted. Not sure if this is ok to do, but they worked fine when previewed from Dreamweaver, however once I made them live they don't work. The slide navigation is the page > and < page and each story has a slide show. Do you know what the problem may be?
Here is the link to the site, http://apps.rcu.msstate.edu/Connections_Online/
I appreciate your time and help!
Joey
In Chrome 19 inactive tabs are buffering the slides and so when the tab becomes active, it races through the unseen slides.
Possibly onFocus/onBlur functions needed to pause when inactive?
I've tried your script. Thank you very much for it!
I wanted you to know that I modified the CSS a little in order to get the 'Slideshow Effect' since the first moment of page loading.
I copied and pasted the code in your web and I was shown 3 li elements, one after the other and then they dissapeared, leaving one behind.
Instead of refering to class .rslides
and waiting for the jQuery code to act, I modified the CSS code to #slides
and all the slides we're together until the very moment when the animation begins.
Let me know what you think!
Hello,
a few minutes ago I tweted about my issue, I'm using responsiveSlides in my theme here http://satrya.me/demo/tiga/. The problem is the fade effect not working on IE 8 Win. I tried to tested your demo and everything looks good. Can you help me ?
Thanks
A small suggestion: maybe the classname action
should be changed to something that's less likely to clash with something that people use in their CSS. Should use settings.namespace
?
So here is one instance my usage of your slideshow.
http://apps.rcu.msstate.edu/Connections_Online/SP12/stories/3/index.html
I have used the 100% vertical navigation on either side of the slideshow and made them just transparent areas. I did this so the user would think < Page/ Page > was a button to move back and forth through the slideshow. The tabs for this were intended to be above all the content within the slideshow, however in IE the text within the slideshow takes priority over the navigation when the cursor attempts the click on either navigation.
As you can see this could cause alot of confusion for users. Can you please help me see what seems to be the problem. Not sure if this is something I've done or whether this is just an untested territory of slideshow's navigation usage when the slide is filled with text.
Thanks,
Joey ([email protected])
Hi
Do you plan to use touch control support to ResponsiveSlide.js ? (like "taping on slider displays the next slide" or "swiping makes the slider to advance")
I started thinking that it would be quite easy to add support for captions, as the slideshow is now using different kind of markup.
Any thoughts / is this something which would be useful?
Hi,
How I can add the URL on images?
Okay so not really an issue, just a public service announcement from The Curator, David Higgins (@Higgo)
-- This repo has been included in The Github Pirates' Chest.
What is this about?
The Github Pirates is a constantly updated resource for those interested in HTML5, CSS3, and JavaScript.
You should find out more about this project below:
OR, Download The Chest:
http://www.davewhitley.com/projects/shipley-donuts/
The max-width
is set in the responsiveslides.js settings. It is set at 1296px, but when the browser size is reduced, you can see that it is not working. Works in Opera Mini and all of my desktop browsers. I think I am using responsiveslides.js version 1.4.
The current demo page throws an error in Chrome and Safari:
Viewport argument value "device-width;" for key "width" not recognized. Content ignored.
Changing the semicolons to commas resolves the issue, so the viewport meta declaration becomes:
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
Great script! Really slick and works wonderfully.
I don't know if I am missing something, but I am trying to figure out a way to create an external link to specific slides, or start the slideshow with a specific slide rather than the default first (or random).
Let me know if this is something that you have considered and I am overlooking, or is to yet supported by your great script.
Cheers,
Tom Tranmer
Sorry to bother with a newb question but if I have different height images is there a way I can animate the container to slide to the height of the next image? Other than that love the product thanks so much!
Hello, I have used this script in the past and it has worked like a charm. However, now something weird is happening; when I resize my window the slider sizes small but does not come back to full size when i expand the window unless I refresh the page. Any ideas why this is happening? Or things I should look for?
Hi
I updated to 1.22 from 1.04 and now instead of a fade between slides I get a slide that flies in from the right.
Any ideas what that might be?
I'm quite sure that this may be more related to jQuery than to your plugin but I wanted to ask anyway. Maybe you can guide me.
I used the original code but I get an 'Uncaught Error' due to the $ function not being recognized.
I was able to fix this using 'jQuery' instead:
jQuery(function () {
jQuery("#slides").responsiveSlides();
});
Now, when I add the options (i.e. nav: true) like the example below, the slideshow won't load.
jQuery(function () {
jQuery("#slides").responsiveSlides({
nav: true
});
});
Do you know how can I solve this?
Hello,
I have a big issue, the slides disappear on IE8 win :( , here's the link http://satrya.me/demo/foto/
A great feature addition to this already incredibly useful plugin would be the option to randomize image order.
I tried randomizing via php but it really didn't work with the plugin.
I'm trying to get the current slide from within the before
& after
callbacks, to no avail.
I tried using this
, but that points to the options
object. The arguments
object is similarly empty.
I then tried using li.slides1_on
and even li[class$=_on]
, again, to no avail.
Am I missing something? Is there any way to get the current slide from within the callbacks?
I am using ResponsiveSlides.js on a responsive web design project and it works perfectly on the current version of Chrome however in Firefox the images do not display very clearly, they do not seem to adjust after resizing the webpage, they become distorted.
Hi there Viljamis,
Is there a way around to add Image Description to each image, at least in the bottom.
As usual thanks in advance for your efforts :D
Amarnath Jaganathan
Hello, I would like to put 4 exact same slideshows in one page but it doesn't work.
Only the first one does. The others don't move... only the first picture shows up.
Thanks !
Hi,
I simply LOVE this plugin, one of the best I've seen (and I've seen a lot ..!..).
I have just a problem at least with Safari 5.1.7 and Chrome 19.0.1084.46 Mac. The demo "Transparent buttons over the left and right side" where I imagine I should see a left/right button when the mouse is over the slide, I don't see any buttons.
I'd love to see a demo with thumbnail images of the slides used for pagination.
Typically I like to generate the markup for pagination myself, however, this plugin doesn't provide an option to link pagination to an existing HTML element. It always generates the pagination by itself. You'd have to add background images via CSS to every single tab via the namespace_s1
, namespace_s2
classes and rely on background sizing for making them fluid.
An option to link to existing pagination markup would be great.
I'd like to put a border around the images in the slideshow - the problem is that the right border always gets cut off. I've played around with a lot of the styles but I can't get that border to show while keeping everything lined up. Any ideas?
Hi, sorry if i copied all your work to visual studios 2010. but i was just trying to test it but it seems that i could not see any pictures at all.. this is the image i am talking about..http://img16.imageshack.us/img16/623/captureudy.png
thanks
Is this possible?
Your widget is perfect. Only thing it was lacking was a mouseover feature to pause on mouseover.
I added this into the code at line 128:
//Mouseover Support
$(this).mouseover(function() {
clearInterval(rotate);
});
$(this).mouseout(function() {
restartCycle();
});
Getting
TypeError: 'undefined' is not a function (evaluating '$tabs.on') :167
which breaks clicking on the pagination
I am incorporating it into drupal 7
the max jquery version I'm stuck using is 1.5.2
(module: jquery update)
really like the plugin, great work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.