August 12, 2011

How To Make Text Area With Auto highlight on Mouse Over


How To Make Text Area With Auto highlight on Mouse Over

1.Login to your dashboard--> layout- ->Page Elements

2.Click on 'Add a Gadget' on the sidebar.

3.Select 'HTML/Javascript' and add the code given below and click save.

<textarea rows="5" cols="15" onfocus="this.select()" onmouseover="this.focus()" style="display: inline;" name="txt" onclick="this.focus();this.select()">

Enter your text or code here

</textarea>

Note : Replace Enter your text or code here with your text or code

Look at the example below.





Now you are done..

No comments:

Post a Comment