Yes, the google.setOnLoadCallback registers a function to be called when the document's onload event first, much as if you were calling something with <body onload="yourFunction();"> The advantage to using google.setOnLoadCallback is that it won't override any existing onload event listeners so that your page *should* continue to work as expected, even if you already had an onload listener set.
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 20, 2009, at 7:21 AM, karthik G wrote: > > Hi, thank you for the reply. > One more doubt is that, what does this "setOnLoadCallback" function > do, is it similar to onLoad function? > > On Feb 19, 4:49 pm, Jeremy Geerdes <[email protected]> wrote: >> Here's the link to the documentation, by the way: >> >> http://code.google.com/apis/ajaxfeeds/documentation/reference.html#Feed >> >> Jeremy R. Geerdes >> Effective website design & development >> Des Moines, IA >> >> For more information or a project quote:http://jgeerdes.home.mchsi.comhttp >> ://jgeerdes.blogspot.comhttp://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, >> athttp://jgeerdes.blogspot.com >> ! >> >> On Feb 18, 2009, at 11:50 PM, karthik G wrote: >> >> >> >>> Hi all, amnewto thisajaxfeeds api, i just tried out the basic >>> example that is used to display the titles of the entries of a feed, >>> but found that the script only retrieves the first four entries/ >>> items, >>> why is it so, is it by default, do we need to set something, some >>> parameter that says the number of items/entries to be listed. > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
