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??
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??
You can disable title helper -
$(".fancybox").fancybox({
helpers: {
title: null
}
});
I used this css to hide title:
#fancybox-title-float-wrap {
display: none;
}
In CSS file: give visibility:hidden
in
fancybox-title-float-left,
fancybox-title-float-main,
fancybox-title-float-right,
If you just delete the title attribute from the the anchor tag there is not title shown. Doesn't that work for you?
I had to rip out the line of code that appends the title as I could find no way of doing it using the API..
c.appendTo("over"===b.type?a.inner:"outside"===b.type?a.wrap:a.outer)
in the .css file, change:
.fancybox-opened .fancybox-title {
visibility: visible;
}
to
.fancybox-opened .fancybox-title {
visibility: hidden;
}
Tested on 2.0.5.
title: null
I have checked it and it works for me.