Reputation: 291
I'm using the latest version (v1.6.2) of nyromodal lightbox:
jQuery.nyroModalSettings({title:'Manual Title'});
It won't reflect any title and the lightbox title remains empty. I also tried:
jQuery.nyroModalManual({
title:'Manual Title'
});
But nothing reflects. How can I get the reflection working?
Upvotes: 0
Views: 639
Reputation: 17482
Try changing $.fn.nyroModal.settings
or set the a
tag title attribute. The only reason it may not work is you have empty title attribute in your link or its broken in manual
call
Upvotes: 1
Reputation: 3541
The settings of nyromodal says it should work using title: 'your title'
.
But alternatively you can set the title
attribute of html element and nyromodal will pick it up.
<p><a href="img/img2.jpg" class="nyroModal" title="3rd Street Promenade">Image</a></p>
Upvotes: 1