Thursday, December 9, 2010

How To Create Text Box in Blogger


Do you want to add text box in blogger? Do you mean like this one?


You can use this code. Just follow this steps. Simple and easy.

Text Box without "Select All" hack.

Use this code :
<textarea rows="5" cols="40" onclick=%u201Djavascript:select()readonly;%u201D>
TEXT
</textarea>


* Change Rows and Cols/column as you like.


Text Box with "Select All" hack.

When you hover your cursor in the text box, it will automatically "Select All" the text in that text box. Use this code :
<form>
<textarea rows="5" cols="40" onClick=select() readonly>This is some text.</textarea>


* Change Rows and Cols/column as you like.


NOTE : To apply this hack, you need to edit it on Edit HTML section not Compose.



DONE! 


Good Luck! :)

Ditulis Oleh : silent screamer // 3:49 PM
Kategori:

2 comments:

  1. Thanks very nice, I have post it on my blog, it is very useful trick. Please visit my blog thanks.
    http://teachblogspot.blogspot.com

    ReplyDelete
  2. THANKS USED IT ON MY BLOG
    http://himanshudureja.blogspot.com/

    ReplyDelete

 

Followers

Sponsor

 
Powered by Blogger.