Try adding the following before you call feedControl.draw

feedControl.setLinkTarget('_top');

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 Mar 10, 2009, at 9:59 AM, [email protected] wrote:

>
> I used the feedcontrol API to output our blog. Then,  I used that code
> to set up a widget but the feed links open up inside the widget
> instead of the full page. I think the answer is to change the links to
> point to _top instead of _self. How do I do that? Here's the code:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
> "http://
> www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml";>
>  <head>
>    <meta http-equiv="content-type" content="text/html; charset=utf-8"/
>>
>    <title>Energy Savers Blog</title>
>
>    <script src="http://www.google.com/jsapi?
> key=ABQIAAAAzt6RYFAlIBPeDkBaxIf-
> dBR2ykX2LsbBNjKr4sXlvvEYRsT4oxR_GrHxJ2z88wROptjil9H-aafHwg"  
> type="text/
> javascript"></script>
>    <script language="Javascript" type="text/javascript">//<![CDATA[
>      // load the AJAX Feed API
>      google.load("feeds", "1");
>
>      function OnLoad() {
>        // create a feed control
>        var feedControl = new google.feeds.FeedControl();
>        feedControl.addFeed("http://feeds2.feedburner.com/
> EnergySavers", "");
>        feedControl.draw(document.getElementById("feedControl"));
>      }
>      google.setOnLoadCallback(OnLoad);
>    //]]>
>    </script>
>       </head>
>  <body>
>    <div id="feedControl">Loading</div>
>  </body>
> </html>
>
> Thanks!
>
>
>
> >


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