Pages

Wednesday, February 24, 2010

ExtJS - Insert image with tooltip

Hi all!

If you want to add an image with a tooltip, you just have to add the "qtip" property to the "img" tag. Ext.QuickTips.init() must have been previously called...

Example:



...



3 comments:

  1. Thanks for that.. Helped me discover that you can use qtip with almost any html tag. I was looking to add a tooltip for a td and it works great!

    you can also do qtitlte for a title and qwidth to set the width of the tooltip.

    ReplyDelete
  2. Thanks a lot. Was not knowing this also works :)

    ReplyDelete