我有頁面左上角的語言下拉菜單。問題是,當鼠標懸停在此邊界上時,菜單向上滑動。有人能告訴我如何避免這種影響?這裏是鏈接 - http://livedemo07682.prestatrend.com這裏是代碼:帶邊距的下拉菜單
//Block languages module
$('#languages_switcher').hover(function() {
$(this).find('#languages_block_top span').addClass('hover');
$(this).find('#first-languages').stop(true, true).slideDown(300);
}, function() {
$(this).find('#languages_block_top span').removeClass('hover');
$(this).find('#first-languages').stop(true, true).slideUp(150);
});
你說的是菜單和麪板之間滑動的1em空間嗎?然後,只需從#first-languages_wrapper刪除「top:1em」在您的CSS – 2012-03-16 21:41:11
刪除邊距... – redDevil 2012-03-16 21:41:48
但我需要這個邊距... – Anton 2012-03-16 21:45:20