超链接不能正常显示的问题
This commit is contained in:
parent
991613d760
commit
8784c7cec6
|
@ -1013,8 +1013,9 @@ function showNormalImage(id) {
|
|||
var image=$(description_images[i]);
|
||||
var element=$("<a></a>").attr("href",image.attr('src'));
|
||||
image.wrap(element);
|
||||
$(image).parent().colorbox({rel:'nofollow', close: "关闭", returnFocus: false});
|
||||
}
|
||||
$('#'+id+' a').colorbox({rel:'nofollow', close: "关闭", returnFocus: false}); //有图片才将链接变为弹出框
|
||||
//$('#'+id+' a').colorbox({rel:'nofollow', close: "关闭", returnFocus: false}); //有图片才将链接变为弹出框
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue