| 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. |
|
|
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.  |
|
| |
|
| |
jtbandes

Joined: 17 Jun 2005 Posts: 269 Location: Oregon
|
| Posted: Wed Dec 21, 2005 - 12:51 pm Post subject: |
|
|
Then can't you just use this?:
<a href="javascript:widget.openURL('http://www.infolink.net.au')">Text</a>
Just a guess... |
|
| |
|
| |
WandererII

Joined: 20 Dec 2005 Posts: 2 Location: Melbourne Australia
|
| Posted: Wed Dec 21, 2005 - 2:00 pm Post subject: |
|
|
| 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.
Widget available here:
http://www.infolink.net.au/widget/getwidget.htm |
|
| |
|
| |