12-06-2008, 01:35 PM
|
#15 (permalink)
|
|
The Visitor
Join Date: Dec 2008
Posts: 2
Thanks: 0
|
Quote:
Originally Posted by freenity
ok, I guess some code is needed here:
PHP Code:
<style>
#btn1
{
width: 300px;
height: 50px;
position: absolute;
top: 100px;
left: 50px;
background: #eeeeee;
z-index: 22;
}
#popup
{
width: 200px;
height: 200px;
z-index: 999;
background: #ee8888;
border: 1px solid #222222;
position: relative;
top: 0px;
left: 0px;
visibility: hidden;
}
#btn1:hover #popup
{
visibility: visible;
}
</style>
<div id="btn1">
<div id="popup"></div>
</div>
so when you hover btn1, popup appears. So how do I hide it?? How do I know when the mouse is not over btn1???
|
this code not work at IE6+
Please help me , repair it 
|
|
|
|