I have the following line of code:
var newLeftPos = $('span#s' + i).position().left - parseInt($('span#s' + i).css('width'), 10);
It works great in ie6 and upwards but I also need to get it to work for ie5.5. (Let's not argue about that now - I know - but I have no option)
I'm certain it falls on the .position() while I'm testing on ie5.5 with jquery 1.2
How could I do the same in plain javascript? Could "offsetParent" help me here? Apparently ie5.5 supports that.
Thanks in advance.