I'm developing a 'home-made' tooltip using Jquery and CSS,
Seems to work OK,
It gets positioned ontop of the 'trigger' element (and horizontally centered), but when i move the mouse up it goes down and the opposite way,
what i'm I doing wrong?
I'm developing a 'home-made' tooltip using Jquery and CSS,
Seems to work OK,
It gets positioned ontop of the 'trigger' element (and horizontally centered), but when i move the mouse up it goes down and the opposite way,
what i'm I doing wrong?
Change "bottom:" to "top:" in your css assignments.
I also solved your question about the non-fading borders by prepending .find("span").andSelf()
to the fadeIn and fadeOut methods. This will explicitly fade out all "span" tags inside the DIV, although I honestly don't understand why it's necessary (this might be a jQuery bug):