A: 

i don't understand why you use a setTimeout() to launch your function. Try

$(function(){
// all your code onDocumentReady
...
...
            $(window).resize(function() {
                 positionTooltip('#textBoxA', ('#toolTipA'));
        });


});
pixeline
I did that because what you have written above didn't work first. I figured that if the issue was that the offset position of the textbox hadn't been set yet when the resize method was called; the timeout would give the offset of the textbox time to be set.
leeand00
can you post a sample on http://jsbin.com/ with some representative html markup to play with?
pixeline
+1  A: 

Your logic for calculating the position of the tooltip only fires initially when you call positionTooltip. You want to call it to recalculate position before the fadeIn call.

CptSkippy
Now that sounds like a good idea! :)
leeand00
@CptSkippy Kudos! Thanks for the help Chief! That did the trick.
leeand00
A: 

That worked like a charm for me, the only drawback is that sometimes it dosen't get the proper X,Y position, apparently not it's compensating with object's padding/margin values, i did a dirty fix by adding those values manually before they are set like:

  toolTipElementLeft = toolTipElementLeft + 40;
  $(toolTipId)[0].style.left = toolTipElementLeft + "px";

and

  toolTipYCoord = toolTipYCoord + 25;
  $(toolTipId)[0].style.top = toolTipYCoord + "px";
Rodrigo