2 Notes
Leave a note
Have a question, please use the MT Forums. Notes sumbitted here should pertain to tips & hints regarding documentation. Your note may be removed once it's contents has be integrated into the body of the page.
Have a question, please use the MT Forums. Notes sumbitted here should pertain to tips & hints regarding documentation. Your note may be removed once it's contents has be integrated into the body of the page.
Copyright 2007 Six Apart Ltd. Some Rights Reserved
Clifton
March 4, 2008 7:51 AM | Reply
Doesn't this need some kind of "else" statement to work properly?
It appears that the example above would append a class name if the condition is met instead of replacing it using one-or-the-other logic.
Byrne Reese
March 4, 2008 8:59 AM | Reply
An Else statement is not required as far as I can tell. The absence of a class is just as telling as the presence of one, right?