110
//top fixed $(window).scroll(function () { if ($(window).scrollTop() > 1) { $('#c_static_001-16420726227420').addClass('fixed') } else { $('#c_static_001-16420726227420').removeClass('fixed') } }) $('#c_static_001-16420726227420').mouseenter(function () { $('#c_static_001-16420726227420').addClass('fixed02') }).mouseleave(function () { if ($(window).scrollTop() == 0) { $('#c_static_001-16420726227420').removeClass('fixed02') } }); $(function () { var urlName = window.location.pathname; $('.cateGory .cbox-4 .cbox-5-0 .p_hLink a').each(function () { var urlHref = $(this).attr('href'); if (urlName.indexOf(urlHref) >= 0) { $(this).addClass('on'); $(this).parent().parent().parent().parent().parent("div").addClass('active'); } }); });