In fancyBox 2 I use topRatio : 0, this propery move fancyBox at top, then I used jQuery().css() to put it where I want. Example:
1 2 3 4 5 6 7 8 9 10 11 |
$("#myfancy").fancybox({ maxWidth : 800, maxHeight : 600, fitToView : true, autoSize : false, topRatio : 0, hideOnOverlayClick : false, afterShow: function(){ jQuery(".fancybox-wrap").css({"top":0, "margin-top":"100px"}); } }); |



