Hello,
I don't think there is an option for that, not that I seen after a
quick skim of the docs, so maybe try just adding this bit of code
instead.
// over ride the createLink_ control
GFdynamicFeedControl.prototype.createLink_=function(href, text,
opt_target){
var el=document.createElement('span');
el.innerHTML=text;
return el;
};
This will get rid of the links for the results with the arrows beside
them (by replacing them with a span tag instead).
I did see some other things in the script that does not seem to be in
the docs either but have not had a chance to dig into things too
deeply to see whats all going on there.
If your looking to get rid of all the links (like from the displayed
snippets) then you may need to download the gfdynamicfeedcontrol.js
and do some hacking in there.
Hope that helps :)
Cheers!
Vision Jinx
On Apr 9, 10:50 am, Jay <[email protected]> wrote:
> in dynamic feedcontrol how can you remove links in the feed results.
> here is the current code:
>
> function LoadDynamicFeedControl() {
> var feeds = [ {title: '', url:
>
> 'http://domain.rss'}];
> var options = {
> numResults : 2,
> linkTarget : google.feeds.LINK_TARGET_BLANK,
> stacked : false,
> horizontal : false,
> tabbed : true,
> title : "Feed"
> }
>
> new GFdynamicFeedControl(feeds, 'feed-control', options);
> }
>
> // Load the feeds API and set the onload callback.
> google.load('feeds', '1');
> google.setOnLoadCallback(LoadDynamicFeedControl);
> google.setOnLoadCallback(LoadDynamicFeedControl2);
--
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.