jQuery offset() wrong
jQuery offset() wrong
I have an issue on a site, I think is a CSS issue, but really can't figure it out.
I'm using jQuery to get the position of a Hidden form container div, when the mouse hovers on images on a slider. The hidden form popups correctly but in the wrong position, like if offset() got wrong values.
This is the JS jQuery code (id is a parametter of my js function)
- var currentTarget = jQuery(id);
- var pos = currentTarget.offset();
- container.css('top', parseInt(pos.top) + 'px');
- container.css('left', parseInt(pos.left) + 'px');
And this is the site http://www.disegnosis.com.ar/rentalstation/
Thanks alot in advise