JQuery slideUp slideDown mouseover mouseout

was ich versuche zu tun, ist zu halten video in .slideDown, bis mouseout text UND video, ist das möglich? hier ist mein code bis jetzt

Beide #text und #video sind div

JS hier:

<script> 
 $(document).ready(function(){
  $("#text").mouseover(function(){
   $("#video").slideDown("slow");
  });
  $("#video").mouseout(function(){
   $("#video").slideUp("slow");
  });
 });
</script>

CSS hier:

#text
{
margin-top:20px;
float:center;
font:VNF-Museo;
font-size:40px;
color: #333;
margin-left:auto;
margin-right:auto;
}

#video
{
display:none;
width:1024px;
height:278px;
}

Suchte ich nach einer Lösung, konnte aber nichts finden, dass etwas in der Nähe.
Danke

InformationsquelleAutor Alan | 2013-04-26

Schreibe einen Kommentar