Skip to content

Instantly share code, notes, and snippets.

@smartdeal
Created December 6, 2016 15:52
Show Gist options
  • Save smartdeal/90b09abb62ccbe37736688f9984c0a3d to your computer and use it in GitHub Desktop.
Save smartdeal/90b09abb62ccbe37736688f9984c0a3d to your computer and use it in GitHub Desktop.
Disable scrolling on iphone in fancybox
$('.fancybox').fancybox({
scrolling: 'hidden',
helpers: {
overlay: {
locked: true
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment