Jazmin Jazmin - 3 years ago 207
HTML Question

Mirror or Reverse a given text and set as HTML Title-Tag

I need to have HTML title as a mirror image of a text.

For example, if my HTML title is "Paint", then it should be like this image.

Paint_mirror_image

Is there a way to achieve this?

Thanks.

Edit: By title, I mean the title of the page that is given in HTML TITLE TAG.

gmo gmo
Answer Source

Yeah... I think it's perfectly possible...
Just need the map of reversed characters and then change the title with javascript or directly in PHP depending on how you want to do it.

So... if you have the array with the reversed map characters like: http://txtn.us/data/transforms.js

just need to:

  1. use that array to replace each character of the actual title
  2. invert the order
  3. replace/create the new title tag
  4. done

Example (only the reverse part) http://txtn.us/mirror-words

Updated

It was a funny proyect so I go further and...
jsfiddle example: http://jsfiddle.net/gmolop/4xyk1ofx/

enter image description here

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download