picozone / simplemodal

Automatically exported from code.google.com/p/simplemodal
0 stars 0 forks source link

Container dimensions bug #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
From Andrew Marcus:

I just upgraded to version 1.3 and discovered that the modal container was
always sizing incorrectly.   You calculate the size of the wrapper using
width() and height(), but this fails to take into account the padding or
margins.

You should be using outerWidth(true) and outerHeight(true) instead.    When
I made this change, it worked beautifully!

Original issue reported on code.google.com by emartin24 on 8 Oct 2009 at 4:35

GoogleCodeExporter commented 8 years ago
Fixed in v1.3.3

Original comment by emartin24 on 4 Nov 2009 at 6:28