Html 为什么当我点击图库中的图像链接时,它不工作?

Html 为什么当我点击图库中的图像链接时,它不工作?,html,wordpress,Html,Wordpress,当我点击图片的时候,我就有了 我需要通过以下链接获得一个新页面 您可以看到以下代码: <div class="box-1" style="direction: rtl;"> <a href="http://www.centerwow.com/main/portfolio/2/"><img class="alignnone size-full wp-image-322" title="אתר לדוגמא" src="http://www.cente

当我点击图片的时候,我就有了

我需要通过以下链接获得一个新页面

您可以看到以下代码:

<div class="box-1" style="direction: rtl;">
        <a href="http://www.centerwow.com/main/portfolio/2/"><img class="alignnone size-full wp-image-322" title="אתר לדוגמא" src="http://www.centerwow.com/roei/22072012/orenram/wp-content/uploads/2012/10/page1-img3.jpg" alt="" width="219" height="124"></a>        <a href="http://www.centerwow.com/main/portfolio/0/">example portfolio</a>
        <span>just click here</span>
        <p> some text</p>
    </div>
$.elastislide.defaults = {
speed : 450, // animation speed
easing : '', // animation easing effect
imageW : 190, // the images width
margin : 3, // image margin right
border : 0, // image border
minItems : 3, // the minimum number of items to show.
// when we resize the window, this will make sure minItems are always shown
// (unless of course minItems is higher than the total number of elements)
current : 0, // index of the current item
// when we resize the window, the carousel will make sure this item is visible
--> onClick : function() { return false; } // click item callback**
}; 

点击这里
一些文本

当我点击图像或
HTML时

我应该怎么做才能让它工作/转到其他页面

非常感谢。

查看第92行的“jquery.elastislide.js”文件(在下面的代码中指出):


只需删除此行中的“return false;”

加载站点时,站点上的Javascript会抛出错误,您应该解决这些错误(使用浏览器或Firefox中的开发人员工具),然后再次检查。