I have a background div and a foreground div which fades in as the background is moused over, and fades out when the background is mousd out.
But when the foreground fades in, it steals focus from the background and the tooltip ends up “flashing”:
How do I keep the tooltip visible and stop the flashing?
Thanks
Mouse over me.
This needs to stay visible, and not flash, until I mouse out of the green square!
JQUERY
and if you want #tooltip overlaps the “Mouse over me” text.
DEMO
second way
HTML
DEMO 2