Git Product home page Git Product logo

ion.imageslider's Introduction

Ion.Image Slider 1.2

English description | Описание на русском

jQuery image slider with lightbox and skin support Project page and demos

Download: ion.imageSlider-1.2.zip


Description

  • Ion.ImageSlider — nice and powerful image slider and lightbox at once.
  • Lightbox supports keyboard controls with ESC, LEFT and RIGHT button.
  • Crossbrowser: Google Chrome, Mozilla Firefox, Opera, Safari, IE(8.0+)
  • Ion.Image Slider supports touch-devices (iPhone, iPad, etc.).
  • Ion.Image Slider freely distributed under terms of MIT licence.

Dependencies

Preparing Images

Thumbnails must be the same height to make slider work correctly. For example, in the attached skins, the height of each thumbnail is 264px, width has no importance. If you want to change this value, you will also need to change the height of the slider in the CSS-skin file.

Using script

Import this libraries:

  • jQuery
  • ion.imageSlider.min.js

And CSS:

  • normalize.min.css - desirable if you have not yet connected one
  • ion.imageSlider.css
  • ion.imageSlider.skinName.css

Don't forget about skin image:

  • iis-skinName-skin-preloader.gif - preloader
  • iis-skinName-skin-preloader.png - skin sprite
  • Or use included PSD file and draw your own skin
  • You can generate preloaders here

Create gallery with the group of links:

<div class="ion-image-slider" id="mySlider">
    <a href="link to large image 1"><img src="link to thumbnail 1" data-caption="Image name, if have one" /></a>
    <a href="link to large image 2"><img src="link to thumbnail 2" /></a>
    ...
    <a href="link to large image N"><img src="link to thumbnail N" data-caption="One more name" /></a>
</div>

Initialize slider:

$("#mySlider").ionImageSlider();

Or initialize slider with custom settings:

$("#mySlider").ionImageSlider({
    zoomText: "Увеличить",                  // text near zoom icon; set "", if don't need
    startFrom: 0,                           // # of start picture
    slideShow: true,                        // enable slide show
    slideShowDelay: 7                       // pause between picture change (if slide show is on)
});

Settings

Property Default Description
zoomText "zoom" Optional property, set custom text near zoom icon or remove it
startFrom 0 Optional property, set slider start image
slideShow true Optional property, enable slide show
slideShowDelay 7 Optional property, pause between picture change (if slide show is on) in seconds

Update history

  • June 26, 2013 - slider release

ion.imageslider's People

Watchers

James Cloos avatar  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.