Mailing Lists: Apple Mailing Lists

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

Detecting whether or not the plugin has loaded?



I apologize if this is a stupid question, but I searched the archives and didn't find anything...

How do I determine whether or not the widget plugin has loaded successfully? My plugin may or may not load depending on whether or not the user has a certain framework installed in /Library/ Frameworks, and if it didn't load, I want to display an error message in the widget. I already tried checking for "window.widget" and the name of the plugin "variable" and neither did what I want to do.

Also, is there a JS method that gets called if the widget plugin failed to load, and if so, what is it? I noticed that onload() doesn't appear to be called if the widget plugin didn't load for whatever reason.

Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________ 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


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.