lightbox
lightbox copied to clipboard
Modal resize animation
Hello,
Is possible to add a function that resizes slowly (animation) the modal when the image is loading ?
I tried this but couldn't figure out any nice way of doing it, perhaps you or someone else will have more luck
Inside the
key: '_resize',
I juste add the Tow lines :
$(".modal-content").animate({"height":maxHeight + 89});
$(".modal-dialog").animate({"width":"auto"});
just Before this lines :
this._$lightboxContainer.css('height', maxHeight);
this._$modalDialog.css('width', 'auto').css('maxWidth', width);
I have something almost correct