Open GoogleCodeExporter opened 9 years ago
but this code will run
jQuery(function ($) {
// Load dialog on page load
//$('#basic-modal-content').modal();
// Load dialog on click
$('#basic-modal .basic').click(function (e) {
$('#basic-modal-content').modal();
$.modal.close();
setTimeout(function(){
$('#basic-modal-content').modal();
}, 500);
return false;
});
});
Original comment by kvo.s...@gmail.com
on 13 May 2011 at 10:33
There is an issue with a setTimeout in the close function (which was there to
fix an Opera issue).
Until I can fix the issue, there are a couple of possible fixes:
http://stackoverflow.com/questions/4870465/click-link-in-simple-modal-to-open-ne
w-simple-modal
http://stackoverflow.com/questions/5406576/simplemodal-calling-modal-on-the-same
-element/5408785#5408785
Original comment by emartin24
on 17 May 2011 at 4:03
maybe jquery.queue can solve the problem
Original comment by kvo.s...@gmail.com
on 20 May 2011 at 3:35
i was also facing the same problem to reopen the div than i set the time out
$('#basic-modal-content').modal();
$.modal.close();
setTimeout(function(){$('#basic-modal-content').modal();},0);
$('#basic-modal-content').modal();
and it worked for me ...........also......
Original comment by rahul123...@gmail.com
on 13 Jul 2011 at 5:51
Original issue reported on code.google.com by
kvo.s...@gmail.com
on 13 May 2011 at 10:30