WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

OnLoad'er

A shortcode for loading content via AJAX on page load with a spinning load indicator.

I get a JavaScript error, "Access to restricted URI denied"

Because of the browser/JavaScript security model, it is not possible to load content from other sites, only from the same domain the OnLoad'er script itself is located on.

A proxy service will be added to a later version of the plugin.

How can I test that it works?

Add the shortcode [onloader href="demo"] to a page, and hit preview. You should see the spinning load indicator, and after a few seconds the message "You are seeing the output of the OnLoad'er demo script. Everything worked!".

Can I use more than one on a single page

Certainly. If you are loading content from distinct URLs, it should "just work", otherwise add id attributes with suitable values to make it possible to tell them apart.

Another question?

If your question isn't answered here, please do leave a comment in the forum or on the plugin's homepage: http://www.mfd-consult.dk/onloader

Requires: 2.8 or higher
Compatible up to: 2.8
Last Updated: 2009-7-6
Downloads: 737

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1