Hi, Sounds like you may need to have the search control return the raw data and parse it yourself to include the code for the desired effect, but if your going to be parsing the data yourself then you can probably just use the RESTful aspects of the api (JSON/JSONP) and add the desired code when parsing the JSON data. The second method would probably not be any more work and would probably create a bit more lightweight app since there wont be any need to load Googles scripts and css. You can also take your custom code and run it through jsmin or closure compiler etc to compress it even more.
Otherwise you would probably have to wait for the rendered results to load/display then add another callback handler to parse the rendered data and add your custom code to it which would be a bit of a clunky and undesirable approach. Cheers! Vision Jinx On Jan 13, 8:38 pm, vin <[email protected]> wrote: > Using the google ajax api, Im trying to insert an icon next to the > headline of each search result that will allow users of our > application to open a result in a new tab. Do you know of a way to > accomplish this (maybe append some html next to each result)? > > The goal is to display this icon only when a user is hovering their > mouse over a search result, so they only see one icon; not an icon > next to every search result...as the user moves their mouse to the > next result, the icon appears next to that respective result headline. > > Any ideas? > > Thanks, > -Vin
-- 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.
