I am setting the title to NULL but it stills appears as big heading above
the lightbox in both firefox, internet explorer. I am using Version 1.5.2
HTML CODE
<a href="#georgioupoli" title="Διαβάστε περισσότερα για τη Γεωργιούπολη"
class="nyroModal"><img src="images/georg.jpg" width="106" height="26"
border="0" /></a>
JAVASCRIPT CODE
$(document).ready(function(){
$('#container a').nyroModal(
{closeButton: '<a href="#" class="nyroModalClose" id="closeBut"
title="close"><span style="color: #FFFFFF">Close</span></a>',
title: null}
);
});
The reason is the title is retrieved from the element clicked at the beginning of processModal, i.e. it's overwritte the null value. To solve your problem, you could use the processHandler to set it to null like: $(document).ready(function(){ $('#container a').nyroModal({ closeButton: '<a href="#" class="nyroModalClose" id="closeBut" title="close"><span style="color: #FFFFFF">Close</span></a>', processHandler(settings) { settings.title = null; } }); });