Try using  
gLocalSearch.setResultSetSize(google.search.Search.LARGE_RESULTSET);  
to increase the size of the resultset from 4 to 8.  For the second  
question, you can access up to 64 results for most searchers (only 32  
results with LocalSearch, 8 with BlogSearch) in blocks of 8 by using  
the searcher's gotoPage method, as below:

gLocalSearch.gotoPage(3);

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
[EMAIL PROTECTED]

Unless otherwise noted, any price quotes contained within this  
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights  
Wesleyan Church!




On Nov 29, 2008, at 7:26 PM, Rossy wrote:

>
> Hi,
> I have the following onload function. I know how to change the number
> of results to large using the searcher method but now sure how to get
> 8 results instead of 4 using the following searchform feature.
> My second question is that is there anyway of accessing and storing
> more than 8 results in the result set without using the draw option.
>
> function OnLoad() {
>
>         gSearchForm = new google.search.SearchForm(false,
> document.getElementById("searchform"));
>         gSearchForm.setOnSubmitCallback(null, CaptureForm);
>      gSearchForm.input.focus();
>
>      gLocalSearch = new google.search.LocalSearch();
>
> gLocalSearch.setSearchCompleteCallback(null, OnLocalSearch);
>      gSearchForm.execute("italian restaurants in san diego ");
>    }
>
> Thanks,
> Ross
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to