A jQuery plugin for eliminating typographical orphans on select text elements.
What are orphans?
An orphan is a single word that appears by itself at the end of a paragraph. This script finds the last two words of a selected element and joins them together with a non-breaking space.
For more information, check out this Wikipedia entry.
How to use it?
Include the plugin after loading jQuery.
Then to activate the plugin add the following code to your own js file.
You can provide a list of elements you want deOrphan'd as well.