What steps will reproduce the problem?
1. Create a page larger than the viewport
2. Show the fancybox
3.
What is the expected output? What do you see instead?
Expected fb to show in center of viewport, instead it's show in center of the
page
What version of the product are you using? On what operating system?
1.3.1 on OS X
Please provide any additional information below.
Can be fixed by changing get_viewport:
fancybox_get_viewport = function() {
var w = $.browser.safari ?
document.documentElement.clientWidth : $(window).width()
var h = $.browser.safari ?
document.documentElement.clientHeight : $(window).height()
return [w,h, $(document).scrollLeft(), $(document).scrollTop()
];
},
Original issue reported on code.google.com by jepp...@gmail.com on 25 Mar 2010 at 12:20
Original issue reported on code.google.com by
jepp...@gmail.com
on 25 Mar 2010 at 12:20