// javascript document var windname = window.location.pathname; var time = setinterval(function () { var m = $(".e_text-18 a,.e_text-17 a,.e_text-21 a,.e_text-19 a,.e_text-40 a,.e_text-22 a").attr("href"); if (m) { console.log(m); $(".e_text-18 a,.e_text-17 a,.e_text-21 a,.e_text-19 a,.e_text-40 a,.e_text-22 a ").each(function () { var l_m = $(this).attr("href") if (l_m == windname) { $(this).parents('.p_loopitem').addclass("zzactive") } }); clearinterval(time); } }, 100);