I was working on my website called WeLikeThat the other day and i was trying to think of ways to get more people to create their favourite like messages when viewing the website. I opened up a new browser window and my homepage Google appeared and i noticed that as soon as the page loads the search box is automatically active allowing me to type a search term in straight away.
I immediately did a bit of research to find out how to make my Text Area Like Box active as soon as a visitor hits the page and it’s really very simple!
Works On Text Fields and Text Areas
The following example is a text field in a form
<form name="myform"> <input type="text" name="mytextfield"> </form>
Then simple add the following code to your
tag altering the form and field names to your own.<body OnLoad="document.myform.mytextfield.focus();">
Very simple HTML that increased the number of likes created on my website by 200%! I think that by making the Text Area active it just encouraged my users to create a message. Just shows how small website changes can make a big difference.
Nick











Pingback: Tweets that mention How Making a Text Area Automatically Active Increased Productivity -- Topsy.com