These are examples from my article, Handy jQuery Plugins/Snippets.

Example 1 - jQuery.fn.otherwise

This is the first paragraph.

This is the second paragraph.

This is the third paragraph.

Example 2 - jQuery.fn.followLink

- try pressing your left arrow
- try pressing your right arrow

Example 3 - jQuery.fromXMLString

Trent is from . View the source to see how it was done.

Example 4 - Open external website links in a new window