Is this code on the originating page, or the destination page? 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 Jun 5, 2009, at 6:14 AM, red wrote: > Hello! > I have a problem. I would set Google search form on all pages on my > site and when user send search request system show results in new > page. > Please, instrust me, what I need add to code on initialize() > function. > > function initialize() { > var searchControl = new google.search.SearchControl(); > var options = new google.search.SearcherOptions(); > options.setExpandMode > (google.search.SearchControl.EXPAND_MODE_OPEN); > options.setRoot(document.getElementById("results")); > var siteSearch = new google.search.WebSearch(); > siteSearch.setSiteRestriction("empiresitebuilding.ru"); > searchControl.addSearcher(siteSearch, options); > searchControl.draw(document.getElementById("searchcontrol")); > } > > Подскажите пожалуйста как решить проблему. Хочу чтобы форма поиска > была на всех страницах, а результаты поиска выдались на другой. Уже > неделю голову ломаю. Думаю проблема совсем простая, но никак не могу > найти нужный метод. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
