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 |
|
|
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! |
|
mquesada
Joined: 23 Jan 2009 Posts: 3
|
Posted: Fri Jan 23, 2009 - 7:43 pm Post subject: |
|
|
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! |
|