>From what you've written, I'm assuming that you're using the Dynamic Feed
Control. In that case, to do what you're wanting, you're going to need to
download and host your own custom copy of the control code. You will then
need to alter the code and point your page to the custom version rather
than Google's. Specifically, you will want to change lines 402-413 (of the
original code). Given what you're trying to do, there are a couple of
options.

OPTION 1: link title
Add the following line before line 408:

link.title = entries[i].contentSnippet;

OPTION 2: toggling HTML element
Step 1: Go ahead and remove (or comment out) lines 402-412, and REPLACE
line 413 with this:

var listEntry = entries[i].listEntry = entries[i].html.cloneNode(1);

Step 2: Somewhere in your CSS (which is loaded AFTER the feed control CSS),
add this:

.gfg-listentry .gf-snippet{ display: none; }
.gfg-listentry:hover .gf-snippet{ display: block; }


To be honest, I would probably go with the second option rather than the
first.

jg





On Sat, Aug 3, 2013 at 5:30 PM, onenak <[email protected]> wrote:

> Hi guys,
>
> I'm trying to figure out how I can create a mouse over/ hover effect the
> vertical stacked google rss feed control; basically, I want to be able to
> hover my mouse over a article title, and a caption comes up showing a
> little snippet of the actual article. I disabled the transition snippet
> because I didn't like it at all, and I want to implement this hover effect
> instead. I am new to js, but am not opposed to learning the basics and
> writing my own script to override if I have to. Any tips or advice on what
> I can do? Thanks in advance.
>
> --
> --
> 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/msgid/google-ajax-search-api/46df881a-d8e5-4f69-9950-89a39b0eab21%40googlegroups.com
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan
Church!
http://www.debraheightswesleyan.org

-- 
-- 
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/msgid/google-ajax-search-api/CAF4cwg82k-28wcmSSQZo91e939id52h2u6HYiqaUpYPS_c9ZSA%40mail.gmail.com
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to