Note: This module was replaced by Typogrify.

This module solves the widow problem using a client-side approach using jQuery. In typesetting, a widow is a single word on a line by itself at the end of a paragraph and is considered bad style.

It was inspired by Shaun Inman's work and uses a modified version of jQuery-Widon't by Dave Cardwell.

The module performs transformations on all the elements which match the following rules:
- #content h1.title
- #content h2.node-title a

I will add the possibility to define the classes yourself soon.

If you don't want to implement the solution with Javascript, I wrote a tutorial on how you can implement it using php here: http://voidberg.org/blog/solving_the_widow_problem_on_your_drupal_websit...

Project Information

Downloads