Skip to content
Alex Scott edited this page Apr 5, 2015 · 4 revisions

Include Files

To get things up and running, all you will need to include the JavaScript file jquery.animulti.js and the css file jquery.animulti.css, as well as jQuery.

Invoke Plugin

All you need to do is call the plugin inside a $(document).ready function:

$(document).ready(function() {
	$('#aniMulti').aniMulti();
});

It is good practice to place this coode in a seperate file eg animulti.settings.js and simply include this file on each of my AJAX pages. This is so if any parameters need changing or adding, it can be done in one place without needing to edit each page individually.

Clone this wiki locally