Skip to content

Instantly share code, notes, and snippets.

@normansolutions
Created December 3, 2014 09:30
Show Gist options
  • Save normansolutions/f349c9581f85351741e5 to your computer and use it in GitHub Desktop.
Save normansolutions/f349c9581f85351741e5 to your computer and use it in GitHub Desktop.
For use on blog post..
<!--Place the below code snippet just before the closing body tag
in the 'YourFFInstallation\Templates\YourTemplateFolder\defaul.xsl' file.-->
<!--Load Velocity.js - either from CDN (as below) or your preferred location (local etc).-->
<script src="//cdnjs.cloudflare.com/ajax/libs/velocity/1.1.0/velocity.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/velocity/1.1.0/velocity.ui.min.js"></script>
<script>
$(window).load(function () {
var images = $(".STMmenuBar a img ");
images.velocity("transition.flipYIn ", {
stagger: 30,
drag: true
}).delay(750);
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment