The Bride of the First House (bride) wrote,
The Bride of the First House

LJ-Cut Manipulation - Different Text in Different Views

weather: partly cloudy
outside: 12°C
mood: nifty
timwi was playing with this today and I thought it was rather 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. =)

Tags: nerdy

  • Big Ol' Update

    weather : light rain outside : 14°C mood : ... Have I seriously not written since July? PJ caught up with me recently…

  • How Walkable Is Your Neighbourhood?

    Some Walkable Locations: Some stores and amenities are within walking distance, but many everyday trips still require a car. How walkable…

  • Lin Manor

    weather : light rain outside : 14.6°C mood : calm I asked shashin to take a set of keepsake photos of our…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment