I would like a snow section where the topic changes dynamically, depending on a parameter in the url or in the myql database.
In the script below I would like to be able to change the parameter "q". Any hints on how to do that? <script src="http://www.google.com/jsapi? key=<key>""></script> <script type="text/javascript"> /* * The Google NewsShow embeds a news slideshow on your page, letting your users see headlines * and previews of Google News Search results, based on queries that you've selected. * * This sample will show how to specify queries for the News Show. * http://code.google.com/apis/ajaxsearch/documentation/newsshow.html */ google.load("elements", "1", {packages : ["newsshow"]}); function onLoad() { // Set the queries to USC Football and NHL var options = { "queryList" : [ { "title" : "Crisi Economica", "q" : "Crisi Economica in Italia" }, { "q" : "Crisi Economica in Italia" } ] } var content = document.getElementById('content'); var newsShow = new google.elements.NewsShow(content, options); } google.setOnLoadCallback(onLoad); </script> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
