ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Search Box
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Search Box

 Post Reply Post Reply
Author
Message
cmason View Drop Down
Senior Member
Senior Member


Joined: 18-June-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmason Quote  Post ReplyReply Direct Link To This Post Topic: Search Box
    Posted: 24-December-2008 at 7:55am
I have several search boxes available on a site and the Product search was getting a bit lost. I added a default/initial value of "Product Search" to the text box but it makes users annoyed to have to clear that out so I also added a js clear so that the default/initial value is removed when someone clicks on the text box.

It now looks like this in SmallSearchBox.asp
<input type="Text" name="keyword" size="25" value="PRODUCT SEARCH" id="smallsearchbox" onfocus="this.value = ( this.value == this.defaultValue ) ? '' : this.value;return true;">
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.