0
我想建立一個使用WordPress的網站,我有一個插件是幫助在圖像上創建一個熱點(54.165.58.29/dahlia/這是網頁)。我無法將標題顯示在圖像的彈出式顯示中。WordPress的花式框標題不顯示
這是這裏的代碼。
$_ = jQuery.noConflict();
$_(document).ready(function() {
$_("a[rel=map_gallery]").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'inside',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts)
{ return '<span id="fancybox-title-inside">Image ' + (currentIndex + 1) + ' of ' + currentArray.length + (title.length ? ' ' + title : '') + '</span>';
}
});
});
我已經用盡了很多小時了。