2012-11-04 22 views
0

我在WP Village主題中使用FancyBox圖庫。如何刪除''圖像1/15''但在FancyBox Gallery中保留標題

目前,我有titleimage 1/15 ... 我需要保持title,並刪除「image 1/15」 ...... 任何想法????

一些幫助將不勝感激!!!!

在此先感謝

西風

+0

可以識別腳本,是的fancybox初始化? ...像$(「。selector」)。fancybox({// options})''? ...你的主題是否可以選擇自定義模式框? – JFK

+0

發佈一個鏈接到網站,或者一些代碼會很有用。 –

+0

它是這樣添加的:圖片1/3自定義標題他想刪除「圖片1/3」並保留其餘部分... – Alias

回答

0

下面的代碼使用..在隱藏圖像1 1註釋行代碼只是刪除...

afterLoad : function() { 
    //this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : ''); 

    // **Solutions** 

    this.group.length + (this.title ? ' - ' + this.title : ''); 
} 
相關問題