03-08-2008, 07:03 PM
|
#6 (permalink)
|
|
The Acquainted
Join Date: Feb 2008
Posts: 119
Thanks: 17
|
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???
|
|
|
|