开发者

make background image to link

i am us开发者_运维知识库ing this jquery iviewer

i want to link these image thumble to another link.

can i use image map for this or any other way to make image thumble to link. these are really add with full image.


you can add this in between your script tag:

var objects = [{x: 0, y: 800, r: 800, isInObject: isInCircle, title: 'whole image', getCenter: getRectCenter }]

note: set y and r to cover your image.

And this when you set defaults for iviewer:

onClick: function(coords) {
var object = whereIam(coords.x, coords.y);                       
if (object) 
window.location="cart.html";
}

whereIam is a default function available with iviewer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜