Recent Widgets


Register for DashboardWidgets

Recent Forums Posts

Partners


iCompositions

MacDesktops.net

RSS Showcase
RSS Comments
RSS Forums

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. Posted in: Widget Development

Links don't work on widget that display Google Gadget

Author Message
mquesada



Joined: 23 Jan 2009
Posts: 3

Posted: Fri Jan 23, 2009 - 5:59 pm    Post subject: Links don't work on widget that display Google Gadget Reply with quote

I have a dashboard widget that displays a Google Gadget, the Google gadget has some links, but they don't work when running in the dashboard widget.

I have the following Javascript code:

function gadget_setup()

if(window.widget) {

window.open = gadget_open;
}

return 0;
}

function gadget_open(url, frame, style)
{
widget.openURL(url);

return 0;
}

Any thoughts on this one?

Thanks!
View user's profile Send private message Send e-mail Widgets
mquesada



Joined: 23 Jan 2009
Posts: 3

Posted: Fri Jan 23, 2009 - 7:43 pm    Post subject: Reply with quote

Ok, I actually needed to add this code inside the Google Gadget, since GG are loaded inside iframes in the OSX widget.

The problem I have now, is that using widget.openURL loads the page inside the iframe that displays the Google Gadget, any idea how can I open the url but in a new browser window?

Thanks!
View user's profile Send private message Send e-mail Widgets
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

 
Powered by phpBB © 2001, 2002 phpBB Group