You'll notice it's not just the flip over thing but everythign
releated to the widget object. You'll see this behavious exhibited
when sending forms and using reload() etc - basically anything that
would change the location of a page when used as an actual web site.
To prevent losing the 'widgetness', just stop the 'page' from
changing. In you're case a simple
<a href="http://www.site.com" onclick="someFunction(this.href); return
false">Linky</a>
would work. Notice it's the return false part stopping the default
behaviour from occuring. event.preventDefault() is also useful.
I'm sure a more elegant soluion will present itself in the future.
Chris.
On 6/3/05, Blake Patterson <email@hidden> wrote:
> I am having a problem just when I thought my widget was ready for
> release. I had not noticed this before so not sure when this came
> into the mix.
>
> When you click a weblink (which triggers widget.openURL - and yes my
> plist is setup to access the network) it loads the page fine in a
> browser on the desktop. After that first click, no other click
> triggers a URL open AND when you click the info icon, the rear of the
> widget IMMEDIATELY appears, no animation. Anim is fine before the
> first click.
>
> No idea what this could be. I have my links setup as <a href=""
> class="loadPageFunc(pageid)"...>
>
> Please help! Anyone seen this before? Thanks!
>
>
>
>
>
>
> bp
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Dashboard-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/dashboard-dev/email@hidden
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden
This email sent to email@hidden