ajw_comment_alt
Requires 1.0RC3 (rev 180+)
Alternates output based on even- or odd-numbered comments. Intended usage is from within default comment form.
Attributes
- even (optional)
- odd (optional)
Examples
Ideally, this is meant to be used in your default comment form. While it is possible to use this plugin with the default <ol> formatting of comments, you’ll be able to do much more fun things if you switch off numbered list formatting in admin->preferences.
Ex. 1
<div class="<txp:ajw_comment_alt />">
...other comment form stuff...
</div>Result:
<div class="odd">
...other comment form stuff...
</div>
<div class="even">
...other comment form stuff...
</div>
Ex. 2
<div class="<txp:ajw_comment_alt even="foo" odd="bar" />">
...other comment form stuff...
</div>Result:
<div class="foo">
...other comment form stuff...
</div>
<div class="bar">
...other comment form stuff...
</div>









If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:
Commented (2)
<a href=“http://code.knopok.net/alt-codes.html”>Alt codes</a>
http://code.knopok.net/alt-codes.html
Subscribe to this article's comments RSS feed. [ ? ] View Recent Comments across the site.