Gobi
Gobi

Reputation: 291

Reflections not working

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

Answers (2)

Teja Kantamneni
Teja Kantamneni

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

Krunal
Krunal

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

Related Questions