How To Install That Widget?
Piece a cake. Just put the code below somewhere on your blog. You can add it straight to your template or even by adding Html/JavaScript widget on your blog and put the code in it. Or you can also publish a new post and then put the code in it. The code above looks like the below.
<script type="text/javascript">function convert(){var ele1 = document.getElementById("somewhere");var replaced;replaced = ele1.value;replaced = replaced.replace(/&/ig, "&");replaced = replaced.replace(/</ig, "<");replaced = replaced.replace(/>/ig, ">");replaced = replaced.replace(/"/ig, """);replaced = replaced.replace(/±/ig, "±");replaced = replaced.replace(/©/ig, "©");replaced = replaced.replace(/®/ig, "®");replaced = replaced.replace(/ya'll/ig, "ya'll");ele1.value = replaced;}</script><table border="0" cellpadding="0" cellspacing="0" style="width:550px;"><tbody><tr> <td valign="top" width="550"><textarea cols="50" id="somewhere" rows="14" style="background: none repeat scroll 0% 0% rgb(250, 250, 250); border: 2px solid rgb(0, 0, 0);">Insert Html/JavaScript</textarea><input onclick="convert();" type="button" value="convert"/></td> </tr></tbody></table> |
Here is how that widget will look like.
|
That's all everybody. Hope this usefull. :)
nice widget..thank you.very usefull
ReplyDelete