![]() |
Adding "search" text in search box
Hi All,
This is probably a simple question but I am unsure on how to format the text box so it has the term "search" in it and when you click to search the text disappears. Any suggestions? Thanks in advance. |
Re: Adding "search" text in search box
skin1/customer/search.tpl
In the input field code, change... Code:
value="{$search_prefilled.substring|escape}" To... Code:
value="{$lng.lbl_search}" onblur="if(this.value=='') this.value='{$lng.lbl_search}';" onfocus="if(this.value=='{$lng.lbl_search}') this.value='';" |
Re: Adding "search" text in search box
Phil I really appreciate the help it worked perfectly.
A big thank you. |
All times are GMT -8. The time now is 02:11 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.