The answer to this question depends very much on what your objectives are. For what you're looking at, having three different searchers will probably be the best solution. If you go with three searches via the same searcher, you'll have to make your three search requests sequentially, rather than simultaneously. That will make your page take longer to load all the images.
Jeremy R. Geerdes Generally Cool Guy Des Moines, IA For more information or a project quote: [email protected] If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Nov 3, 2011, at 10:32 PM, Dipen Chauhan wrote: > I want to show 3 images each of a car, bus and train on a webpage. How can I > achieve this using javascript only? > > imageSearch1.execute("Car"); > imageSearch2.execute("Bus"); > imageSearch3.execute("Train"); > > Is there a better way to do this just by using one Image Search variable > instead of 3 > > -- > 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] > To view this message on the web, visit > https://groups.google.com/d/msg/google-ajax-search-api/-/kGbLJR-K4RQJ > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en -- 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] To view this message on the web, visit http://groups.google.com/group/google-ajax-search-api?hl=en_US For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
