public
Description: A comment traverser to help manage conversations on web pages.
Home | Edit | New

Sorted Commentary

To turn this feature on add the class “sorted-commentary” to the comment list container in your HTML.

This:


   <ol id="comments" class="commentlist">

Becomes:


   <ol id="comments" class="commentlist sorted-commentary">

What it Does?

If you enable sorting than any ‘@responses’ will be lined up after their target comment. The script does not nest comments instead it just appends the comment after it’s target and applies the class ‘response’ to the comment. What this means is that the comments are merely resorted and denoted. Should the author choose to modify the appearance of the denoted comments they may. This is demonstrated in the included demo providing the illusion of a threaded discussion.

Last edited by jimjeffers, Sat Jan 10 00:39:30 -0800 2009
Home | Edit | New
Versions: