jQuery offset() wrong - Joomla! Forum - community, help and support


hi, i'm having bad time on this. have issue on site, think css issue, can't figure out.

i'm using jquery position of hidden form container div, when mouse hovers on images on slider, hidden form popups correctly in wrong position, if offset() got wrong values.

this js jquery code (id parametter of js function)

code: select all

var currenttarget = jquery(id);
var pos = currenttarget.offset();

container.css('top', parseint(pos.top) + 'px');
container.css('left', parseint(pos.left) + 'px');


and site http://www.disegnosis.com.ar/rentalstation/

thanks alot in advise






Comments