To do what you're wanting, it's going to be easiest to write your own control. In addition to what you can find in the AJAX Search API documentation, methods that you will need to be familiar with include document.createElement(), document.appendChild(), and document.removeChild(). To hold on to the search query, you'll also want to be familiar with what's called a method closure in Javascript, which is essentially a function that returns a function. All of these can be explored via one of the many Javascript tutorials available online. And to get the estimated count (which, by the way, is known to be wildly inconsistent in terms of accuracy), you will need to grab your searchers' .cursor.estimatedResultCount property. The AJAX Search API documentation is linked below:
http://code.google.com/apis/ajaxsearch/documentation Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com http://jgeerdes.blogspot.com http://jgeerdes.wordpress.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! And check out my blog, Adventures in Web Development, at http://jgeerdes.blogspot.com ! On Feb 13, 2009, at 2:45 AM, sitora wrote: > > Hi. > How I can get and write in site’s page, for example, _COUNT_ Search > Results for _SEARCH WORD_ ? And only after this phrase I want to see > search results. > Please answer me.. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
