Skip to content
MooTools-port of the jQuery pulgin Nivo Slider (
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


The Nivoo-Slider is an image gallery based on the jQuery Plugin NivoSlider ( It features 9 transition effects and there's more to come.

Screenshot 1

How to use

Just include NivooSider.js and the NivooSlider.css to your HTML:

<script type="text/javascript" src="NivooSlider.js"></script>
<link  href="NivooSlider.css" rel="stylesheet" type="text/css" media="screen" />

And the gallery structure:

 <div id="slider">
    <img src="images/image1.jpg" alt="" title="insert text to display a caption" />
    <a href="#hyperlink">
        <img src="images/iamge2.jpg" alt="" title="This image is linked to a great website" />
    <img src="images/image3.jpg" alt="" />

And then initialize the slider using the domready event:


    // The simple way
    new NivooSlider($('slider'));

    // The more advanced way
    new NivooSlider($('slider'), {
        animSpeed: 750,
        effect: 'sliceUpDown',
        interval: 5000,
        slices: 20
        'onFinish': function(){
            // fired after each transition
        'onStart': function(){
            // fired right before each transition



Class: NivooSlider


var slider = new NivooSlider($('myGallery'));


  1. element - (element,string) An Element or the string id of an Element to apply the gallery to.


  • animSpeed - (number: defaults to 500) The time (duration) in ms of the transition
  • autoPlay - (bool: defaults to true) Start the transition automatically after initializing
  • effect - (string: defaults to sliceDown) Type of transition (fade, fold, sliceDownLeft, sliceDownRight, sliceUpDown, sliceUpDownLeft, sliceUpLeft, sliceUpRight),
  • interval - (number: defaults to 3000) Interval in ms between the transitions, needed for autoPlay
  • pauseOnHover - (bool: defaults to true) Clears the interval on mouseover
  • slices - (number: defaults to 15) Number of the vertical slices used for the transition


  • start - (function) Is fired right before each transition
  • finish - (function) Is fired right after each transition

Coming Features

  • horizontal transition effects
  • directional navigation elements


MIT-style license.

Something went wrong with that request. Please try again.