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 Development

window.widget returning false ?

Author Message
roki13



Joined: 26 Jun 2007
Posts: 2

Posted: Tue Jun 26, 2007 - 4:26 am    Post subject: window.widget returning false ? Reply with quote

Hi all,

I'm trying to use the setPreferenceForKey and preferenceForKey methods of the widget object.
As it was not working, I tried the "if (window.widget)" and this is returning false.
How is this possible ?

thanks,

Seb
View user's profile Send private message Send e-mail Widgets
roki13



Joined: 26 Jun 2007
Posts: 2

Posted: Tue Jun 26, 2007 - 5:05 am    Post subject: Reply with quote

ok, found the problem, I was in an iframe so I needed parent.window...
View user's profile Send private message Send e-mail 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