I am using scriptaculous slide down effects. But there is a problem i called slide down effect on div on mouseover of the text and slideup effect on mouseout of the text and if user mouserover and mouseout on text before showing the full div content , the text background color doesn't show and div becomes transparent. It looks very bad. No one can read the text of the div.

I want slidedown effect on mouseover and slideup effect when cursor is outside the range of text and div tag.

How can I make it possible?