[jQuery] jCarousel & IE infinite loop alert on browser resize
Hello All,
First off, cheers to the people who develop jQuery and the many
developers that have created plugins for it. Now onto business...
I am developing a webpage that uses ajax calls to insert html code
(pages) into a div. One of those pages is a slideshow which uses
jCarousel. It works great in Firefox, but in IE when I load up the
slideshow and then set the div the slideshow code is in to blank, I'll
try to resize the window and then I get an alert box saying
"jCarousel: No width/height set for items. This will cause an
infinite loop. Aborting...".
I am guessing it is because when I blank out or change the html of the
div the slideshow was in I'm (or IE is) not destroying the jCarousel
object thus it throws me the error. I was wondering if anyone has run
into this problem before, and even better, if anyone knows how to
nullify the jCarousel object. I've tried "$
("#mycarousel").jCarousel() = null but to no avail... Any ideas are
appreciated.
Thanks in Advance,
Benny