Ran into a bug using simplemodal on IE9 where wndw.Width() and .height() as used in the getDimensions function returned zero. This resulted in top/left being set to the wrong numbers, modal being off-center. Corrected by checking in getDimensions that values are > 0 before initializing the w[] array with them.
Ran into a bug using simplemodal on IE9 where wndw.Width() and .height() as used in the getDimensions function returned zero. This resulted in top/left being set to the wrong numbers, modal being off-center. Corrected by checking in getDimensions that values are > 0 before initializing the w[] array with them.