April 12, 2008
1:34 am

John Dyer implemented the much asked for upside down text JavaScript: — “There is a huge need for upside down text on the web. With everyone “going mobile,” developers cannot simply rely on users having their screens oriented the same way all the time. I went through all of the possible options for creating upside down text and finally came up with a totally unobtrusive, Unicode enabled, completely web-changing piece of code (which is mostly from someone else and using this and this).”

To code this, give your HTML element a class called “upsidedowntext” and add the script in the header and you have pure greatness:

[html]

I can be read in any orientation
I can be read in any orientation
This is Tom Cruise taking your picture
This is a boring Russian Mig

[/html]

Result:

uoıʇÉ?ʇuÇ?ıɹo ÊŽuÉ? uı pÉ?Ç?ɹ Ç?q uÉ?É” ı
I can be read in any orientation

Ç?ɹnʇɔıd ɹnoÊŽ ƃuıʞÉ?ʇ Ç?sınɹɔ ɯoʇ sı sıɥʇ
This is a boring Russian Mig

Upside Down Text

JavaScript, Library

Related Posts:

2 Responses | RSS comments on this post | Leave a comment»

  1. 1
    DG says#2 | April 13th, 2008 at 1:40 am

    Depend on your requirement.

  2. 2
    Binny V A says#1 | April 12th, 2008 at 1:19 pm

    Interesting - but practically useless.

No trackback/pingback yet

TrackBack URI

Leave a Response

Comment Preview
« Export Options in Google NotebookYahoo! Search Marketing: Minimum bid change expected next week »
Feed Icon

Subscribe via RSS or email: