Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Click a link and the flip-over animation dies...?



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

References: 
 >Click a link and the flip-over animation dies...? (From: Blake Patterson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.