PDA

View Full Version : Enhanced tooltip/popup


buzz
11-17-2006, 06:49 PM
Jack,
Do you have any plans on building an enhanced tooltip, similar to what Netflix uses when displaying the summary of a movie.

http://www.netflix.com/BrowseSelection?lnkctr=nmhbs

Just place the mouse over any movie to see the popup.

tryanDLS
11-17-2006, 07:07 PM
Not Jack, but since a tooltip is just another HTML element, it would be pretty easy for you to implement. All you have to do is come up with the layout/CSS for a tooltip and put that into the innnerHTML/Dom of the tooltip object.

There are examples all over the web featuring fancy tooltips - heck you could probably borrow Netflix's ;)

jack.slocum
11-17-2006, 10:15 PM
I think Dustin Diaz has some nice tooltip code based on YUI too.

http://www.dustindiaz.com

Animal
11-18-2006, 02:01 AM
There's already a tooltip in the base YUI classes

Check YAHOO.widget.Tooltip at http://www.yui-ext.com/docs/

say2paul
06-10-2008, 01:09 AM
Not Jack, but since a tooltip is just another HTML element, it would be pretty easy for you to implement. All you have to do is come up with the layout/CSS for a tooltip and put that into the innnerHTML/Dom of the tooltip object.

There are examples all over the web featuring fancy tooltips - heck you could probably borrow Netflix's ;)

You are right and I'd designed my tooltip like that. But one thing missing in that is I am unable to make tooltip hide when user takes mouse cursor away from the tooltip window.