lightbox misplacement in chrome

37 views
Skip to first unread message

Roberto Broncano

unread,
Apr 11, 2012, 2:56:11 PM4/11/12
to facebox
I was suffering a problem in chrome. With big images, It places with
too much left padding. I solved it rewritting too functions:


function getPageScroll() {
return new Array($('html').scrollLeft(), $
(document).scrollTop());
}

function getPageHeight() {
return $(window).height();
}


Now is even smaller.


Reply all
Reply to author
Forward
0 new messages