The following displays a menu:
ONZE WAARDEN 4条回答 借酒劲吻你 (楼主) 2021-02-15 16:15 Is this what you are trying to do? HTML ONZE WAARDEN FAQ ITC CLUB CULTUUR ROBITICA Javascript $('.main-menu').mouseenter(function(){ $(this).find('.sub-menu').slideDown(); }); $('.main-menu').mouseleave(function(){ $(this).find('.sub-menu').slideUp(); }); 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
Is this what you are trying to do?
HTML
ONZE WAARDEN FAQ ITC CLUB CULTUUR ROBITICA
Javascript
$('.main-menu').mouseenter(function(){ $(this).find('.sub-menu').slideDown(); }); $('.main-menu').mouseleave(function(){ $(this).find('.sub-menu').slideUp(); });