DeltaDeuce
New Member
I am using fancyBox to load Ajax content as:\[code\]<a href="http://stackoverflow.com/example.html" class="fancybox fancybox.ajax">Example</a><script>$(document).ready(function() { $('.fancybox').fancybox();});</script>\[/code\]The documentation says that you can prevent outside scrolling if you set:\[code\]scrollOutside = false\[/code\]But this does not work when loading ajax content.How can I prevent that the scrolling outside of the fancyBox does not appear when the fancyBox is visible?