$(document).ready(function() {$("a#schiebetor").click(function() {$.fancybox.open([], {openEffect:"elastic", openSpeed:150,closeEffect:"elastic", closeSpeed:150,helpers : {title : {type : "inside"},overlay : {css : {"background" : "rgba(238,238,238,0.85)"}}}}); });});