Docs Home

sb.flipBook

@File: /surebert/widget/flipBook.js

@Type: constructor

@Description: Loops through a series of images on an interval, each one which open a new site, such as with advertisments


@Param: object params
@Example:
 
var flipper = new sb.widget.flipBook({
    images : [
    { src : 'estrip.jpg', url : 'http://www.estrip.org', alt : 'blog your life'},
    { src : 'yahoo.jpg', url : 'http://www.yahoo.com', alt : 'yahoo'},
    { src : 'cnn.jpg', url : 'http://www.cnn.com', alt : 'watch the new'},
    { src : 'roswellpark.jpg', url : 'http://www.roswellpark.org', alt : 'cure cancer'}]
});

flipper.image.appendTo('#advertisement');