|
|
@ -8,7 +8,7 @@ $(function(){ |
|
|
|
licenseKey: '13F1F552-6ACE43B7-95262729-9E0B4778', |
|
|
|
licenseKey: '13F1F552-6ACE43B7-95262729-9E0B4778', |
|
|
|
//options here
|
|
|
|
//options here
|
|
|
|
anchors:['home', 'works', 'mobility','skills', 'news'], |
|
|
|
anchors:['home', 'works', 'mobility','skills', 'news'], |
|
|
|
// responsiveWidth: 1024,
|
|
|
|
responsiveWidth: 1024, |
|
|
|
autoScrolling:true, |
|
|
|
autoScrolling:true, |
|
|
|
scrollHorizontally: true, |
|
|
|
scrollHorizontally: true, |
|
|
|
navigation:true, |
|
|
|
navigation:true, |
|
|
@ -20,39 +20,39 @@ $(function(){ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(destination.anchor === 'skills' || destination.anchor === 'news') { |
|
|
|
if(destination.anchor === 'skills' || destination.anchor === 'news') { |
|
|
|
$('.pc-hd .gnb_1da').css('color', '#000'); |
|
|
|
$('.gnb_1da').css('color', '#000'); |
|
|
|
$('.pc-hd .wh_logo').css('display', 'none'); |
|
|
|
$('.wh_logo').css('display', 'none'); |
|
|
|
$('.pc-hd .color_logo').css('display', 'block'); |
|
|
|
$('.color_logo').css('display', 'block'); |
|
|
|
$('#hd').on('mouseenter', function () { |
|
|
|
$('#hd').on('mouseenter', function () { |
|
|
|
$('.pc-hd .wh_logo').css('display', 'block'); |
|
|
|
$('.wh_logo').css('display', 'block'); |
|
|
|
$('.pc-hd .color_logo').css('display', 'none');
|
|
|
|
$('.color_logo').css('display', 'none');
|
|
|
|
}); |
|
|
|
}); |
|
|
|
$('#hd').on('mouseleave', function () { |
|
|
|
$('#hd').on('mouseleave', function () { |
|
|
|
$('.pc-hd .wh_logo').css('display', 'none'); |
|
|
|
$('.wh_logo').css('display', 'none'); |
|
|
|
$('.pc-hd .color_logo').css('display', 'block');
|
|
|
|
$('.color_logo').css('display', 'block');
|
|
|
|
$('.pc-hd .gnb_1da').css('color', '#000');
|
|
|
|
$('.gnb_1da').css('color', '#000');
|
|
|
|
}); |
|
|
|
}); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$('.pc-hd .gnb_1da').css('color', '#fff'); |
|
|
|
$('.gnb_1da').css('color', '#fff'); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
onLeave: function(origin, destination){ |
|
|
|
onLeave: function(origin, destination){ |
|
|
|
new WOW().init();
|
|
|
|
new WOW().init();
|
|
|
|
console.log(destination) |
|
|
|
console.log(destination) |
|
|
|
if(destination.anchor === 'skills' || destination.anchor === 'news') { |
|
|
|
if(destination.anchor === 'skills' || destination.anchor === 'news') { |
|
|
|
$('.pc-hd .gnb_1da').css('color', '#fff'); |
|
|
|
$('.gnb_1da').css('color', '#fff'); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$('.pc-hd .gnb_1da').css('color', '#fff'); |
|
|
|
$('.gnb_1da').css('color', '#fff'); |
|
|
|
$('.pc-hd .wh_logo').css('display', 'block'); |
|
|
|
$('.wh_logo').css('display', 'block'); |
|
|
|
$('.pc-hd .color_logo').css('display', 'none'); |
|
|
|
$('.color_logo').css('display', 'none'); |
|
|
|
$('#hd').on('mouseenter', function () { |
|
|
|
$('#hd').on('mouseenter', function () { |
|
|
|
$('.pc-hd .wh_logo').css('display', 'block'); |
|
|
|
$('.wh_logo').css('display', 'block'); |
|
|
|
$('.pc-hd .color_logo').css('display', 'none');
|
|
|
|
$('.color_logo').css('display', 'none');
|
|
|
|
}); |
|
|
|
}); |
|
|
|
$('#hd').on('mouseleave', function () { |
|
|
|
$('#hd').on('mouseleave', function () { |
|
|
|
$('.pc-hd .wh_logo').css('display', 'block'); |
|
|
|
$('.wh_logo').css('display', 'block'); |
|
|
|
$('.pc-hd .color_logo').css('display', 'none');
|
|
|
|
$('.color_logo').css('display', 'none');
|
|
|
|
$('.pc-hd .gnb_1da').css('color', '#fff');
|
|
|
|
$('.gnb_1da').css('color', '#fff');
|
|
|
|
}); |
|
|
|
}); |
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|