超大Jquery与背景图像冲突

超大Jquery与背景图像冲突,jquery,wordpress,supersized,nextgen-gallery,Jquery,Wordpress,Supersized,Nextgen Gallery,我对使用nextgen gallery的wordpress站点有一个问题(由超大型设备提供支持) 因此,我创建了一个div来管理背景图像 <div> <img id="backgroundx" title="" alt="" src="wp-content/uploads/2012/09/DSC_5269.jpg"/> </div> 一切都很好,但当我输入下一个类别(例如)时,它不会显示背景 但是其他页面(包括扩展的图库)都可以正常工作。虽然这两个页面具有不

我对使用nextgen gallery的wordpress站点有一个问题(由超大型设备提供支持) 因此,我创建了一个div来管理背景图像

<div>
<img id="backgroundx" title="" alt="" src="wp-content/uploads/2012/09/DSC_5269.jpg"/>
</div>
一切都很好,但当我输入下一个类别(例如)时,它不会显示背景
但是其他页面(包括扩展的图库)都可以正常工作。

虽然这两个页面具有不同的图像行为很奇怪,但您可能会发现这种快速修复方法是可以接受的:

<div>
<img id="backgroundx" title="" alt="" src="/wp-content/uploads/2012/09/DSC_5269.jpg"/>
</div>

只需在wp内容之前添加一个根斜杠

<div>
<img id="backgroundx" title="" alt="" src="/wp-content/uploads/2012/09/DSC_5269.jpg"/>
</div>