How To Hide The Close Button Automatically On Fancybox
- Forums
- Javascipt
- How To Hide The Close Button Automatically On Fancybox
this short tutorial will show you how to hide the close button on fancybox using jquery code [849], Last Updated: Sat May 18, 2024
wallpaperama
Wed May 02, 2012
0 Comments
1135 Visits
today i was wondering how i can hide the close button on fancybox.
there are two ways:
set modal to false like this:
modal:false,
example:
$(".fancybox-thumb").fancybox({
modal:false
});
i wanted to close the x close button from my ajax, so all you have to do is use this function:
$(".fancybox-close").hide();
hope that helps