var navid = "5"; var menu = "123";
try { document.getElementById("navId" + navid).className = "selected"; } catch (ex) { } var searchtype = "1"; function ChangeSearch(mode) { var mode = (mode || "1") == "1" ? "1" : "0"; if (mode != searchtype) { $(".hr-search span:first a").eq(searchtype || "1").removeClass("selected").removeClass("prosearch"); $(".hr-search span:first a").eq(mode).addClass("selected").addClass("prosearch"); searchtype = mode; } var obj = $("#txtSearch"); if (obj.val() == "" || (obj.val() == "検索" || obj.val() == "製品検索")) { if (searchtype == "0") { $("#txtSearch").val("検索"); } else { $("#txtSearch").val("製品検索"); } } return; }ChangeSearch(searchtype); $(function () { $("#btnSearch").click(function () { var errorMsg = "キーワードを入力してください"; var key = $.trim($("#txtSearch").val()); if (key == "" || (searchtype == "0" && key == "検索") || (searchtype == "1" && key == "製品検索")) { alert(errorMsg); } else { key = key.replace(/'/g, ""); switch (searchtype || "1") { case "0": window.location.href = "http://www.vigogroup.com/jp/search/searchsite.aspx?key=" + escape(key); break; case "1": window.location.href = "http://www.vigogroup.com/jp/search/search.aspx?key=" + escape(key); break; } } return; }); $("#txtSearch").keydown(function (e) { var code = (e.keyCode ? e.keyCode : e.which); //兼容火狐 IE if (!$.browser.msie && (e.keyCode == 0x8)) //火狐下 不能使用退格键 { return; } if (code == 13) { $("#btnSearch").click(); } }); }); //导航栏 - 下拉菜单 $(".hr-nav li").hover(function () { if ($(this).find("a:first").attr("id") != ("navId" + navid)) { $(this).find("a:first").addClass("selected"); } $(this).find(".subnav").show(); }, function () { if ($(this).find("a:first").attr("id") != ("navId" + navid)) { $(this).find("a:first").removeClass("selected"); } $(this).find(".subnav").hide(); });

現在の位置:ホーム > 企業文化 > 社員風采

企業文化Culture
現在のページ1, 全部で1ページ, 5条記録計 1 遷移するページ
$(".templet_news_001 li").each(function (i, item) { if (Number(i + 1) % 2 == 0) { $(this).attr("class", "libg"); } });