blog how to, blog trick, blog tips, tutorial blog, blog hack



Monday, May 3, 2010

How To Create Text Area With Highlight Button

Blog How to Tricks - Blog tricks to make the text area at blogger has been discussed and learn here. We can modify the text so that the area can more easily used by visitor.
To make text area with highlight button make it easier for visitors to copy words / code inside the text area.

Let learn blog tricks to make text area with the highlight button.

Simply copy the code below:

<center><div><form name="copy"><div align="center"><input value="Highlight" onclick="javascript:this.form.txt.focus();this.form.txt.select();" type="button">
<textarea rows="1" cols="22" name="txt" >Write your words/code here that will appear inside text area</textarea></div></form></div></center>




Paste in the place where you will place your text area.

The result will be like this:










Try clicking on the button 'Highlight'

So all the code / words inside will automatically selected, and visitors just copy it only.
good luck

Source of :
http://blog-howtotricks.blogspot.com

0 comments:

Post a Comment

 
Powered By Blogger
Powered By Blogger

© Black Newspaper Copyright by Ad Campaign 4U | Template by Blogger Templates | Blog Trick at Blog-HowToTricks