var o =
{
... the other options...
// detatch the mouse-wheel option each time fancybox adds it (after
pic change)
onComplete = function() { $("#fancybox-
wrap").unbind('mousewheel.fb'); }
}
$.fancybox(...url/urlarray... , o);
I hope it might help someone.
$("a[rel=gallery]").fancybox({
'onComplete' : function() {$("#fancybox-
wrap").unbind('mousewheel.fb');} ,
'hideOnOverlayClick' : true,
'hideOnContentClick' : true,
'transitionIn' : 'fade',
'transitionOut' : 'elastic',
'scrolling' : 'no',
'titleShow' : false,
'showNavArrows' : false,
'padding' : 50
});