Javascript JSSOR-缩略图上的外部链接
如果我有这个:Javascript JSSOR-缩略图上的外部链接,javascript,jquery,jssor,Javascript,Jquery,Jssor,如果我有这个: <div> <img u="image" src="../img/photography/002.jpg" /> <div u="thumb"> <img class="i" src="../img/photography/thumb-002.jpg"/> </div> <div u="caption" t="L">My Title</div> <div u="c
<div>
<img u="image" src="../img/photography/002.jpg" />
<div u="thumb">
<img class="i" src="../img/photography/thumb-002.jpg"/>
</div>
<div u="caption" t="L">My Title</div>
<div u="caption" t="R"><a href="http://mylink.com" target="_blank">Link</a>
</div>
</div>
我知道我会在标题中有一个指向的外部链接,但我不想这样。我想要一个缩略图上的外部链接。我怎样才能做到这一点?
我认为必须在u=prototype div中添加一些内容,这是错误的吗?请尝试以下代码
<div>
<img u="image" src="../img/photography/002.jpg" />
<div u="thumb">
<a href="http://mylink.com" target="_blank"><img class="i" src="../img/photography/thumb-002.jpg"/></a>
</div>
<div u="caption" t="L">My Title</div>
</div>
</div>