项目作者: jsvgoncalves

项目描述 :
Basic HTML5 slider.
高级语言: JavaScript
项目地址: git://github.com/jsvgoncalves/margin-slider.git
创建时间: 2013-01-16T14:14:15Z
项目社区:https://github.com/jsvgoncalves/margin-slider

开源协议:

下载


margin-slider

DOI

Basic HTML5 slider done with margin-left and jQuery animate.

Installation

  1. Download the code.
  2. Copy both js/marginslider.js and css/marginslider.css to your project.
  3. Add classes to your marginslider, marginslider_container, left-arrow and right-arrow appropriately or configure the MarginSlider.init().
  4. Call the slider with MarginSlider.init( options ); (I recommend only calling it after all the DOM has loaded, you can do so with $(window).load(function(){ .. });.
  5. That’s it!

More information can be found at http://jsvgoncalves.github.io/margin-slider