<script src="http://iscripting.net/jquery/jquery_1.2.1.js"></script>
<script>
$(document).ready(function(){
$("#drop_down").hide();
$("#drop_down").animate({
opacity:0.5
});
$("a:contains('blah')").mouseover(function() {
$("#drop_down").show("slow");
});
$("#drop_down").mouseout(function(){
$(this).hide('slow');
});
});
</script>
<style>
#drop_down {
background:olive;
width:100px;
height:200px;
z-index:1;
}
#hori_menu {
height:60px;
border: 2px solid #EEEEEE;
width:400px;
}
</style>
<div id="hori_menu">
<a href="#">Google</a>
<br />
<div id="drop_down">
Bleh<br />
Blub<br />
Burp<br />
Items
</div>
</div>
1 comment about "Menu déroulant qui se déroule/cache quand la souris est dessus avec JQuery"
palleas on May 15, 2008