Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I hide the title as default in the new version of fancybox

The previous version had a 'titleShow': false, setting, however it seems to have been removed for the new version.

I know I can hide it programmatically using jquery but I'd prefer to use a built in feature to remove it??

like image 398
lisburnite Avatar asked Nov 24 '11 14:11

lisburnite


2 Answers

You can disable title helper -

$(".fancybox").fancybox({
    helpers: { 
        title: null
    }
});
like image 163
Janis Avatar answered Oct 02 '22 22:10

Janis


Top disable the title;

$(".fancybox").fancybox({ helpers: { title: false } });

like image 29
Meg Ann Avatar answered Oct 02 '22 22:10

Meg Ann