[jQuery] Re: Odd behavior calling height() or width() on a page with flash content

2008-01-07 Thread Tobias Parent

Yep, that did it. I guess it'd be a good idea to keep up to date on
the changelogs...

Thanks, Karl!

 - Toby


[jQuery] Re: Odd behavior calling height() or width() on a page with flash content

2008-01-07 Thread Karl Swedberg


Hi Tobias,

Sorry you're experiencing that weird problem!

I have a workaround in clueTip that allows you to set a different  
parent element for the cluetip div to be inserted into, but it looks  
like the Flash reset bug has been fixed in recent svn versions of  
jquery.js:


http://dev.jquery.com/ticket/1415

If you can't use an svn version, check out the  
$.cluetip.setup(options) info here:


http://plugins.learningjquery.com/cluetip/#options

I should really add something about this on the plugin documentation's  
faq page.


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



On Jan 7, 2008, at 12:53 PM, Tobias Parent wrote:



OK, this is strange, at best. I'm trying to use the clueTip plugin for
some titles on a page that plays video content in a flash player, in
the event that the title has exceeded a given length. clueTip works
fine, but it's triggering a redraw of the flash content in FF. Working
fine in IE.

I think I've narrowed the problem down somewhat - in testing, I can
check the height() / width() of pre-existing content, but if I create
a div and check its height() / width(), the redraw is triggered.

Am I going slowly mad, or is this something anybody else has seen?