{"comment":{"created_at":"2011-10-14T15:09:04Z","body":"The documentation on formatting is outdated. Basically the loading options have been grouped in a loading object. From the source:\r\n\t\tloading: {\r\n\t\t\tfinished: undefined,\r\n\t\t\tfinishedMsg: \"<em>Congratulations, you've reached the end of the internet.</em>\",\r\n\t\t\timg: \"http://www.infinite-scroll.com/loading.gif\",\r\n\t\t\tmsg: null,\r\n\t\t\tmsgText: \"<em>Loading the next set of posts...</em>\",\r\n\t\t\tselector: null,\r\n\t\t\tspeed: 'fast',\r\n\t\t\tstart: undefined\r\n\t\t},\r\n\r\nSo to change the image you'll have to set the appropriate loading option, like this:\r\n$('#content').infinitescroll({\r\n   loading:  {\r\n\t\tmsgText\t\t\t: 'loading text...',\r\n\t\timg\t\t\t\t:  http://www.example.com/path/to/loading.gif'\r\n  } \r\n});\r\n\r\nTo customize the animation you probably have to send a custom loading.start function. Check the source for the default start function after the comment: '// determine loading.start actions'","updated_at":"2011-10-14T15:09:04Z","url":"https://api.github.com/repos/paulirish/infinite-scroll/issues/comments/2407672","id":2407672,"user":{"avatar_url":"https://secure.gravatar.com/avatar/34253940d0487593c3b1336df3f9f168?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"34253940d0487593c3b1336df3f9f168","url":"https://api.github.com/users/claudio5678","id":117713,"login":"claudio5678"}},"action":"created","issue":{"number":91,"created_at":"2011-10-10T08:36:31Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I would like to customize the animation of the loader div and image. One of the loader, namely the last one before showing the Finished Message comes with an animation that expands the div from bottom left to top right.\r\nI've been trying to figure out where in the plug-in that animation happens with no luck. \r\nCan anyone point me in the right direction?","comments":1,"title":"Loading image animation","updated_at":"2011-10-14T15:09:04Z","url":"https://api.github.com/repos/paulirish/infinite-scroll/issues/91","id":1861719,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/bd9b9e2e9014684b597a80ff31f33bbd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"bd9b9e2e9014684b597a80ff31f33bbd","url":"https://api.github.com/users/LuigiClaudio","id":369943,"login":"LuigiClaudio"},"html_url":"https://github.com/paulirish/infinite-scroll/issues/91","labels":[],"state":"open"},"legacy":{"issue_id":1861719,"comment_id":2407672}}