Home > front end >  Js novice urgent
Js novice urgent

Time:10-06

My dangdang in the mousemove and mouseout way, to show and hide, I can't find the breakthrough point, ask bosses to help

CodePudding user response:

The style of the first set your dd_menu_top_down this div hidden, display: none, then moving the mouse to display: block; The mouse out and set to none

CodePudding user response:

The function myddang_show (id) {
Var elem=document. GetElementById (id);
='block' elem. Style. The display;
}
The function myddang_hidden (id) {
Var elem=document. GetElementById (id);
Elem. Style. The display='none';
}

Probably this is and a meaning on the second floor
  • Related