Issue 2442 minor fix.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11220 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-09-12 11:07:29 +00:00
parent 293ccb13af
commit db0aa266bc
7 changed files with 17 additions and 17 deletions

View file

@ -18,12 +18,12 @@ jQuery(function($){
var $xGnb_li = $xGnb.find('>ul>li');
$(window).resize(function(){
setTimeout(function(){
if($(window).width() >= 1024){ // Over than 1024px
if($(window).width() >= 980){ // Over than 1024px
$xGnb.height('auto').height($xBody.height());
} else { // Less than 1024
$xGnb.height('auto');
}
if($(window).width() < 1024 || $(window).width() > 1260){
if($(window).width() < 980 || $(window).width() > 1240){
$xBody.removeClass('wide');
}
}, 100);
@ -72,7 +72,7 @@ jQuery(function($){
}
$xGnb
.mouseenter(function(){ // Mouseenter
if($(window).width() >= 1024){
if($(window).width() >= 980){
setTimeout(function(){
$xBody.removeClass('wide');
contentBugFix();
@ -80,7 +80,7 @@ jQuery(function($){
}
})
.mouseleave(function(){ // Mouseleave
if($(window).width() >= 1024 && $(window).width() < 1260){
if($(window).width() >= 980 && $(window).width() < 1240){
$xBody.addClass('wide');
contentBugFix();
}

View file

@ -18,12 +18,12 @@ jQuery(function($){
var $xGnb_li = $xGnb.find('>ul>li');
$(window).resize(function(){
setTimeout(function(){
if($(window).width() >= 1024){ // Over than 1024px
if($(window).width() >= 980){ // Over than 1024px
$xGnb.height('auto').height($xBody.height());
} else { // Less than 1024
$xGnb.height('auto');
}
if($(window).width() < 1024 || $(window).width() > 1260){
if($(window).width() < 980 || $(window).width() > 1240){
$xBody.removeClass('wide');
}
}, 100);
@ -72,7 +72,7 @@ jQuery(function($){
}
$xGnb
.mouseenter(function(){ // Mouseenter
if($(window).width() >= 1024){
if($(window).width() >= 980){
setTimeout(function(){
$xBody.removeClass('wide');
contentBugFix();
@ -80,7 +80,7 @@ jQuery(function($){
}
})
.mouseleave(function(){ // Mouseleave
if($(window).width() >= 1024 && $(window).width() < 1260){
if($(window).width() >= 980 && $(window).width() < 1240){
$xBody.addClass('wide');
contentBugFix();
}