Prettyphoto pe mobile.

Ca sa fie afisat catus de cat ca lumea si pe mobile pop-up-ul am facut cateva schimbari in jquery.prettyPhoto.js:

Linia 594: imageWidth = (windowWidth – 200); am modificat in imageWidth = (windowWidth – 40);

Linia 597: imageHeight = (windowHeight – 200); am modificat inimageHeight = (windowHeight – 40);

M-am inspirat aici: http://forums.no-margin-for-errors.com/discussion/12359/pretty-photo-overlay-doesnt-fill-entire-screen-on-mobile-devices/p1

Leave a Reply

Your email address will not be published. Required fields are marked *