views:

40

answers:

2

I'm using the latest version 1.6.2 version of nyromodal lightbox

jQuery.nyroModalSettings({title:'Manual Title'}); 

It wont refelect any title on the lightbox title remains empty. I also tried:

jQuery.nyroModalManual({
  title:'Manual Title'
});

Nothing reflects.

If anyone has an idea please put it forward, Gobi:)

+1  A: 

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>
Krunal
thanxs for ur reply i need to enter manually so that i did as above i mentioned and jus cleared the cache it works :)
Gobi
+1  A: 

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

Teja Kantamneni
thanxs i did same script above i mentioned and cleared the cache its works fine
Gobi