LJ-Cut Manipulation - Different Text in Different Views
weather | : | partly cloudy | |
outside | : | 12°C | |
mood | : | ![]() | nifty |
--------------------
The above is my LJ username. In the Recent, Friends and Day Views, it will be in English. In the Comment View, it will be in Chinese (which will show up as three rectangles if you don't have Foreign Language Support enabled on your machine).
--------------------
Here's the HTML that does that:
... optional text in all views ... <span style="display: none;"><lj-cut></span> ... text in the Comment View ... <span style="display: none;"></lj-cut></span> ... optional text in all views ... <span style="display: none;"><lj-cut> <span style="display: none;"></lj-cut></span> ... text in the Recent, Friends and Day View ... <span style="display: none;"><lj-cut></span></lj-cut></span> ... optional text in all views ...
Posted to lj_nifty here. I posted it with the English/Chinese LJ username example at first, but it was rejected for being too confusing (it looked like it was showcasing the lj user="..." instead of the lj-cut). I resubmitted it with the names of the views instead. =)