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

  • 下雨天﹐留客天。

    weather : rainy outside : 17.6°C mood : ... 《下雨天留客天留我不留》 Is it 《下雨天留客﹐天留我不留。》? Rainy days are for company. The…

  • Random Childhood Memory: Two on Food

    weather : sunny outside : 20.7°C mood : ... Cafeteria Food I get the impression that it's generally accepted that…

  • 五更腸旺

    weather : light rain outside : 17.6°C mood : ... We've become regulars at a local Taiwanese style eatery. I even have…

  • 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