Hi there. Good to see other churches tinkering with this stuff :)
Anyway, your problem is that you are trying to use unmodified wizard code twice
on the same page. Here's what to do to fix it:
>From the second instance of the control, remove everything but the <div
>id="feed-control">...</div>
Change this div tag that you left there to <div id="feed-control1">...</div>
Find the first instance of the control. Specifically, the line that starts with
new GFDynamicFeedControl(...);
Copy-paste that line so that you have two of them, back-to-back.
In this second line, change just the word feeds to this: [{title:'Click on a
link to read',url:'http://www.cheriwhite.com/feed/'}]
Also change 'feed-control' to 'feed-control1'
Fire it up, and it should work.
Jeremy R. Geerdes
Effective website design & development
Des Moines, IA
For more information or a project quote:
http://jgeerdes.home.mchsi.com
[email protected]
If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!
On Apr 22, 2010, at 9:41 AM, nickd23 wrote:
> Hi, I have very basic knowledge of coding, and am using sharepoint
> designer. I am trying to use the Google Ajax Feed API script, to have
> two different vertical boxes (one for each different feed I am looking
> to display the results for).
>
> The first one loads just fine with the feed. The second one just
> shows 'loading'. I've tried to search through other submitted answers
> and figure out what is wrong, but I am lost. I have a test page where
> you can view the code I have posted. www.cfcomaha.org/test.htm
>
> First section of coding for the 1st feed starts at around line 360.
> For the second section of coding for the 2nd feed starts around line
> 457. I am putting each section of code in their own layer within
> sharepoint designer.
>
> Any help would be greatly appreciated!
>
> --
> 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.
>
--
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.