Products/Services Website Design DNN Web Hosting Bespoke Software Solutions
Spotlight Business Made Simple Credica Wilson Chauffeur Services Lysander Whitegrove FC Ultramagic Bracklesham Boardriders Johns Motors
DotNetNuke Modules janet.Articles janet.ReferMe! janet.Menu janet.Gallery janet.Guestbook janet.GoogleAds janet.Marquee
DotNetNuke Skins janet.VeniceGrandCanal janet.ParisSkyline janet.ColourBar
Articles HTML Javascript ASP .net DotNetNuke Web Robots
Sometimes when designing a web page we may take the decision to place the instructions associated with a text box inside it. This takes up less space on the page and can make the intent of the box clearer. For example:
<input type="text" value="Search" ID="Text1" NAME="tbxSearch">
Now the user knows the purpose of the text box and the type of content to be entered. However, first the existing text must be deleted, before adding the required values. We can improve on this situation with a small piece of javascript to blank the content of the text box when a mouse is clicked inside it.
<input type="text" id= "tbxSearch" value="Search" OnClick=" this.value=''">
NAT February 2006
Copyright © 2004-2007 Janet Systems Ltd.
DotNetNuke Website design and hosting from £15.00 per month. More...
Looking for a website design company in the Thames Valley, call us on 01628 566178
DotNetNuke ModulesDotNetNuke Skins
from Janet Systems