Blurred overlay/background
-
first of all, thank you so very much for this nice and useful plugin. I just started using it.
The last couple of days I tried to make the overlay background blur based on this lines:$(“fancybox”).fancybox({
beforeShow: function () {
$(“body *:not(#fancybox-overlay, #fancybox-overlay *)”).addClass(“blur”);
},
afterClose: function () {
$(“body *:not(#fancybox-overlay, #fancybox-overlay *)”).removeClass(“blur”);
}
});and of course
.blur {
-webkit-filter: blur(5px)
}But I don’t seem to be able to tweak it into your js. I will admit I’m a supernoob. I hope you can help me.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Blurred overlay/background’ is closed to new replies.