Skip to content

Instantly share code, notes, and snippets.

@yamitake
Created January 28, 2012 17:55
Show Gist options
  • Select an option

  • Save yamitake/1695262 to your computer and use it in GitHub Desktop.

Select an option

Save yamitake/1695262 to your computer and use it in GitHub Desktop.
jquery.fluentgallery tutorial
<!-- 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