PDA

View Full Version : Working on a Widget, need some help




celebi23
Jun 19, 2007, 11:07 PM
Here's something I'm working on. It's based on the AppleCare Sherlock channel. It's got the 5 search options, using the drop down menu. It opens the search results in the deafult browser. I'm trying to create a button (using custom images for on & off phases) to open up a URL (http://www.apple.com/support)

up phase: Images/AppleCare icon.png
down phase: Images/AppleCare icon-pressed.png

I'm trying to make it so that if you click the AppleCare logo on the top of the widget, it looks like you clicked a button (like the default Glass Buttons) & then it loads the Apple Support site in your default browser.

I tried looking at the sample Apple widgets (Voices & Which, available here (http://developer.apple.com/samplecode/AppleApplications/idxDashboard-date.html)) & I still can't seem to get the button to act like a glass button would. Any help would be awesome. Here's the widget itself:

http://www.spymac.com/upload/2007/06/19/GrHXIcCVkK.png

http://www.mediafire.com/?eeedmtoduez