Open GoogleCodeExporter opened 9 years ago
Ok, nevermind, what I said that solved it didn't really solve anything..
Original comment by fox...@gmail.com
on 24 Aug 2010 at 1:39
Can you try the latest version (1.4.1) and let me know if you are still having
issue...
http://code.google.com/p/simplemodal/downloads/list
Original comment by emartin24
on 5 Nov 2010 at 10:45
I have the same problem with 1.4.1.
I used simplemodal for something like simple image gallery consists of large
image and clickable thumbnails changing the large picture.
1st wrong resizing - on modal.open (inner content includes floating divs)
2nd - on resizing of modal block (changing the picture)
Original comment by npavliuc...@terricone.com
on 2 Dec 2011 at 8:36
I have the same problem with 1.4.2, but I've made some workaround.
The centering algorithm doesn't know the correct size of the image, so it fails.
If you pre-load the image before create the modal box using the load event from
the image, it will center correctly.
var IMAGE = ""; // the image url
$("<img src='" + IMAGE + "'>").load(function(){
$('#dialog').empty().append($(this)).modal();
});
Original comment by NightArc...@gmail.com
on 23 Dec 2011 at 2:07
Original issue reported on code.google.com by
fox...@gmail.com
on 23 Aug 2010 at 8:19