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.
Sérgio Soaes 26 Jan, 2009
very beautiful sliders
cheers
Erick 26 Jan, 2009
can't wait to use it on my live site!!
superb work!
sOledad arismendi 26 Jan, 2009
Khaled 26 Jan, 2009
egohavoc 26 Jan, 2009
cssglobe 26 Jan, 2009
Michael 26 Jan, 2009
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. 26 Jan, 2009
Nice demos.
alain 27 Jan, 2009
Colin Scroggins 27 Jan, 2009
Will Paccione 27 Jan, 2009
thanks!
Belinda Clemesha 27 Jan, 2009
Victor 27 Jan, 2009
Nicolas Borda 27 Jan, 2009
Liam Morley 27 Jan, 2009
Also, in Chrome, the 'prevBtn' image doesn't appear unless you click on it. Haven't tried in other browsers.
David Hellmann 27 Jan, 2009
cssglobe 27 Jan, 2009
Markus 27 Jan, 2009
like it
SSV 27 Jan, 2009
Rob 27 Jan, 2009
Thanks alot
Jamie 27 Jan, 2009
Odin Horthe Omdalt 27 Jan, 2009
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 27 Jan, 2009
Geoserv 28 Jan, 2009
This is fantastic Thanks for sharing.
Nathan Eshraghi 28 Jan, 2009
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 28 Jan, 2009
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 28 Jan, 2009
E11World 28 Jan, 2009
fatherb 28 Jan, 2009
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 28 Jan, 2009
Max 29 Jan, 2009
One thing I notice: the prev button does not always appear when it should like it does in Firefox?
joseph 29 Jan, 2009
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 29 Jan, 2009
Netscape 9.0.0.6 (don't laugh:) = no problem
Max 29 Jan, 2009
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 29 Jan, 2009
ah66533 29 Jan, 2009
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 29 Jan, 2009
If You decide to implement this functions I think about your script again :)
Thanks for sharing
Rich 29 Jan, 2009
http://cssglobe.com/lab/easyslider1.5/03.html
Lluria 29 Jan, 2009
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 29 Jan, 2009
kuba 29 Jan, 2009
Geoff 30 Jan, 2009
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 30 Jan, 2009
www.deviantart.com?
Nicolas Borda 30 Jan, 2009
Drew 30 Jan, 2009
slickboyj 30 Jan, 2009
Garrett 31 Jan, 2009
On the other hand I have to say as well that this script is very impressive. Great job.
psyhonut 31 Jan, 2009
Michal 2 Feb, 2009
inosense 2 Feb, 2009
A question - if I make a Joomla! extension out of it - how about the credits for using the script?
andrewthong 2 Feb, 2009
Keith 3 Feb, 2009
i.e. slides moving from 1, 2, 3, 1,... as opposed to "rewinding" 1, 2, 3, 2, 1...
Ben 4 Feb, 2009
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 4 Feb, 2009
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 5 Feb, 2009
Ben 5 Feb, 2009
Jack Boberg 5 Feb, 2009
Sigurbjörn 5 Feb, 2009
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 5 Feb, 2009
Any tips on how I could go about adding this?
Thanks for a great plugin!!
Ed 6 Feb, 2009
chris 6 Feb, 2009
James 7 Feb, 2009
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
????? 8 Feb, 2009
Greg 8 Feb, 2009
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 9 Feb, 2009
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 9 Feb, 2009
Garrett 10 Feb, 2009
Donna 10 Feb, 2009
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 10 Feb, 2009
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 10 Feb, 2009
Vayu 11 Feb, 2009
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 11 Feb, 2009
http://70.96.242.7/~sunstate/restaurant-merchant-accounts.php
fredj 12 Feb, 2009
just thank you for this useful and light script !
thanks again
Jeff 12 Feb, 2009
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 14 Feb, 2009
Bix 15 Feb, 2009
Bix 15 Feb, 2009
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 15 Feb, 2009
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 16 Feb, 2009
Any help would be really appreciated!! Thanks, Donna
ravex 16 Feb, 2009
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 17 Feb, 2009
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 17 Feb, 2009
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 18 Feb, 2009
rahim haji 18 Feb, 2009
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 18 Feb, 2009
Cheers
Donna 19 Feb, 2009
Firenza 19 Feb, 2009
Works with jquery 1.2.6 but any chance of a quick fix for jquery 1.3.1 users?
All the best!
Danny 19 Feb, 2009
kudos for the script!
Jennae Petersen 19 Feb, 2009
$(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 20 Feb, 2009
See it here: http://hibiscuscreative.com
Fransnico 20 Feb, 2009
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 22 Feb, 2009
brian 22 Feb, 2009
Thanks
Taylor Regan 23 Feb, 2009
It's just what I was looking for and adds a nice touch to my website.
Thanks!
Jared Crossley 23 Feb, 2009
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 23 Feb, 2009
I also tried the decimal value & #47; (space added 'cause it looks like the comment system strips out HTML entities). Same problem.
~Jared
GeraldS 23 Feb, 2009
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 23 Feb, 2009
Chanie Pritchard 24 Feb, 2009
Jared Crossley 25 Feb, 2009
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 25 Feb, 2009
Thanks.
Marc 26 Feb, 2009
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 26 Feb, 2009
Miguel 26 Feb, 2009
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 26 Feb, 2009
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 26 Feb, 2009
It's a great and very, very easy to use plugin.
Thanks!!!
Peter 28 Feb, 2009
Andreas 2 Mar, 2009
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 2 Mar, 2009
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 2 Mar, 2009
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 3 Mar, 2009
Ah... browser inconsistencies. Gotta love 'em.
Hesham from Egypt 4 Mar, 2009
I've added a paginator to it and some other stuff.
Editing it was very easy.
Keep the good work.
Orlando Bennington 5 Mar, 2009
I'm just starting with jQuery and that I'll help a lot!
Thank you!
Kevin 5 Mar, 2009
Ravi Kotak 5 Mar, 2009
Thanks
christopher Jack 6 Mar, 2009
Benjamin Reid 6 Mar, 2009
Change XXX to your desired postion
#prevBtn, #nextBtn{ top: XXXpx; }
Bryce 8 Mar, 2009
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 8 Mar, 2009
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 8 Mar, 2009
works in ie but not ff
Anton 8 Mar, 2009
If you add opportunity add text on pictures, it will be superuniversal plagin!
Johnny 9 Mar, 2009
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 9 Mar, 2009
Bokelmann 9 Mar, 2009
(Button1 for slide 1)
(Button1 for slide 2)
(Button1 for slide 3)
etc?
cheers
Mistral 10 Mar, 2009
Wow , thank you so much for this , you're KING !!!!
Regards,
Mistral
Teebek 11 Mar, 2009
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 11 Mar, 2009
Miguel 12 Mar, 2009
Florian 12 Mar, 2009
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 13 Mar, 2009
http://blog.bogojoker.com/2009/01/adding-looping-to-a-content-slider/
wayne 13 Mar, 2009
asaaki 14 Mar, 2009
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 15 Mar, 2009
Martin Miranda 18 Mar, 2009
Thank You
kevin 18 Mar, 2009
$("#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 18 Mar, 2009
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 19 Mar, 2009
**
$(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 20 Mar, 2009
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 20 Mar, 2009
mamjed 20 Mar, 2009
alvaro 23 Mar, 2009
Gabe 23 Mar, 2009
Neil 23 Mar, 2009
One more vote for a continuous scroll; thought 1>2>3>4>1>2>3...
Nebbercracker 23 Mar, 2009
vishal 24 Mar, 2009
Kaya 24 Mar, 2009
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 25 Mar, 2009
Please, help me. I need make this slider for full page (width=100%). How I can do this? Thank's.
EngineHere 27 Mar, 2009
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 27 Mar, 2009
Tyler Henson 27 Mar, 2009
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 28 Mar, 2009
Barry 30 Mar, 2009
Thanks
zeroday 30 Mar, 2009
DDamir 30 Mar, 2009
Pozdrav iz Beograda.
kevin 1 Apr, 2009
I am getting an error on ever page its not on becasue it cant find it.
Hakan Folkesson 2 Apr, 2009
I would like to use this if it would work with nested list items.
Darren Taylor 3 Apr, 2009
zarouk 3 Apr, 2009
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 3 Apr, 2009
jeroen 5 Apr, 2009
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 5 Apr, 2009
How can I put an div inside or make it all a div?
magelover 8 Apr, 2009
irka 8 Apr, 2009
irka 8 Apr, 2009
Peter 8 Apr, 2009
#slider { visibility: hidden; }
and add this to you document ready function just before you invoke the slider:
$('#slider').css('visibility','visible');
Joshua 9 Apr, 2009
ewd 10 Apr, 2009
Eitan 10 Apr, 2009
David 13 Apr, 2009
PF 14 Apr, 2009
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 14 Apr, 2009
I use it to 'feature' a handful of projects from my portfolio on my homepage, check it out here: http://christopher-scott.com
Franky 15 Apr, 2009
osu 16 Apr, 2009
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 16 Apr, 2009
osu 16 Apr, 2009
Thanks for the plugin!
sujit kumar 16 Apr, 2009
Alexandre Broggio (Brasil) 16 Apr, 2009
David Ljunghill 16 Apr, 2009
Concur with a couple of the previous posts - it would be even greater with the possibility to jump directly to a specific slide.
James 16 Apr, 2009
rory 17 Apr, 2009
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 19 Apr, 2009
Tye 20 Apr, 2009
Anselmo Martin 20 Apr, 2009
I have tried to work within a Iframe by design requirements (popup window) but there is no way.
Intends to fix it?
Tanks
Christine 21 Apr, 2009
Jörn 21 Apr, 2009
Ray 22 Apr, 2009
Has anyone come across this?
Cheers - thanks for the plugin too!
jerome 22 Apr, 2009
Thank a lot
sopheak 23 Apr, 2009
Thanks
JR 23 Apr, 2009
"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 23 Apr, 2009
Thanks
andres 26 Apr, 2009
Al 27 Apr, 2009
Oliver 28 Apr, 2009
jeroen 29 Apr, 2009
Josemi 30 Apr, 2009
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 30 Apr, 2009
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 1 May, 2009
Any ideas??
I am using it within a theme written by somebody else if that makes a difference.
thank you
Ivan 4 May, 2009
Thanks anyway! I'm sure in a different instance it'll work - but for some reason this time didn't want to work...
Chad 4 May, 2009
Any help would be greatly appreciated.
F 4 May, 2009
keep up the good work!
xaer8 4 May, 2009
Antonio 6 May, 2009
You can make the effect "fade in" and "fade out" alternatively the Slide Left or Right ?
Thanks
Blair Nichols 6 May, 2009
Bill MacKrell 6 May, 2009
miniMAC 6 May, 2009
Now called "EasySlider" must be "HardSlider"?
Someone has a solution? CSSglobe???
FIREFOX: OK
I.E.: OK
OPERA: OK
STAINELSS: NOT WORK
jialong 8 May, 2009
Thanks
sivas haber 10 May, 2009
Barton 11 May, 2009
Also, I agree with the Hover pause functionality, then it's there!
Keep it up,
Barton.
Tom tom 11 May, 2009
I can still see all the other images in the source but no slider.
Any ideas what can it be?
Paul 12 May, 2009
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 13 May, 2009
Phillip 14 May, 2009
Thanks
jostill 15 May, 2009
Be grateful for some advice.
http://www.andywood.co.uk/jo/enzo
jocuri 15 May, 2009
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 15 May, 2009
Xth 16 May, 2009
Thifu 17 May, 2009
// 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 17 May, 2009
http://boulderfirst.com/test/olafe
jeroen 18 May, 2009
Frank Patterson 18 May, 2009
http://www.fordpas.org/registration/teachers_coordinators/form_v2.asp
jgjax 18 May, 2009
Yes, I'm new to this also.
Thanks.
nicolas 19 May, 2009
safe as milk 19 May, 2009
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 19 May, 2009
sudeep 19 May, 2009
Steve 19 May, 2009
Steve 19 May, 2009
Jon 19 May, 2009
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 20 May, 2009
Apparently Hesham from Egypt added pagination, I wish I was that savvy with Javascript. Alas, I am not quite there yet.
Amit Dixit 20 May, 2009
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 20 May, 2009
Thx for sharing ;-)
Fred 21 May, 2009
I have one question, can I call the next div or prev div programtically instead of a button click.
Regards,
Fred
will jaspers 21 May, 2009
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 21 May, 2009
Cody 22 May, 2009
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 23 May, 2009
dlv 24 May, 2009
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 24 May, 2009
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 24 May, 2009
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 25 May, 2009
thx
Candace Haynes 25 May, 2009
Example below...
http://buildinternet.com/live/boxes/
Ismael 25 May, 2009
Is that possible?
William 25 May, 2009
Candace 26 May, 2009
http://rapidshare.com/files/237262818/easysliderwcaptions.zip
Candace 26 May, 2009
Probably simple but I am frustrated now...
Joe 26 May, 2009
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 27 May, 2009
Alexandre 28 May, 2009
Juan Manuel 29 May, 2009
cleverkid 29 May, 2009
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 29 May, 2009
sorry about that
xchcl 30 May, 2009
jsssc 30 May, 2009
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 30 May, 2009
Is there a way to click on a link and go to a specific slide?
thai 31 May, 2009
Ankit Sabharwal 31 May, 2009
Mike Centola 31 May, 2009
Vassilis Mastorostergios 2 Jun, 2009
Prashant Khanal 2 Jun, 2009
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 3 Jun, 2009
level23design 3 Jun, 2009
JC 3 Jun, 2009
Does anyone know how to make this happen?
jan korbel 3 Jun, 2009
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 4 Jun, 2009
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 4 Jun, 2009
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 9 Jun, 2009
Thanks, Kelli
sivas 10 Jun, 2009
Michele 10 Jun, 2009
Ismael 11 Jun, 2009
Would like to rewind at the beggining feature.
You know how are the clients. =/
vlp 11 Jun, 2009
countocram 11 Jun, 2009
Jeff L 11 Jun, 2009
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 11 Jun, 2009
also - is there a way to have a 'stop' (or pause...) button for this?
Thanks for this great script!
sp 12 Jun, 2009
Ryan Furtner 13 Jun, 2009
http://www.furtzdesigns.com/multitheme/
That is the site im working on and i cant work out why it wont work!
Ryan Furtner 13 Jun, 2009
adam 13 Jun, 2009
http://www.adamatkinson.co.uk
Dgwp 14 Jun, 2009
I´m trying to get endless animation, as well as is describe above, but it is not working, anybody can help me?
Jonathan 15 Jun, 2009
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 15 Jun, 2009
Adam 16 Jun, 2009
Yea if i figure it out I will certainly publish on here
regards
Courtney 16 Jun, 2009
http://www.truenorthe.com/bright/home.html
Mathew Smith 16 Jun, 2009
Hélio Correia 17 Jun, 2009
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 17 Jun, 2009
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 17 Jun, 2009
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 17 Jun, 2009
manchurr 18 Jun, 2009
thanks.
Paul 18 Jun, 2009
Kerr McHale 18 Jun, 2009
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 19 Jun, 2009
Thanks
Pierre 21 Jun, 2009
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 22 Jun, 2009
Michael 22 Jun, 2009
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 22 Jun, 2009
http://www.position-absolute.com/creation/slideshow/
Danish 22 Jun, 2009
Truly tremendous, I really respect your work and love this plugin
thank you for sharing this...
Tom 23 Jun, 2009
Hassel 24 Jun, 2009
I tested a basic slider and dont work...
Yanxerip 24 Jun, 2009
Ellis Benus 24 Jun, 2009
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 24 Jun, 2009
jocuri noi 26 Jun, 2009
Sam 26 Jun, 2009
BrandonSetter 26 Jun, 2009
Patz 27 Jun, 2009
Check this one -
http://bogojoker.com/easySlide/
It doesn't 'rewind' at the end...
satish borkar 30 Jun, 2009
thanks
Ellis Benus 30 Jun, 2009
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 1 Jul, 2009