On Jul 23, 2007, at 9:05 AM, Klaus Hartl wrote:


Karl, maybe that's because the title is removed no sooner than the content for the tip is loaded? Just guessing...

absolutely. I think you're spot on with that. Will work on this as soon as I have some time to breathe.

While I was browsing through the code I saw that you're using ids in the cluetip div creation: "cluetip-inner" etc. As this is used several times, that should be classes IMHO. Unless I'm totally off here and you're reusing the same div for all tooltips.

Like you said before, Klaus, you should have known me better. :-D

I took the approach of creating only one cluetip and then replacing its contents when it's shown. look at around line 133:

      if (!$cluetip) {
//one instance of the cluetip elements (container, outer wrapper, inner wrapper, title, etc.) are built in here
      }

Cheers,

--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com


Reply via email to