moreLink is a jQuery plugin written by me that handles the 'More' links of a WordPress site by fetching the linked post via AJAX without refreshing the page.
Base usage
$('a.more-link').moreLink(options);
Options
target
- The CSS selector that identifies your post wrapper in the target page (e.g.
div.post
). parent
- The outermost parent of the link in the current page.
loader
- The full path to the animated GIF used while the fetched post is loading.
loaderStyles
- The CSS styles given as an object to the
css()
method to stylize the animated spinner.