A few problems with my Dropdown-Menu

A few problems with my Dropdown-Menu

Hello,

I have some problems with my Dropdown-menu that I realized with jquery.

I have got 4 divs which have a width of 160px and a height of 25px. if i hover them, the width goes to 270 px without an animation time of 0 ms and then the height goes to 375 with an animation time of 300 ms. 

jquery code:
  1. $('#fruhstuck').mouseover(function() {
  2.   $('#fruhstuck').animate({
  3.     height: '+=215'
  4.     }, 300, function() {
  5.   });
  6. });
  7. $('#fruhstuck').mouseout(function() {
  8.    $('#fruhstuck').animate({
  9.      height: '-=215'
  10.      }, 300, function() {
  11.    });
  12.  });
  13. $('#mittag').mouseover(function() {
  14.   $('#mittag').animate({
  15.     width: '+=245'
  16.     },0, function() {
  17.   });
  18.   $('#mittag').animate({
  19.     height: '+=215'
  20.     }, 300, function() {
  21.   });
  22. });
  23. $('#mittag').mouseout(function() {
  24.    $('#mittag').animate({
  25.      height: '-=215'
  26.      }, 300, function() {
  27.    });
  28.    $('#mittag').animate({
  29.     width: '-=245'
  30.     },0, function() {
  31.   });
  32.  });
  33. $('#kaffee').mouseover(function() {
  34.   $('#kaffee').animate({
  35.     width: '+=245'
  36.     }, 0, function() {
  37.   });
  38.   $('#kaffee').animate({
  39.     height: '+=215'
  40.     }, 300, function() {
  41.   });
  42. });
  43. $('#kaffee').mouseout(function() {
  44.    $('#kaffee').animate({
  45.      height: '-=215'
  46.      }, 300, function() {
  47.    });
  48.    $('#kaffee').animate({
  49.     width: '-=245'
  50.     }, 0, function() {
  51.    });
  52.  });
  53. $('#abend').mouseover(function() {
  54.   $('#abend').animate({
  55.     width: '+=245'
  56.     }, 0, function() {
  57.   });
  58.   $('#abend').animate({
  59.     height: '+=215'
  60.     }, 300, function() {
  61.   });
  62. });
  63. $('#abend').mouseout(function() {
  64.    $('#abend').animate({
  65.      height: '-=215'
  66.      }, 300, function() {
  67.    });
  68.    $('#abend').animate({
  69.     width: '-=245'
  70.     }, 0, function() {
  71.   });
  72.  });
 
they all have a z-index so the last is on the top, the 3rd is under it, the 2rd is under the 3rd and the 1st is under the 2nd. 

css-code:

  1. .menuelement {
  2.  width:160px;
  3.  height:25px;
  4.  margin:0px; 
  5.  display:inline;
  6.  float:left;
  7.  margin-top:13px;
  8.  padding-top:5px;
  9.  padding-left:13px;
  10.  padding-right:13px;
  11.  font-size:19px;
  12.  cursor:pointer;
  13.  z-index:100;
  14.  position:relative;
  15.  overflow:hidden;
  16.  
  17. }
  18. .melementinhalt {
  19.  overflow:hidden;
  20.  height:185px;
  21.  width:380px;
  22.  margin-left:10px;
  23. }
  24. #fruhstuck {
  25.  position:absolute;
  26.  left:50px;
  27.  background-image:url(../images/anikasten.png);
  28.  width:405px;
  29.  z-index:15;
  30. }
  31. #mittag {
  32.  position:absolute;
  33.  left:240px;
  34.  width:160px;
  35.  background-image:url(../images/anikasten.png);
  36.  z-index:16;
  37. }
  38. #kaffee {
  39.  position:absolute;
  40.  left:420px;
  41.  width:160px;
  42.  background-image:url(../images/anikasten.png);
  43.  z-index:17;
  44. }
  45. #abend {
  46. position:absolute;
  47. right:10px;
  48. width:160px;
  49. background-image:url(../images/anikasten_abend.png);
  50. z-index:30;
  51. }

so, the first problem is:

if i come to fast over one of the divs, it goes crazy up and down a few times. I don't know why.
esplacially with the 4th div, the #abend div, i have a problem. it goes 2 times up and down if i hover it.

the second problem is: if i come from the first menu item to the second, it works fine. also that works for the 2nd and 3rd and from the 3rd to the 4th. but if i go from the 4th to the 3rd, it doesnt work, because the 4th div is still 270px wide and so its over the other div. i don't know how to solve this.

here is the site with the slide-down menu:  http://puravida-fulda.de/

sorry for my bad english i'm still at learning ;)

greetings, Ole