View Full Version : Tooltip in bad position

11-13-2012, 02:58 PM
Hello. My tooltip is working good, Unless I'm visiting a specific page in my website.
In this specific page, I have this code:

<script type="text/javascript" language="javascript">
// Kick off the jQuery with the document ready function on page load
// Configuration of the x and y offsets
this.imagePreview = function(){
xOffset = 500;
yOffset = -300;

In order to show image preview better.

But as soon as this code in, my tooltip is going to this position too.

How I can fix that?

11-13-2012, 05:32 PM
Im not even sure how that's working, because this.imagePreview has no parent so "this" isnt part of any object that i can see ( I suppose it refers to the document itself in this syntax, and in that case you appear to be redifining imagePreview).

that aside, you probably need to show us the previewimage functions