$(document).ready(function(){ $(".fancybox").fancybox({ openEffect: "none", closeEffect: "none" }); });