2010-07-13 43 views
0

我使用的nyromodal lightbox最新版本(V1.6.2):思考不工作

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

它不會反映任何標題和標題燈箱仍然爲空。我也試過:

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

但沒有任何反映。我怎樣才能讓反射起作用?

回答

1

nyromodal的設置說它應該使用title: 'your title'

但是,您也可以設置html元素的title屬性,並且nyromodal會將其拾取。

<p><a href="img/img2.jpg" class="nyroModal" title="3rd Street Promenade">Image</a></p> 
+0

thanxs for ur reply我需要手動輸入以便我按照上述方式進行操作,並且我清除了它的工作緩存: ) – Gobi 2010-07-14 12:04:26

1

嘗試改變$.fn.nyroModal.settings或設置a標籤title屬性。它可能無法正常工作的唯一原因是您的鏈接中有空的標題屬性或其中斷manual請致電

+0

thanxs我做了上面提到的同樣的腳本,並清除緩存的工作正常 – Gobi 2010-07-14 12:03:33