Wilq32.RollImage
 

Go back to main page: http://wilq32.blogspot.com/

Rolling Images class written in pure Javascript.

Actual Version: 0.1

Last Relase: 04.04.2008

Author: Wilq32 (Pawel Witkowski) wilq32@gmail.com

 


An Wilq32 Image slider! Isn't that cool?:)

Description:

This is a class to make nice effect found somewhere on web. It allows to chose one image from a round, fake 3d list of images. This class uses only Javascript and HTML. Feel free to use this class on your site, as long as you keep information about who made it (at the beginning of the file).


Use:

new Wilq32.RollImages(ContainerDIV, smoothSpeed, imagesWidth, imagesHeight, widthElipse, heightElipse, imagesList);


- containerDIV - an defined div in document that will be used to put all images into, DIV need to be _initalized before You can use this class.
- smoothSpeed - this parameter defines how fast everything will move corresponding to length from centerVertical,
- imagesWidth - all images will be scaled to this value
- imagesHeight - all images will be scaled to this value
- widthElipse - maximum horizontal distance between images
- heightElipse - maximum vertical distance between images
- imagesList - a List of images in format of object:


example imagesList:

imagesList=[{src:'image.gif', href:'#'},{src:'image2.gif', href:'http://google.com'}]


Parameters that are in imageList:



Known bugs: