View Full Version : easiest jquery tool tip open to left

10-29-2009, 09:10 PM
hi all, im attempting to implement this jquery tooltip.. http://cssglobe.com/lab/tooltip/02/

is there a way to get the preview image to open bottom left instead of bottom right? ive been experimenting with the .js and css but havent figured it out yet. any advice will be greatly appreciated!

10-30-2009, 12:24 AM
the main.js has this part
this.imagePreview = function(){
/* CONFIG */

xOffset = 10;
yOffset = 30;

// these 2 variable determine popup's distance from the cursor
// you might want to adjust to get the right result

try with '-' values

10-30-2009, 04:47 AM
thanks very much for the reply..

that gets it to open on the left side, but it seems to be relative to the center or right of the image, so small images look farther away from the mouse than wider ones. not sure how to fix it but much better!