nofel — 2011-10-18T10:08:45-04:00 — #1
i am trying to implement tool tip on a div which i positioned on a image.while a rollover alert as a example work fine, but i have a div which has a image. and i want it to open up in fade in sort of way when i over that positioned placement.how can i make my div display none until its hovered upon?
parkint — 2011-10-19T12:46:00-04:00 — #2
You cannot respond to a hover action on an element that is not there (hidden).
Try wrapping it in another element (a DIV) and apply the JQuery event handling to that element - targeting your image.
A simple approach is to change the class of your "hidden" element with JQuery when the "wrapper" element is hovered.