jsor / jcarousel

Riding carousels with jQuery.
https://sorgalla.com/jcarousel/
MIT License
1.99k stars 734 forks source link

error: Unable to get property 'left' of undefined or null reference only IE but not in FF or Chrome #726

Closed k344n0 closed 9 years ago

k344n0 commented 9 years ago

Hi, as stated in the title, I am getting the following error: "Unable to get property 'left' of undefined or null reference".

The error will appear based on the following:

If not page is post back, zooming in and out of the browser or resizing the browser's window does not produce the error. But after a post back (be it from a button click event or what so), zooming in and out of the browser or resizing the browser's window will produce the error.

This problem only occurs in IE, but not in FF or Chrome.

my connected carousels are residing inside a wizard control in an aspx page and the <UL> & <LI> & <img> are loaded dynamically. Jcarousels works almost perfectly fine in my context but currently only this issue is bugging me.

Kindly advise how to remove the function to reposition the carousels on window.resize or is there a better way to resolve this?

thanks in advance.

k344n0 commented 9 years ago

Hi Sir, any updates for this? really appreciate

jsor commented 9 years ago

There's not much i can do without a reproducible test case.