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 Central

HTTP Link from Widget to Browser.

Author Message
WandererII



Joined: 20 Dec 2005
Posts: 2
Location: Melbourne Australia

Posted: Tue Dec 20, 2005 - 9:54 pm    Post subject: HTTP Link from Widget to Browser. Reply with quote

I am calling a web site from within my widget like so...

Code:
javascript:widget.openURL('http://www.infolink.net.au')


It works beautifully, dashboard closes and Safari takes over.

However, I have an embedded web page inside the widget, what I want to do is the same as above, ie link to a web site and have the browser take over, but it does not work.

If I use a regular HTTP link, the site opens inside the widget.

Thanks in advance. Geek
View user's profile Send private message Send e-mail Visit poster's website AIM Address Widgets
jtbandes



Joined: 17 Jun 2005
Posts: 269
Location: Oregon

Posted: Wed Dec 21, 2005 - 12:51 pm    Post subject: Reply with quote

Then can't you just use this?:

<a href="javascript:widget.openURL('http://www.infolink.net.au')">Text</a>

Just a guess...
View user's profile Send private message Send e-mail Widgets
WandererII



Joined: 20 Dec 2005
Posts: 2
Location: Melbourne Australia

Posted: Wed Dec 21, 2005 - 2:00 pm    Post subject: Reply with quote

jtbandes wrote:
Then can't you just use this?:

<a href="javascript:widget.openURL('http://www.infolink.net.au')">Text</a>

Just a guess...


The above works when the Widget calls it, but not when the embedded web page calls it. Mello

Widget available here:
http://www.infolink.net.au/widget/getwidget.htm
View user's profile Send private message Send e-mail Visit poster's website AIM Address 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