Giter Site home page Giter Site logo

jquery-slider's Introduction

#jQuery-slider Plugin

The jQuery-slider Plugin provides a simple, adaptable slideshow that is responsive.

Getting Started

Downloading or Forking this repository

Usage Instructions

####Include the CSS & JS style.css can be modified to fit a website design

<link href="css/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/
             jquery/2.1.4/jquery.min.js"></script>
<script src="js/easySlider.js"></script>

####Menu Markup

<div id="slider">
  <ul class="slides">
    <li><img class="responsive" src="http://placehold.it/350x150"></li>
    <li><img class="responsive" src="http://placehold.it/350x150"></li>
    <li><img class="responsive" src="http://placehold.it/350x150"></li>    
  </ul>

  <ul class="controls">
    <li><img src="img/prev.png" alt="previous"></li>
    <li><img src="img/next.png" alt="next"></li>
  </ul>

  <ul class="pagination">
    <li class="active"></li>
    <li></li>
    <li></li>
  </ul>
</div>

####Initialize

<script>
  $(function() {
      $("#slider").easySlider({});
  });
</script>

Default options

There are some customizable options in this plugin using key : value pairs. These are the defaults. Visit jQuery-slider Plugin for description of these properties.

$(".nav-menu").mobilemenu({
    slideSpeed: 500,
    autoSlide: true,
	paginationSpacing: "15px",
	paginationDiameter: "12px",
	paginationPositionFromBottom: "0px",
	controlsClass: ".controls",
	slidesClass: ".slides",
	paginationClass: ".pagination"
});

To see a demo and for more details:

Visit jQuery-slider Plugin.

jquery-slider's People

Contributors

prose100 avatar

Watchers

James Cloos avatar jQuery插件库 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.