PDA

View Full Version : Hiding a Search Box Until onHover in Dashcode




iFrizzle
Apr 10, 2008, 02:32 PM
Hey all,

I'm creating a really simple widget that searches in IMDB from your Dashboard. I'm trying to duplicate one that stopped working with the release of Leopard. It works as it should, but now I'm trying to make it look pretty.

Here's my issue:
The widget is basically just the IMDB "ticket" logo with a search box overlayed on it. In the old widget, the search box was hidden unless you clicked on the ticket. When you clicked away from it (on another widget or in blank space on the Dashboard), the search field would disappear. I want to have it so that all you have to do is hover over it to make it appear, but click away to make it disappear.

How could I accomplish that? I'd additionally like to, if possible, have the search box fade in and out when it (dis)appears.

Thanks in advance.