Issue 2231 fix. Remove JS hide function. Replace with CSS.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11023 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-08-10 06:15:24 +00:00
parent 768d2ca18f
commit 8e64ac6e2b
4 changed files with 917 additions and 27 deletions

View file

@ -156,7 +156,6 @@ jQuery(function($){
.attr('role', 'navigation') // WAI-ARIA role
.find('>.nav-gnb>li')
.attr('role', 'menuitem') // WAI-ARIA role
.find('>ul').css('height','0').end()
.filter(':has(>ul)')
.attr('aria-haspopup', 'true') // WAI-ARIA
.end()
@ -185,28 +184,6 @@ jQuery(function($){
$(this).mouseover();
}
});
this
.find('>.bmk')
.removeClass('active')
.mouseover(function(){
$(this).addClass('active')
})
.mouseleave(function(){
$(this).removeClass('active')
})
.focusout(function(){
var $this = $(this);
setTimeout(function(){
if(!$this.find(':focus').length) {
$this.mouseleave();
}
}, 1);
})
.delegate('a', {
focus : function(){
$(this).mouseover();
}
});
};
$('div.gnb').xeMenu();