You animation is throwing a error with easing easInOutCubic
.
Use this:
function () {$('#subWrap').animate({height:"show",easing:"easeInOutCubic"}, 300)},
instead of:
function () {$('#subWrap').animate({height: "show"}, 300, "easeInOutCubic");},
Demo here (your code corrected)
You could use .slideUp() / .slideDown():
$(document).ready(function () {
$("#gnbMenu").hover(
function () {$('#subWrap').slideDown();},
function () {$('#subWrap').slideUp();}
);
});
Demo here (suggestion with slideup/slidedown)
EDIT:
Sugeestion to you question on comments:
$(document).ready(function () {
$("#gnbMenu").on('mouseenter', function () {
$('#subWrap').slideDown();
});
$("#subWrap").on('mouseleave', function () {
$('#subWrap').slideUp();
});
});
Demo here
NOTICE: This demo uses .on(), which need jQuery 1.7+