Thread:Jens Ingels/@comment-1330314-20150208202457

Emptylord and I are working on a template called FlipText that, on click, switches between two strings. The main goal is to use them on pp18 lists in champion articles, where the first string is the short form of a non-linear scaling (i.e. just the endpoints) and the second string is the listing of the whole list, complete with texttips and stuff. There are a few problems we ran into:
 * The template can only work once per page, which is apparently a javascript thing. Is there a way to make each use of the template work individually? The javascript method used is here. If that's not possible, would it be possible to have multiple uses of the template flip at the same time on a single page?
 * Using the template makes the text take up its own line, instead of just fitting in normally. Is this a problem with the template or the javascript method? What would fix it?
 * Not a big issue right now, but there seems to be a character limit to the text, which is inherent to titles in HTML. Is there a way to remove or circumvent this limit somehow?

Also, more of an aesthetic question, but how would you go about indicating that the text can be clicked on to flip, bearing in mind that it has to work with other templates and formats (e.g. texttip's dotted underline)? Right now, I found these bookend-ish symbols, but I don't know if that's the best choice. 