Say I have a div with a link in it. When I hover over it I want another div to fade in above it with some content and then fade away on mouse over.
Example found here:
http://bit.ly/c59sT4
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do something re-usable using
.hover()and the fading functions, like this:For example, here’s the demo markup, though the
<div>elements can contain anything:Then via CSS you just position that inside
<div>absolutely and the give it the same size, like this:You can give it a try here.