List Info

Thread: Re: Customizing the Search box?




Re: Customizing the Search box?
user name
2007-12-24 15:47:48
take a look at these samples. they show you how to position
the search
form and search results.

http://code.google.com/apis/ajaxsearch/sa
mples.html#_placement-control_
http://www.google.com/uds/samples/apidocs/searchfor
mroot.html


On Dec 22, 4:35 am, "jgeerdes [AJAX APIs
"Guru"]"
<jgeer...mchsi.com> wrote:
> Absolutely.  You can build an entirely custom search
form as long as
> you remember two things:
>
> (1) Use the form's onsubmit handler to call a function
that will (a)
> execute your searcher(s) with the relevant input
information and (b)
> stop the actual submission of the form via
preventDefault() AND return
> false (different browsers like different things here).
>
> (2) Your control has to include the Google branding
somewhere.  In
> this case, you'll want to use the GSearch.getBranding()
method, which
> is detailed in the documentation.
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project quote:http://jgeerdes.home.m
chsi.com
> jgeer...mchsi.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google AJAX API" group.
To post to this group, send email to
Google-AJAX-Search-APIgooglegroups.com
To unsubscribe from this group, send email to
Google-AJAX-Search-API-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API
?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )