Skip to content

cipherboy/jTiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

jTiles v0.7 - A HTML5 Tile layout with jQuery UI flipping library
Depends: jQuery, jQuery UI

Copyright (C) 2012, 2013 Alex Scheel
All rights reserved.
Licensed under BSD 2 Clause License:

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice,
  this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
    

    
Usage:
  var tiles = new jTiles();
  tiles.init('container-element');
  tiles.addElement('<div class="huge">Front side</div>', '<div class="small">Back Side</div>', 'http://example.com/some/url.html');
  tiles.load();

API:
  Main:
    init(element_id) - initializes jTiles
    
    load() - loads jTiles, starts
    
    addElement(front, back, uri) - adds tile
    
    addBind(function) - Function to execute on bind
    
    addUnbind(function) - Function to execute on unbind
  
  Internal:
    genContent()
    
    processQueue(id)
    
    checkLoop()
    
    display()
    
    bindEvents()
    
    unbindEvents()
    

About

Flipping tiles to display content and links

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors