diff --git a/README.md b/README.md index e3dca58..f351a17 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ -# AdaptiveSlides.js +# ResponsiveSlides.js ### Responsive slideshow plugin that weights just ~1kb -[AdaptiveSlides.js](http://adaptiveslides.viljamis.com/) is a tiny jQuery plugin that creates a responsive slideshow using images inside a single container. It work with wide range of browsers including all IE versions from IE6 and up. It also adds css max-width support for IE6 and other browsers that don't natively support it. Only dependency is [jQuery](http://jquery.com/) and that all the images are same size. +[ResponsiveSlides.js](http://responsive-slides.viljamis.com/) is a tiny jQuery plugin that creates a responsive slideshow using images inside a single container. It work with wide range of browsers including all IE versions from IE6 and up. It also adds css max-width support for IE6 and other browsers that don't natively support it. Only dependency is [jQuery](http://jquery.com/) and that all the images are same size. -Biggest difference to other responsive slideshow plugins is the file size (~1kb minified and gzipped) + that this one doesn't try to do everything. AdaptiveSlides.js has basically only two different modes: Either it just automatically fades the images, or operates as a responsive image container with pagination to navigate/fade between slides. +Biggest difference to other responsive slideshow plugins is the file size (~1kb minified and gzipped) + that this one doesn't try to do everything. ResponsiveSlides.js has basically only two different modes: Either it just automatically fades the images, or operates as a responsive image container with pagination to navigate/fade between slides. Usage Instructions and demo ====== -For instructions and demo go to [http://adaptiveslides.viljamis.com](http://adaptiveslides.viljamis.com/) +For instructions and demo go to [http://responsive-slides.viljamis.com](http://responsive-slides.viljamis.com/) License diff --git a/adaptiveslides.pack.js b/adaptiveslides.pack.js deleted file mode 100644 index 733486c..0000000 --- a/adaptiveslides.pack.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! AdaptiveSlides.js v1.0. (c) 2011 Viljami Salminen. MIT License. http://adaptiveslides.viljamis.com */ -(function(a){a.fn.adaptiveSlides=function(b){var c={speed:4e3,fade:1e3,auto:true,maxwidth:"none",namespace:"adaptiveSlides"};return this.each(function(){var d=a(this);if(b){a.extend(c,b)}if(d.find("img").length<=1){return}var e=function(){var b=d.find("img");b.each(function(b){var d=a(this);d.attr({id:c.namespace+"_slide"+b})});b.css({top:0,left:0,width:"100%",height:"inherit",position:"absolute"});d.find(":first-child").addClass(c.namespace+"_visible");d.css({"max-width":parseFloat(c.maxwidth),width:"100%",overflow:"hidden",position:"relative"});heightFix=[""].join("");a("head").append(heightFix);if(c.auto===true){d.find("img:gt(0)").hide();setInterval(function(){d.find(":first-child").fadeOut(parseFloat(c.fade)).next("img").fadeIn(parseFloat(c.fade)).addClass(c.namespace+"_visible").end().appendTo(d).removeClass(c.namespace+"_visible")},parseFloat(c.speed))}else{var e=a('