Recent Widgets


Register for DashboardWidgets

Recent Forums Posts

Partners


iCompositions

MacDesktops.net

RSS Showcase
RSS Comments
RSS Forums

Search found 7 matches

Author Message
paulx

Replies: 0
Views: 3013

Forum: Widget Development
Posted: Fri Mar 07, 2008 - 3:31 am
Subject: Widget Resizing: How to keep aspect ratio

Hi all,

is there a way to create a resizable widget which always keeps its aspect ratio? (e.g. 3x4)

If so,... how? Smile
I am not that javascript Pro Sad
Can I use Apple's sample code and modify ...

paulx

Replies: 0
Views: 2763

Forum: Widget Development
Posted: Sun Nov 25, 2007 - 1:08 pm
Subject: kind of "display glitch" when flipping widget

Hi all,

I am working on a widget - everything is fine on my MacBook (Tiger) but on an older PowerBook 12" (867Mhz, Tiger) there is minor but ugly display-error when switching between front< ...

paulx

Replies: 9
Views: 11051

Forum: Widget Development
Posted: Tue Nov 20, 2007 - 10:34 am
Subject: How to save two different preferences?

Thanks again!

Is there a way to add / update / delete pre-defined menu-items via Javascript?
I want to make it possible to enable/disable some menu-items by clicking a checkbox.

<option valu ...

paulx

Replies: 9
Views: 11051

Forum: Widget Development
Posted: Fri Nov 16, 2007 - 8:22 pm
Subject: How to save two different preferences?

OK, now I have another basic question:
In javascript is there a way to shorten something like that?:

document.getElementById("div").style.top = "44px";
document.getElementByI ...

paulx

Replies: 9
Views: 11051

Forum: Widget Development
Posted: Fri Nov 16, 2007 - 8:17 pm
Subject: Re: Passing Option Values from HTML to Javascript


Edit: The code I originally submitted had an error in it, which was picked up by paulx. I had myValue instead of myValue.value in the setPreferenceForKey command... I've now fixed it in the code abo ...

paulx

Replies: 9
Views: 11051

Forum: Widget Development
Posted: Thu Nov 15, 2007 - 8:18 am
Subject: How to save two different preferences?

Wow! Thanks a lot!

That was very, very helpful and I figured it out - it works now! Very Happy
But i had to change show(this) to show(value) in the select menu.

However, thanks a lot again! Very Happy


...

paulx

Replies: 9
Views: 11051

Forum: Widget Development
Posted: Tue Nov 13, 2007 - 4:19 pm
Subject: How to save two different preferences?

Hi there,

I have something like that in my widget:

<form id="id" name="name">
<select name="selectname" size=1 onChange="show(this);" i ...

 
Page 1 of 1
Powered by phpBB © 2001, 2002 phpBB Group