我的當當用那個mousemove和mouseout的方式,進行顯示和隱藏,我找不到切入點,請大佬幫幫忙
uj5u.com熱心網友回復:
首先設定你的dd_menu_top_down這個div的樣式隱藏,display:none,然后滑鼠移入改為display: block;滑鼠移出再設定為noneuj5u.com熱心網友回復:
function myddang_show(id){var elem = document.getElementById(id);
elem.style.display = 'block';
}
function myddang_hidden(id){
var elem = document.getElementById(id);
elem.style.display = 'none';
}
大概就是這樣吧 和二樓一個意思
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/115651.html
標籤:JavaScript
上一篇:報錯資訊An exception occurred processing JSP page /studentDN.jsp at line 53我該怎么解決
下一篇:瀏覽器視窗關閉監控
