Click here for the new version of this plugin
Version 1.5 of my Easy Slider plugin for jQuery is here. This is one of the my rare scripts that make it to their second version.
All of the features here are result of your comments, so if you have more ideas, keep 'em coming!
Note: in case you haven't already, you might want to check out article about first version of this plugin.
Features
This version features:
- auto slide
- continuous sliding
- "go to first" and "go to last" button
- hiding controls
- optional wrapping markup for control buttons
- vertical sliding
- multiple sliders on one page
Here are the things you can customize (with their default values)
prevId: 'prevBtn', prevText: 'Previous', nextId: 'nextBtn', nextText: 'Next', controlsShow: true, controlsBefore: '', controlsAfter: '', controlsFade: true, firstId: 'firstBtn', firstText: 'First', firstShow: false, lastId: 'lastBtn', lastText: 'Last', lastShow: false, vertical: false, speed: 800, auto: false, pause: 2000, continuous: false
I will explain new options:
controlsShow
By default set to true, but if set to false it will not add any controls. It can be used with auto scroll when you want to disable user interaction.
controlsBefore and controlsAfter
In case you want to add some additional markup to gain more control over buttons you can do so by using these parameters. Check out the demo where I use these options.
controlsFade
By default set to true. If set to false it will disable button hiding when slider reaches the end.
firstShow and lastShow
These parameters hide (or show) "go to first" and "go to last" buttons
auto
This option enables auto sliding, Just set it to true.
pause
This option is set in milliseconds and it represent the duration of each slide when plugin is set to auto sliding
continuous
If set to true clicking the next button when the slider reached the end will jump to the beginning (and vice-versa). Combining this option with auto (both set to true) you'll get endless animation
Demos
I have prepared 5 demos, although I could have done zillions. Hopefully I will have the time to create more good demos as I continue to develop this plugin
- basic default non styled demo
- styled demo with default settings
- non styled demo with vertical scroll and visible "go to first" and "go to last" buttons
- styled demo with auto scroll and continuous sliding
- styled demo with multiple slider, image and content slider, with different settings (top one has auto slide while bottom one doesn't)
Future
I already have some ideas about next versions (play/pause buttons, numbered pagination...) but I would also like you to share any idea you might have.
Designer, developer and a passionate standardista. Long time web professional with huge experience in all types of front-end work. Founder of Css Globe and creator of
Sérgio Soaes on 26 Jan, 2009 wrote:
very beautiful sliders
cheers
Erick on 26 Jan, 2009 wrote:
can't wait to use it on my live site!!
superb work!
sOledad arismendi on 26 Jan, 2009 wrote:
Khaled on 26 Jan, 2009 wrote:
egohavoc on 26 Jan, 2009 wrote:
cssglobe on 26 Jan, 2009 wrote:
Michael on 26 Jan, 2009 wrote:
just one feature request (or idea):
it would be amazing that in continuous mode it would not scroll over all the slides in the middle and in the 'wrong' direction.
you could just copy the last slide before the first, and the first after the last, so you have this smooth continuous scrolling, and then just jump to the real end or start in the background.
Alen B. on 26 Jan, 2009 wrote:
Nice demos.
alain on 27 Jan, 2009 wrote:
Colin Scroggins on 27 Jan, 2009 wrote:
Will Paccione on 27 Jan, 2009 wrote:
thanks!
Belinda Clemesha on 27 Jan, 2009 wrote:
Victor on 27 Jan, 2009 wrote:
Nicolas Borda on 27 Jan, 2009 wrote:
Liam Morley on 27 Jan, 2009 wrote:
Also, in Chrome, the 'prevBtn' image doesn't appear unless you click on it. Haven't tried in other browsers.
David Hellmann on 27 Jan, 2009 wrote:
cssglobe on 27 Jan, 2009 wrote:
Markus on 27 Jan, 2009 wrote:
like it
SSV on 27 Jan, 2009 wrote:
Rob on 27 Jan, 2009 wrote:
Thanks alot
Jamie on 27 Jan, 2009 wrote:
Odin Horthe Omdalt on 27 Jan, 2009 wrote:
But it's kinda crucial that autoslide stops when you hold your mouse over the content area.
And, OK, it's called slider, but fading is also very nice ;-)
David on 27 Jan, 2009 wrote:
Geoserv on 28 Jan, 2009 wrote:
This is fantastic Thanks for sharing.
Nathan Eshraghi on 28 Jan, 2009 wrote:
My only question is does it have other navigation option. Rather than having next and previous and last, having like Home About and Contact. I haven't really taken a good look at it but does it have this functionality (ie like the codaslider).
Fabio on 28 Jan, 2009 wrote:
there is only one feature that will make it 5 stars + instead of 5 stars, imho: is it possible to have in the first frame just the "next" button, without the "previous"?
anyway, it is perfect even this way, many thanks
Rich on 28 Jan, 2009 wrote:
E11World on 28 Jan, 2009 wrote:
fatherb on 28 Jan, 2009 wrote:
think it has been mentioned above, but any chance of having an option to have numbers in the main window so people can choose which screen to go to instead of the left and right buttons.
and of course it would be nice if the rotation continued after a set time as it stops now once a button is pressed.
WB on 28 Jan, 2009 wrote:
Max on 29 Jan, 2009 wrote:
One thing I notice: the prev button does not always appear when it should like it does in Firefox?
joseph on 29 Jan, 2009 wrote:
Opera 9.63 = no problem
IE 7 = no problem
Safari 3.2.1 = btn_next & btn_prev images dissapear
Chrome 1.0.154.43 = btn_next & btn_prev images dissapear
joseph on 29 Jan, 2009 wrote:
Netscape 9.0.0.6 (don't laugh:) = no problem
Max on 29 Jan, 2009 wrote:
But there is a definite issue here with Safari though: missing buttons. I have never tried using Chrome but it sounds like the same issue exits as well. Hopefully there will be a 1.5X fix to tweak this into shape?
cssglobe on 29 Jan, 2009 wrote:
ah66533 on 29 Jan, 2009 wrote:
IE6 -> works
IE7 -> works
IE8 (beta2) -> does not work
With IE8 the main content is now changing. The main view is visible all the time. Buttons works just like they should (next button disappears at last slide).
This might be IETester problem...
dario-g on 29 Jan, 2009 wrote:
If You decide to implement this functions I think about your script again :)
Thanks for sharing
Rich on 29 Jan, 2009 wrote:
http://cssglobe.com/lab/easyslider1.5/03.html
Lluria on 29 Jan, 2009 wrote:
I just want the first image to be shown in dreamweaver? it kinda messes up the tables. If you know the solution please help.
kesc on 29 Jan, 2009 wrote:
kuba on 29 Jan, 2009 wrote:
Geoff on 30 Jan, 2009 wrote:
Fantastic script, really really good, one question however is it possible for the animation rather than scrolling back to the initial image simply carry on..?
so...
[animation sequence scroll to start]
1 > 2 > 3> 4> 5> <scroll> 1 > 2 > 3> 4> 5<scroll>
becomes..
[animation sequence no scroll]
1 > 2 > 3> 4> 5> 1 > 2 > 3> 4> 5>
If so can anyone provide me to code?
Regards
Geoff.
Rodney on 30 Jan, 2009 wrote:
www.deviantart.com?
Nicolas Borda on 30 Jan, 2009 wrote:
Drew on 30 Jan, 2009 wrote:
slickboyj on 30 Jan, 2009 wrote:
Garrett on 31 Jan, 2009 wrote:
On the other hand I have to say as well that this script is very impressive. Great job.
psyhonut on 31 Jan, 2009 wrote:
Michal on 2 Feb, 2009 wrote:
inosense on 2 Feb, 2009 wrote:
A question - if I make a Joomla! extension out of it - how about the credits for using the script?
andrewthong on 2 Feb, 2009 wrote:
Keith on 3 Feb, 2009 wrote:
i.e. slides moving from 1, 2, 3, 1,... as opposed to "rewinding" 1, 2, 3, 2, 1...
Ben on 4 Feb, 2009 wrote:
It doesn't appear to be doing this on my "test page"... http://spinmarkettemplatev3.spintest.com/slider_test.asp
Thank you for any assistance or direction you might be able to provide!
Ben on 4 Feb, 2009 wrote:
http://spinmarkettemplatev3.spintest.com/_inside.asp
Not sure why, but in FF, it is appearing to change the class of the div “slider” from 310px wide to 1124px (and also changing the height from 150 to 190).
Thanks again.
Benny Risanto on 5 Feb, 2009 wrote:
Ben on 5 Feb, 2009 wrote:
Jack Boberg on 5 Feb, 2009 wrote:
Sigurbjörn on 5 Feb, 2009 wrote:
I had one problem where i had only one image in the slider but the next button was displayed regardless.
So I modified line 72 as follows ...
Before:
if(options.controlsShow){
After
if(options.controlsShow && s > 1){ // where s is the <li> count
Best regards...
Andy on 5 Feb, 2009 wrote:
Any tips on how I could go about adding this?
Thanks for a great plugin!!
Ed on 6 Feb, 2009 wrote:
chris on 6 Feb, 2009 wrote:
James on 7 Feb, 2009 wrote:
I'm trying to integrate EasySlider with Photobox and hoping someone can help...
http://www.jamesrouse.com/lifestyle_easyslider.php
that is easy slider working
http://www.jamesrouse.com/lifestyle_photobox.php
that is the photobox working
http://www.jamesrouse.com/lifestyle_both.php
this is 'meant' to be them working in harmony together.
any pointers would be very much appreciated!!
thanks
????? on 8 Feb, 2009 wrote:
Greg on 8 Feb, 2009 wrote:
As far as ideas... you may want to try to incorporate some of the things that <a href="http://www.5bosses.com/examples/agile_carousel/multi_example/carousel.html">this script</a> has.
b on 9 Feb, 2009 wrote:
The only thing it needs is page numbers under, which link to the slide number and then it could be used for anything really.
Good job.
Stu | selfconclusion.co.uk on 9 Feb, 2009 wrote:
Garrett on 10 Feb, 2009 wrote:
Donna on 10 Feb, 2009 wrote:
I just have one hitch though! I got it working perfectly with two arrows positioned on either side of the box.... and then I resized my window. The arrows stay exactly where they are but my fixed, centred site stays in the centre of the window. How can I position the arrows so that they are fixed to the maincontent div when it moves?
I'm a graphic designer who is a definite newbie on this stuff, learning by trial and error over the past couple of months. Any assistance is appreciated!
Thanks
Donna
mike on 10 Feb, 2009 wrote:
P.S. Can confirm that this works as described in FF2&3, IE7, Opera 9, Safari 3 and Google Chrome 1 on Vista
Stewart Goodwin on 10 Feb, 2009 wrote:
Vayu on 11 Feb, 2009 wrote:
The same goes for horizontal views. Just changed this line "obj.width(w);" to "obj.width(w*2);".
I am no jquery/javascript expert and I havent tested it in other browsers than Firefox 3. Can it be that simple?
Cordially
Vayu
Garrett on 11 Feb, 2009 wrote:
http://70.96.242.7/~sunstate/restaurant-merchant-accounts.php
fredj on 12 Feb, 2009 wrote:
just thank you for this useful and light script !
thanks again
Jeff on 12 Feb, 2009 wrote:
1) CSS: in the #prevBtn, #nextBtn, #prevBtn2, #nextBtn2, overflow is set to hidden, change this to visable.
2) easySlider1.5.js - prevText and nextText leave blank so there is no text to display. This hurts accessibility, but it solves the problem.
kyle on 14 Feb, 2009 wrote:
Bix on 15 Feb, 2009 wrote:
Bix on 15 Feb, 2009 wrote:
html += ' <span id="'+ options.prevId +'"><a href=\"javascript:void(0);\">'+ options.prevText +'</a></span>';
But how can i get directly picture nr. 4 when open the pageview of the slider? Where do i get that Variable from? thats all what is missing and i slowly give up on it. Actually i really dont want to, because its so great :-)
GeraldS on 15 Feb, 2009 wrote:
I expanded it a little to show the current position in the slide.
If you are interested to add it as an option for the next version:
html += ' <span id="position">'+(t+1)+'/'+(ts+1)+'</span>';
and at the end of the animate() function:
$("#position").text((t+1)+'/'+(ts+1));
Donna on 16 Feb, 2009 wrote:
Any help would be really appreciated!! Thanks, Donna
ravex on 16 Feb, 2009 wrote:
how add "fade effect" to a #text <div> or <li> inside #slider tag
1. image is sliding
2. after this action i want fadeIn #text in current image
how i can?
Fernando on 17 Feb, 2009 wrote:
I think that this plugin can play the role of this one : http://www.bannerengineering.com/es-MX/
but It doesn't have and play & pause button. Any idea ? please
bix on 17 Feb, 2009 wrote:
Oh and if you have different sizes, just put in a table with align=center. put the Buttons padding to the right position, because, bigger container... bigger space between the buttons
Nick on 18 Feb, 2009 wrote:
rahim haji on 18 Feb, 2009 wrote:
I was wondering if you can help me tweek it slighly.
When at the last image and the next btn is clicked (or on continuous animation), can i get the slider to just scroll to the 1st picture rather then scrolling through them all and then shounf the first slide?
regards,
Rahim
ESP on 18 Feb, 2009 wrote:
Cheers
Donna on 19 Feb, 2009 wrote:
Firenza on 19 Feb, 2009 wrote:
Works with jquery 1.2.6 but any chance of a quick fix for jquery 1.3.1 users?
All the best!
Danny on 19 Feb, 2009 wrote:
kudos for the script!
Jennae Petersen on 19 Feb, 2009 wrote:
$(document).ready(function(){
$("#slider").easySlider();
}); I am completely new to this, so forgive me if my question makes it obvious :) . Where do I put the following lines of code:
$(document).ready(function(){
$("#slider").easySlider();
});
Jennae Petersen on 20 Feb, 2009 wrote:
See it here: http://hibiscuscreative.com
Fransnico on 20 Feb, 2009 wrote:
I know this question already asked before..
Is someone already figure out how to make the slide cycling in one loop? 1>2>3>1>2>3....
really need it for my project.. Please help..
Lorne Pike on 22 Feb, 2009 wrote:
brian on 22 Feb, 2009 wrote:
Thanks
Taylor Regan on 23 Feb, 2009 wrote:
It's just what I was looking for and adds a nice touch to my website.
Thanks!
Jared Crossley on 23 Feb, 2009 wrote:
A small JS error is showing up in my debugger, related to the JS inserted into the <head>:
<script type="text/javascript">
$(document).ready(function(){
$("#slider").easySlider({
controlsBefore: '<p id="controls">',
controlsAfter: '</p>',
});
});
</script>
ControlsAfter: '</p>', is throwing an error, saying that the character "/" isn't allowed. I tried converting it to an HTML entity (⁄) but that didn't work either. Any ideas?
Thanks,
~Jared
Jared Crossley on 23 Feb, 2009 wrote:
I also tried the decimal value & #47; (space added 'cause it looks like the comment system strips out HTML entities). Same problem.
~Jared
GeraldS on 23 Feb, 2009 wrote:
This block right after "$(obj).after(html);" hides the next/previous links when only one list element is present in the list.
if (ts < 1) {
$("a","#"+options.nextId).hide();
$("a","#"+options.lastId).hide();
$("a","#"+options.prevId).hide();
$("a","#"+options.firstId).hide();
}
Garrett on 23 Feb, 2009 wrote:
Chanie Pritchard on 24 Feb, 2009 wrote:
Jared Crossley on 25 Feb, 2009 wrote:
I found a solution to the improper rendering of the forward slash '/' in the following line:
controlsAfter: '</p>',
Simply replace '</p>' with '</\p>' -- this will escape the invalid character.
~Jared
John Mac on 25 Feb, 2009 wrote:
Thanks.
Marc on 26 Feb, 2009 wrote:
Had same Safari/Chrome issue with disappearing buttons(.png) but found they dont disappear if they are set inside the #slider div. Im not going to change my Jquery back to 2.2 but i will change the #prevBtn and #nextBtn to visible and test that as Jeff suggested.
Marc on 26 Feb, 2009 wrote:
Miguel on 26 Feb, 2009 wrote:
I like to get the current value of t but it doesn't work:
html += '<span id="myid"><a href="images/myimg/'+ t +'.gif" id="btnImg" class="btnImg">My Image</a></span>';
Zend on 26 Feb, 2009 wrote:
if(options.controlsShow){
var html = options.controlsBefore;
if(options.firstShow) html += '<span id="myid"><a href="images/myimg/'+ t +'.gif" id="btnImg" class="btnImg">My Image</a></span>'; $(obj).after(html);
};
I want to get the value of ( t ) when I click next then suppose to get the next counter 2, 3, 4 .
Any help is greatly appreciated.
Pieter on 26 Feb, 2009 wrote:
It's a great and very, very easy to use plugin.
Thanks!!!
Peter on 28 Feb, 2009 wrote:
Andreas on 2 Mar, 2009 wrote:
Andreas from Germany here. I try to insert the slider in a customer project,
www.adminforyou.de/bd/index.php
but the slider doesn`t work. (the demos work fine). IE7 shows an error message "jQuery" is undefined, line 31, char 1" and a second error message "this object does not support the property or method, line 19, char 4 " (translated from german error message)
what is wrong with my index.php?
Could anyone help me?
Thanks a lot from Germany
Andreas
Andreas on 2 Mar, 2009 wrote:
oh, i am sorry! i have found the reason for the bug. The jQuery has to be inserted before the easyslider.js.
Great slider, wonderful!
Andreas
George from Ohio on 2 Mar, 2009 wrote:
So far the only issue I have is that I can't seem to get this script to print the whole ul using the print.css. Did anyone have the same issue as I did? Let me know. Any help would be appreciated. Thanks.
Brian from Minneapolis on 3 Mar, 2009 wrote:
Ah... browser inconsistencies. Gotta love 'em.
Hesham from Egypt on 4 Mar, 2009 wrote:
I've added a paginator to it and some other stuff.
Editing it was very easy.
Keep the good work.
Orlando Bennington on 5 Mar, 2009 wrote:
I'm just starting with jQuery and that I'll help a lot!
Thank you!
Kevin on 5 Mar, 2009 wrote:
Ravi Kotak on 5 Mar, 2009 wrote:
Thanks
christopher Jack on 6 Mar, 2009 wrote:
Benjamin Reid on 6 Mar, 2009 wrote:
Change XXX to your desired postion
#prevBtn, #nextBtn{ top: XXXpx; }
Bryce on 8 Mar, 2009 wrote:
I have a feature request: Instead of when the auto scroll reaches the last item, going all the way back to the first one just show the first one next (if you get what I mean)
i.e go 1,2,3,1,2,3 not 1,2,3,2,1,2,3
Hase on 8 Mar, 2009 wrote:
unfotunately there sems to be aproblem with the wordpress motion theme (http://www.themelab.com/2008/06/23/motion-free-wordpress-theme/) either the accordeon script or the slider script woks. any hel appreciated!
Hase on 8 Mar, 2009 wrote:
works in ie but not ff
Anton on 8 Mar, 2009 wrote:
If you add opportunity add text on pictures, it will be superuniversal plagin!
Johnny on 9 Mar, 2009 wrote:
The contents on my slides are pages with bullet lists. This causes problems in away that every bullet list on my contents adds a blank page on the slide so it scrolls with a lot o f blank pages on it. Any fix for that? Many Thanks! Keep up the Good Work!
Stuart Thursby on 9 Mar, 2009 wrote:
Bokelmann on 9 Mar, 2009 wrote:
(Button1 for slide 1)
(Button1 for slide 2)
(Button1 for slide 3)
etc?
cheers
Mistral on 10 Mar, 2009 wrote:
Wow , thank you so much for this , you're KING !!!!
Regards,
Mistral
Teebek on 11 Mar, 2009 wrote:
Very nice script and simple to use.
I've tried to use it with Yetii script but it seems that it doesn't work. If someone has a solution, I'll take it ;-).
Regards.
chuck on 11 Mar, 2009 wrote:
Miguel on 12 Mar, 2009 wrote:
Florian on 12 Mar, 2009 wrote:
1st one, in safari on first page load you will see nothing more then 10px of the top of the slide.. after refresh it works just fine.
2nd one, before the whole page is loaded, all of the images are displayed in list order... how can i fix this?
3rd one, w3c validator says:
Line 16, Column 34: document type does not allow element "p" here.
controlsBefore: '<p id="controls">',
Can you mail the answers to me? special Thanks!!
Joa on 13 Mar, 2009 wrote:
http://blog.bogojoker.com/2009/01/adding-looping-to-a-content-slider/
wayne on 13 Mar, 2009 wrote:
asaaki on 14 Mar, 2009 wrote:
one issue - when I save the demo pages, let's say "styled demo with auto scroll and continuous sliding", the images auto scroll, but the buttons don't work. When I write my own code and use the plugin as per this tutorial, the buttons work but auto scroll doesn't. I've spent hours on this but just can't find out where I'm going wrong. Help!
Nicolas Borda on 15 Mar, 2009 wrote:
Martin Miranda on 18 Mar, 2009 wrote:
Thank You
kevin on 18 Mar, 2009 wrote:
$("#slider") is null
any one know how to get rid of this, i am using aspdotnetstorefront so its in the template on every page but the slider is only on the home page.
naresh on 18 Mar, 2009 wrote:
but after it rotates 4 times i want it to loop it agin with smooth.
in your work it is directly starting with first image again,
Maged Makled on 19 Mar, 2009 wrote:
**
$(document).mouseover(function(){
$("#slider").easySlider({
auto: false,
});
});
$(document).mouseout(function(){
$("#slider").easySlider({
auto: true,
continuous: true,
pause: 5000
});
});
**
but not luck. any ideas?
Thanks
sonic22 on 20 Mar, 2009 wrote:
Great plugin, i really like it, could you try to add a mouseMove function to slide with the mouse position over the #div
Best Regards
Mozes on 20 Mar, 2009 wrote:
mamjed on 20 Mar, 2009 wrote:
alvaro on 23 Mar, 2009 wrote:
Gabe on 23 Mar, 2009 wrote:
Neil on 23 Mar, 2009 wrote:
One more vote for a continuous scroll; thought 1>2>3>4>1>2>3...
Nebbercracker on 23 Mar, 2009 wrote:
vishal on 24 Mar, 2009 wrote:
Kaya on 24 Mar, 2009 wrote:
I have the same probme as several people before.
I would like to add a navigation to the slider that points direct to certain container id's within the slider.
Can anyone help please!
Bulat on 25 Mar, 2009 wrote:
Please, help me. I need make this slider for full page (width=100%). How I can do this? Thank's.
EngineHere on 27 Mar, 2009 wrote:
I'm using it in Wordpress to slide pretty heavy <li> (see in my homepage) and it works nicely.
It took me some time to figure out that I can use controlsFade: false , to make the whole thing more clear to people.
Thanks for sharing !
Hendrik-Jan on 27 Mar, 2009 wrote:
Tyler Henson on 27 Mar, 2009 wrote:
I agree, it would be great to have the auto scroll resume after using the manual controls.
Also, another thing I've seen is a "bounce" effect when each slide comes in. I think it would be cool to add some fun visual effects like that.
I love how when you get to the end, it scrolls quickly over the previous slides to the first... awesome! Great script nonetheless!!! Thanks for all your hard work on it!!
John Doe on 28 Mar, 2009 wrote:
Barry on 30 Mar, 2009 wrote:
Thanks
zeroday on 30 Mar, 2009 wrote:
DDamir on 30 Mar, 2009 wrote:
Pozdrav iz Beograda.
kevin on 1 Apr, 2009 wrote:
I am getting an error on ever page its not on becasue it cant find it.
Hakan Folkesson on 2 Apr, 2009 wrote:
I would like to use this if it would work with nested list items.
Darren Taylor on 3 Apr, 2009 wrote:
zarouk on 3 Apr, 2009 wrote:
It will be great to have more type of effect like the "ImageSwitch" project for example : http://www.hieu.co.uk/blog/index.php/imageswitch/
Best regards,
PS : sorry for my english, i'm french :)
Garret on 3 Apr, 2009 wrote:
jeroen on 5 Apr, 2009 wrote:
as anybody else I have some questions:
You use a list now, is it possible to make it a div?
(solves the problem as well with putting a list in there)
If It would be possible to change it into a div, could you put in 6 div's standard and change in an external stylesheet for example the last two div's:
#div5, #div6 {
visibility: hidden;
or
display: none;
}
Thank you for this great script!
jeroen on 5 Apr, 2009 wrote:
How can I put an div inside or make it all a div?
magelover on 8 Apr, 2009 wrote:
irka on 8 Apr, 2009 wrote:
irka on 8 Apr, 2009 wrote:
Peter on 8 Apr, 2009 wrote:
#slider { visibility: hidden; }
and add this to you document ready function just before you invoke the slider:
$('#slider').css('visibility','visible');
Joshua on 9 Apr, 2009 wrote:
ewd on 10 Apr, 2009 wrote:
Eitan on 10 Apr, 2009 wrote:
David on 13 Apr, 2009 wrote:
PF on 14 Apr, 2009 wrote:
Great script, really love it! Would it be possible to place a link first and last photo somewhere else in the page.
Something like:
Lorem ipsum dolor sit amet, click HERE to view the last image of the slideshow. Lorem ipsum dolor sit amet.
Thanks!
Christopher Scott on 14 Apr, 2009 wrote:
I use it to 'feature' a handful of projects from my portfolio on my homepage, check it out here: http://christopher-scott.com
Franky on 15 Apr, 2009 wrote:
osu on 16 Apr, 2009 wrote:
Working fine in all browsers except Safari 3.2.1 - overflow:hidden; doesn't seem to restrict the width of the list item meaning the scrolling goes insane.
Tried using an earlier version of JQuery, but same problem. Any ideas what I can try?
Thanks
osu on 16 Apr, 2009 wrote:
osu on 16 Apr, 2009 wrote:
Thanks for the plugin!
sujit kumar on 16 Apr, 2009 wrote:
Alexandre Broggio (Brasil) on 16 Apr, 2009 wrote:
David Ljunghill on 16 Apr, 2009 wrote:
Concur with a couple of the previous posts - it would be even greater with the possibility to jump directly to a specific slide.
James on 16 Apr, 2009 wrote:
rory on 17 Apr, 2009 wrote:
I was looking for a tutorial on this for ages, felt my web design was becoming a bit flat recently, so this java treat will bring some fun back to my designs.
Thanks I'll give this a test a the weekend.
sivas on 19 Apr, 2009 wrote:
Tye on 20 Apr, 2009 wrote:
Anselmo Martin on 20 Apr, 2009 wrote:
I have tried to work within a Iframe by design requirements (popup window) but there is no way.
Intends to fix it?
Tanks
Christine on 21 Apr, 2009 wrote:
Jörn on 21 Apr, 2009 wrote:
Ray on 22 Apr, 2009 wrote:
Has anyone come across this?
Cheers - thanks for the plugin too!
jerome on 22 Apr, 2009 wrote:
Thank a lot
sopheak on 23 Apr, 2009 wrote:
Thanks
JR on 23 Apr, 2009 wrote:
"Bokelmann on 9 Mar, 2009 wrote:
how can I jump to a specific sliding-item?
(Button1 for slide 1)
(Button1 for slide 2)
(Button1 for slide 3)
etc?"
Many thanks for a fantastic piece of work
JR
jerome on 23 Apr, 2009 wrote:
Thanks
andres on 26 Apr, 2009 wrote:
Al on 27 Apr, 2009 wrote:
Oliver on 28 Apr, 2009 wrote:
jeroen on 29 Apr, 2009 wrote:
Josemi on 30 Apr, 2009 wrote:
First of all i want to thank you the great script!
I have used it in a site and it works great but i am experimenting some problems!
It doesnt works always, its kind of random, somethings works, something not!
Would be great if you could have a look a say to me your ideas because i am getting crazy!
Thanks!
Tihomir Mihaylov on 30 Apr, 2009 wrote:
The plugin is great!
There is something that I can't do. When I set auto and continious scrolling, the scrolling is horizontal and not vertical!
Is there something else that I should do?
Dave on 1 May, 2009 wrote:
Any ideas??
I am using it within a theme written by somebody else if that makes a difference.
thank you
Ivan on 4 May, 2009 wrote:
Thanks anyway! I'm sure in a different instance it'll work - but for some reason this time didn't want to work...
Chad on 4 May, 2009 wrote:
Any help would be greatly appreciated.
F on 4 May, 2009 wrote:
keep up the good work!
xaer8 on 4 May, 2009 wrote:
Antonio on 6 May, 2009 wrote:
You can make the effect "fade in" and "fade out" alternatively the Slide Left or Right ?
Thanks
Blair Nichols on 6 May, 2009 wrote:
Bill MacKrell on 6 May, 2009 wrote:
miniMAC on 6 May, 2009 wrote:
Now called "EasySlider" must be "HardSlider"?
Someone has a solution? CSSglobe???
FIREFOX: OK
I.E.: OK
OPERA: OK
STAINELSS: NOT WORK
jialong on 8 May, 2009 wrote:
Thanks
sivas haber on 10 May, 2009 wrote:
Barton on 11 May, 2009 wrote:
Also, I agree with the Hover pause functionality, then it's there!
Keep it up,
Barton.
Tom tom on 11 May, 2009 wrote:
I can still see all the other images in the source but no slider.
Any ideas what can it be?
Paul on 12 May, 2009 wrote:
Yes the script works brilliantly except I get a all images appearing a moment before load. So I put height on UL container which fixes it but now is JavaScript is off, you can only see one image.
Is it possible to have a 'next' and 'previous' link when JavaScript is turned off?
Thanks
noisebleed on 13 May, 2009 wrote:
Phillip on 14 May, 2009 wrote:
Thanks
jostill on 15 May, 2009 wrote:
Be grateful for some advice.
http://www.andywood.co.uk/jo/enzo
jocuri on 15 May, 2009 wrote:
I put link buttons in <div id="slider">:
<span id="prevId"><a href="javascript:void(0);">Previous</a></span>
<span id="nextBtn"><a href="javascript:void(0);">Next</a></span>
but on click not working :|. Thanks
Tom on 15 May, 2009 wrote:
Xth on 16 May, 2009 wrote:
Thifu on 17 May, 2009 wrote:
// default configuration properties
var defaults = {
esCallback: function(thet, thets){},
...
}
... then we add the following line to a.nextId.click() and a.prevId.click() :
options.esCallback(t, ts);
That's for the script. Then in my Php/HTML page, I call EasySlider the following way :
$(".myslideshow-content").easySlider(
{
// My callback function :
esCallback: function(n, nmax)
{
alert('Slide '+(n+1)+' out of '+(nmax+1));
}
});
Here it is ! After the user clicks a "Previous" or "Next" button, my callback function is called and my website can react to the change.
Thanks a lot for the script anyway !
(if anyone needs the modified version of the script, maybe I can upload it somewhere...)
Nagavardhan on 17 May, 2009 wrote:
http://boulderfirst.com/test/olafe
jeroen on 18 May, 2009 wrote:
Frank Patterson on 18 May, 2009 wrote:
http://www.fordpas.org/registration/teachers_coordinators/form_v2.asp
jgjax on 18 May, 2009 wrote:
Yes, I'm new to this also.
Thanks.
nicolas on 19 May, 2009 wrote:
safe as milk on 19 May, 2009 wrote:
anyone worked out this yet?
"how can I jump to a specific sliding-item?
(Button1 for slide 1)
(Button1 for slide 2)
(Button1 for slide 3)
etc?"
would be perfect
sudeep on 19 May, 2009 wrote:
sudeep on 19 May, 2009 wrote:
Steve on 19 May, 2009 wrote:
Steve on 19 May, 2009 wrote:
Jon on 19 May, 2009 wrote:
I wanted to have the auto stop when you clicked on the slider so I added:
$("#slider").click(function(){
animate("stop",true);
});
around line 94
and:
if(options.auto && dir=="stop" && !clicked){;
timeout = setTimeout(function(){
animate("next",false);
},options.pause);
};
around line 156
Erik Wallace on 20 May, 2009 wrote:
Apparently Hesham from Egypt added pagination, I wish I was that savvy with Javascript. Alas, I am not quite there yet.
Amit Dixit on 20 May, 2009 wrote:
first od all , Nice slider you built there,
ok, i have a bug in IE7,
inside the <li> tag i have a <div> with FLOAT:LEFT;
this works perfect in Mozilla , Chrome and Safari but not in IE 7
in IE 7 all the slider <li> tags are visible throughout the slider
Can you tell me why this happens ?
Markus on 20 May, 2009 wrote:
Thx for sharing ;-)
Fred on 21 May, 2009 wrote:
I have one question, can I call the next div or prev div programtically instead of a button click.
Regards,
Fred
will jaspers on 21 May, 2009 wrote:
If the list-item height and width styles are not defined, and continuous mode is true, the slider overshoots the last item -- or the last item doesn't appear at all.
I can't tell if the slider is starting from the wrong position or if it is simply mis-calculating something.
The problem only seems to apply to Mozilla browsers (non-IE).
I can't tell you how much I appreciate this plug-in though!
It is smooth, lightweight, and easy to install!
red india on 21 May, 2009 wrote:
Cody on 22 May, 2009 wrote:
Comment out these lines in easySlider.js
/*html += ' <span id="'+ options.prevId +'"><a href=\"javascript:void(0);\">'+ options.prevText +'</a></span>';*/
/*html += ' <span id="'+ options.nextId +'"><a href=\"javascript:void(0);\">'+ options.nextText +'</a></span>';*/
Now, add the controls directly within the page layout wherever you like. For example:
<div style="float:left;"><span id="prevBtn"><a href="javascript:void(0);"></a></span></div>
<div id="slider">
<ul>
<li>Contents for slider here</li>
</ul>
<div style="float:left;"><span id="nextBtn"><a href="javascript:void(0);"></a></span></div>
</div>
akitae on 23 May, 2009 wrote:
dlv on 24 May, 2009 wrote:
also i want to fade in/out instead sliding...so i'm gonna wait until someone show us how we can do that
adeux!
Alberto on 24 May, 2009 wrote:
This is my web site and I'm having some problems implementing your slide. It works perfectly off line... but when I upload my website on the server it goes really wrong. Any help? Thanks.
Alberto on 24 May, 2009 wrote:
This is my web site www.ciao-caio.com and I'm having some problems implementing your slide. It works perfectly off line... but when I upload my website on the server it goes really wrong. Any help? Thanks.
tom on 25 May, 2009 wrote:
thx
Candace Haynes on 25 May, 2009 wrote:
Example below...
http://buildinternet.com/live/boxes/
Ismael on 25 May, 2009 wrote:
Is that possible?
William on 25 May, 2009 wrote:
Candace on 26 May, 2009 wrote:
http://rapidshare.com/files/237262818/easysliderwcaptions.zip
Candace on 26 May, 2009 wrote:
Probably simple but I am frustrated now...
Joe on 26 May, 2009 wrote:
This is really an image slider not a content slider. HTML elements added inside the LI tags used by the slider causes blank slides to be added. Each slide can only contain 1 image and 1 link.
Content sliders allow you to add html/xhtml content to the slides.
Unfortunately, I got this setup and created my slides before realizing this was image only :) I had 4 content slides followed by about 20 blank slides.
Joe on 27 May, 2009 wrote:
Alexandre on 28 May, 2009 wrote:
Juan Manuel on 29 May, 2009 wrote:
cleverkid on 29 May, 2009 wrote:
this.each(function() {
var obj = $(this);
var s = $("li.slideme", obj).length;
var w = $("li.slideme.", obj).width();
var h = $("li.slideme", obj).height();
obj.width(w);
obj.height(h);
obj.css("overflow","hidden");
var ts = s-1;
var t = 0;
$("ul", obj).css('width',s*w);
if(!options.vertical) $("li.slideme", obj).css('float','left');
I'll report back if I find any issue with it, but so far so good. Hope this helps some folks.
cleverkid on 29 May, 2009 wrote:
sorry about that
xchcl on 30 May, 2009 wrote:
jsssc on 30 May, 2009 wrote:
thx for sharing ……
i have translate it into chinese http://jsssc.cn
i wondering will u add more beautiful animating effect on next release
tax on 30 May, 2009 wrote:
Is there a way to click on a link and go to a specific slide?
thai on 31 May, 2009 wrote:
Ankit Sabharwal on 31 May, 2009 wrote:
Mike Centola on 31 May, 2009 wrote:
Vassilis Mastorostergios on 2 Jun, 2009 wrote:
Prashant Khanal on 2 Jun, 2009 wrote:
I am using this plugin to show the text content loaded from the database. Is there any way that the component will adjust its height based on the text content being loaded on each slide.
Currently the height of the component to hold the content seems to be fixed which can cause the content being clipped depending on its length.
Sedat Kumcu on 3 Jun, 2009 wrote:
level23design on 3 Jun, 2009 wrote:
JC on 3 Jun, 2009 wrote:
Does anyone know how to make this happen?
jan korbel on 3 Jun, 2009 wrote:
Try inserting this on around line 96, right before function animate(dir,clicked)...
$('#slider').hover(
function()
{
animate("stop",true);
},
function()
{
animate("stop",false);
}
);
Then insert this on line 176, right after
... },diff*options.speed+options.pause);...
if(options.auto && dir=="stop" && !clicked){;
timeout = setTimeout(function(){
animate("next",false);
},options.pause);
};
Probably not clean code at all, as I am no pro, but it works.
Tom on 4 Jun, 2009 wrote:
I've implemented it on a Ning powered site no problem. It's been getting great feedback from users.
http://www.aclimateforchange.org/
Thanks for your great plugin!
Carsten on 4 Jun, 2009 wrote:
I had the same problem.
my nested divs made the last slidy empty, so i had to add an empty li-element on at the end to show all content.
To hide the Next Button at that las and empty slide i just changed
if(t==ts){
$("a","#"+options.nextId).hide(); $("a","#"+options.lastId).hide();
to
if(t==(ts -1)){
$("a","#"+options.nextId).hide(); $("a","#"+options.lastId).hide();
that worked for me...just a hack, but working....
hope that can fix your issues, too!
Carsten
Kelli on 9 Jun, 2009 wrote:
Thanks, Kelli
sivas on 10 Jun, 2009 wrote:
Michele on 10 Jun, 2009 wrote:
Ismael on 11 Jun, 2009 wrote:
Would like to rewind at the beggining feature.
You know how are the clients. =/
vlp on 11 Jun, 2009 wrote:
countocram on 11 Jun, 2009 wrote:
Jeff L on 11 Jun, 2009 wrote:
One bit of feedback. If you don't have continuous set to true, and don't have controlsFade set to false, you end up with visible controls at the start and end of the slider that do nothing.
I'd recommend adding this code to at least set a class on those controls so they can be styled to look disabled.
<code>
if (!options.controlsFade) {
if(t==ts){
$("a","#"+options.nextId).addClass('disabled');
$("a","#"+options.lastId).addClass('disabled');
} else {
$("a","#"+options.nextId).removeClass('disabled');
$("a","#"+options.lastId).removeClass('disabled');
};
if(t==0){
$("a","#"+options.prevId).addClass('disabled');
$("a","#"+options.firstId).addClass('disabled');
} else {
$("a","#"+options.prevId).removeClass('disabled');
$("a","#"+options.firstId).removeClass('disabled');
};
}
</code>
I added that at line 147.
Other than that, it worked great for me.
moshe on 11 Jun, 2009 wrote:
also - is there a way to have a 'stop' (or pause...) button for this?
Thanks for this great script!
sp on 12 Jun, 2009 wrote:
Ryan Furtner on 13 Jun, 2009 wrote:
http://www.furtzdesigns.com/multitheme/
That is the site im working on and i cant work out why it wont work!
Ryan Furtner on 13 Jun, 2009 wrote:
adam on 13 Jun, 2009 wrote:
http://www.adamatkinson.co.uk
Dgwp on 14 Jun, 2009 wrote:
I´m trying to get endless animation, as well as is describe above, but it is not working, anybody can help me?
Jonathan on 15 Jun, 2009 wrote:
If you figure it out please let me know because I am having the same problem. The Prev and Next buttons don't do anything when they are clicked on.
Jonathan on 15 Jun, 2009 wrote:
Adam on 16 Jun, 2009 wrote:
Yea if i figure it out I will certainly publish on here
regards
Courtney on 16 Jun, 2009 wrote:
http://www.truenorthe.com/bright/home.html
Mathew Smith on 16 Jun, 2009 wrote:
Hélio Correia on 17 Jun, 2009 wrote:
01. Edit easySlider.js
02. Add new defaults value
var defaults = { ... pagination: '#pag a', .... }
03. Add new event for pages items:
$(options.pagination).each(function(i){
$(this).bind('click', i, function(e){
e.preventDefault();
if (i > t || i < t) {
t = i;
animate('none', true);
}
});
});
04. Add new markup:
<ul id="pag">
<li><a href="#">Slide nr. 1</a></li>
<li><a href="#">02</a></li>
<ul>
Hélio Correia on 17 Jun, 2009 wrote:
Item 03 (FIX):
$(options.pagination).each(function(i){
$(this).bind('click', i, function(e){
e.preventDefault();
if (i > t) {
t = i-1;
animate('next', true);
}
else if (i < t) {
t = i+1;
animate('prev', true);
}
});
});
Verona on 17 Jun, 2009 wrote:
I have a few feature requests for further revisions! :)
A play/pause for the autoslide would be outstanding.
A thumbnail listing would also be ace. Clicking the thumb swaps the main slide and sliding continues from that point.
Cheers!
okey on 17 Jun, 2009 wrote:
manchurr on 18 Jun, 2009 wrote:
thanks.
Paul on 18 Jun, 2009 wrote:
Kerr McHale on 18 Jun, 2009 wrote:
I'm using multiple instances on one page, so one little change I made to the script, that might be worth considering if you release future versions is to include a "class name" variable for the Previous and Next buttons. In a use like mine, where there are multiple sliders, each with the same styling, it's much more efficient to just style one class that applies to all of them, rather than having to specify each separate ID each time a new instance is added.
Even so, this is the only script that even came close to ease of use with multiple instances. ThanksQ!
Dima on 19 Jun, 2009 wrote:
Thanks
Pierre on 21 Jun, 2009 wrote:
Thanks a lot!!
I have a suggestion : currently when the parameter is set to true, the behaviour of sliding is :
pic1 -> pause -> pic2 -> pause -> pic3 -> pause -> pic2 -> pic1 -> pause -> pic2 -> pause -> ....
It would be great to add a "Pause" on Pic2 when sliding is getting back to pic1 from pic3 :-)
Michael on 22 Jun, 2009 wrote:
Michael on 22 Jun, 2009 wrote:
When I move my stylesheet to internal vs referencing it in an external file every thing works fine. Anyone know a way around this?
Dima on 22 Jun, 2009 wrote:
http://www.position-absolute.com/creation/slideshow/
Danish on 22 Jun, 2009 wrote:
Truly tremendous, I really respect your work and love this plugin
thank you for sharing this...
Tom on 23 Jun, 2009 wrote:
Hassel on 24 Jun, 2009 wrote:
I tested a basic slider and dont work...
Yanxerip on 24 Jun, 2009 wrote:
Ellis Benus on 24 Jun, 2009 wrote:
I wrote a little function and just added a body onload call...
Hopefully you will add this functionality in the future without my clunky way of doing it.
put anywhere in the easySlider1.5.jpg
/*
* if javascript is not enabled only
* the first image in the list will appear
*/
function showAllImgs() {
var obj=document.getElementsByTagName('li'), o, i=0;
while( o = obj[i++] ) {
o.style.display='block';
} // end while
} // end showAllImgs
put in HTML
<body onLoad="showAllImgs();">
Matt van Wyk on 24 Jun, 2009 wrote:
jocuri noi on 26 Jun, 2009 wrote:
Sam on 26 Jun, 2009 wrote:
BrandonSetter on 26 Jun, 2009 wrote:
Patz on 27 Jun, 2009 wrote:
Check this one -
http://bogojoker.com/easySlide/
It doesn't 'rewind' at the end...
satish borkar on 30 Jun, 2009 wrote:
thanks
Ellis Benus on 30 Jun, 2009 wrote:
Lightbox conflicts with easySlider 1.5 because of jQuery.
(http://www.zimmerinteractive.com/tempdeucepub)
I looking into the jQuery.noConflict option, but it does not work.
Help.
DynaGirl on 1 Jul, 2009 wrote: