I personally use a google service for that (not sure actually if this is
legal)

You could simply add something like:
<img class="favicon" src="
http://www.google.com/s2/favicons?domain=${url.domain}";>

And in your css:
.favicon {
    display:none
}

.favicon:hover {
    display: inline
}


On Thu, Jan 14, 2010 at 4:38 AM, 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]<google-ajax-search-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-ajax-search-api?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].
For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to