Created
January 28, 2012 17:55
-
-
Save yamitake/1695262 to your computer and use it in GitHub Desktop.
jquery.fluentgallery tutorial
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- in head tag --> | |
| <link href="./js/jquery.fluentgallery.css" rel="stylesheet" type="text/css" media="all"> | |
| <!-- need jquery 1.4.0 ~ --> | |
| <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script> | |
| <script type="text/javascript" src="./js/jquery.fluentgallery.js"></script> | |
| <script type="text/javascript"> | |
| $(function(){ | |
| $('#target').fluentgallery(); | |
| }); | |
| </script> | |
| <!-- html add class --> | |
| <div id="target" class="fluentgallery"> | |
| <div class="tile">everything</div> | |
| ・・・・ | |
| </div> | |
| <!-- add elements --> | |
| $('#target').fluentgallery({add:"<div class='tile'>your content</div>"}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment