views:

52

answers:

1

i am using 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.

+2  A: 

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.

Ashish Rajan
thanks rajan superb. its work.
kc rajput