Well, the good news is that what you're wanting to do is possible. The  
bad news is that you'll have to do some rewriting of the JS file to  
get it done.

What you need to do is download the gfdynamicfeedcontrol.js file and  
find in it the line reading as below:

GFdynamicFeedControl.prototype.createListEntries_ =  
function(resultIndex, node) {

A couple of lines below that, there's a line reading  
this.feedControl.createHtml(entries[i]);  This is the line where the  
elements that will be displayed with contentSnippet (i.e., the  
previews that flash by in the vertical/stacked configuration) are  
generated. If you want to display the complete content of the item  
there, you will have to modify this line to point to a function (which  
you will have to add to the file) which will accept as an argument an  
entry object, utilize DOM methods (e.g., document.createElement,  
element.appendChild) to build the html node you want, and make the  
newly-created node the entry's .html property.

The lines below this, down to the line reading  
node.appendChild(listEntry), generate the links which are displayed in  
list format or flashed in vertical/stacked mode or flashed across in  
horizontal mode. If you're wanting to display the complete content  
there, you'll need to do something similar to what I described above,  
replacing these lines with your own code that generates the node that  
you want to use.

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 Sep 2, 2009, at 11:33 PM, jc wrote:

>
> I am trying to do something quick and dirty to use the dynamic feed
> control to display the full content of the selected entry rather than
> just the contentSnippet.
>
> What is the simplest way to do this?  (I am hoping there is a CSS
> class or an option I missed that will magically make it appear).  It
> looks like I either need to do a transitionCallback and use CSS to
> turn off the existing selected entry display.
>
> Thanks for any help or suggestions,
>
> John
>
> >


--~--~---------~--~----~------------~-------~--~----~
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