[pmwiki-users] searchbox that clears

adam overton a at plus1plus1plus.org
Tue Apr 10 01:58:49 CDT 2012


super! thanks! i'll check it out!
: )


On 9 Apr 2012, at 12:31 AM, Hans Bracker wrote:

> Hi Adam,
> 
> Monday, April 9, 2012, 1:58:24 AM, you wrote:
>> i want to make a searchbox that says "search" in the field, but
>> that then automatically clears when it's clicked upon. i only want
>> this for the searchbox on some pages, not all.
> 
>> is there away to make this happen with (:searchbox:)? or with
>> regular (:input:)'s? i can't figure it out.
> 
> FixFlow and Gemini skins use such a searchbox.
> It is implemented via a modified SearchBox function and modified
> markup for (:searchbox:).
> It is in its own php script searchbox2.php, which you find in the
> skins zip file. Just copy that file and include it for the Groups or
> Pages you need it.
> It uses onfocus and onblur events.
> You should see it working on pmwiki.org on the Fixflow and Gemini
> skins page.
> 
> 
> Best regards,
> Hans   
> www.softflow.co.uk
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20120409/c8d46042/attachment.html>


More information about the pmwiki-users mailing list