Sowar2

Sowar2 creates an images rotator that can be easily customized



Details

Author
Dirar Abu Kteish
GitHub
dirar/Sowar2
Downloads
541
Category
Widgets
Tags
Report
GitHub Issues

Releases


Dependencies

  • core/1.3:
    • Core
    • Browser
    • Native
    • Array
    • Function
    • Number
    • String
    • Hash
    • Event
    • Class
    • Class.Extras
    • Element
    • Element.Event
    • Element.Style
    • Element.Dimensions
    • Selectors
    • Fx
    • Fx.CSS
    • Fx.Morph
    • DomReady

How to use

  1. Create a main conatiner and a wrapper, inside them create the rotator elements conatiners
  2. Be sure to have the main conatiner position set as absoulte or relative and overflow to hidden and Wrapper positi on to absoulte
  3. Include mootols-core file and Sowar2.js and css file
  4. Create the slider Object
  5. window.addEvent('domready', function(){ var sora2 = new Sowar2('mainElementConatiner'[,options]); });

Options:

  • 'elementsSelector', main element selector, default: '.sowar-element'
  • wrapperSelector, main wrapper selector, default: '#sowar-wrapper'
  • slideShowDelay, default: 3000
  • transition, default: Fx.Transitions.linear
  • transitionDelay, default: 400
  • direction, right or left, default: 'left'
  • elementsWidth, width the elements
  • leftArrow, arrow element
  • rightArrow, arrow element
  • pauseonOver, pause when mouse over, defualt: true
  • autoSlide, autoslide, default: true

Screenshots


Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus