Giter Club home page Giter Club logo

jquery.gridnav's Introduction

Grid Navigation Effects with jQuery

jquery.gridnav, presented by Mary Lou on Codrops, is the jQuery plugin for grid navigation through a set of thumbnails. Is perfect for galleries, featured images or what else you want.

Screenshots

Examples

You can see the original examples here

You can download and see the new features on the example/example.html.

What Changed?

Originally the plugin do not provide the option "auto", that is, to see more images you have to click in "next" or "prev" button.

I added a way to do this.

How?

The "timeout" option have to be added when initializing the plugin.

$(function() {
    $('#images-container').gridnav({
        type: {
            timeout: 4000
        }
    });
});

Then, every 4 seconds the images will move automatically.

What others options do I have?

$('#images-container').gridnav({
    rows: 2,
    navL: '#images-container-prev',
    navR: '#images-container-next',
    navDots: '#images-container-dots',
    type: {
        mode: 'sequpdown',
        speed: 400,
        easing: '',
        factor: 50,
        reverse: false
    }
});

The following parameters can be used/set:

  • rows: the number of rows to be shown in the grid
  • navL/navR: the selectors for the previous and next navigation elements
  • navDots: the selectors for dots elements
  • mode: the type of animation; you can use def | fade | seqfade | updown | sequpdown | showhide | disperse | rows
  • speed: the speed of the animation for fade, seqfade, updown, sequpdown, showhide, disperse, rows
  • easing: the easing effect for fade, seqfade, updown, sequpdown, showhide, disperse, rows
  • factor: delay between each item animation for seqfade, sequpdown; amount of pixels the row move when using rows
  • reverse: for reversing the order when using sequpdown

Contributors

These guys help me make it better. Thanks, guys!

@hiryu85 @nbraem

Licence

This plugin can be used freely in personal and commercial projects. But just in case, you should read this http://tympanus.net/codrops/licensing/

jquery.gridnav's People

Contributors

douglasmiranda avatar hiryu85 avatar nbraem avatar

Watchers

 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.