Jump to content

Working on a Widget


5 posts in this topic

Recommended Posts

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 ) & 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:

 

GrHXIcCVkK.png

 

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

Link to comment
Share on other sites

  • 4 weeks later...

Isn't there an onclick event? If so, you could do something like "action on.click me.image = press.png" or something similar to that.

Link to comment
Share on other sites

 Share

×
×
  • Create New...