$(document).ready(function () { SetCurrentMenu(); }); function SetCurrentMenu() { var flag = 'JoinUs'; //网金控股 if (flag == "CompanyProfile") { $('.nav >li').removeClass("current").eq(1).addClass("current") } else if (flag == "BusinessLayout") { $('.nav >li').removeClass("current").eq(2).addClass("current") } else if (flag == "InvestorRelations") { $('.nav >li').removeClass("current").eq(3).addClass("current") } else if (flag == "JoinUs") { $('.nav >li').removeClass("current").eq(4).addClass("current") } else if (flag == "NewsCenter") { $('.nav >li').removeClass("current").eq(3).addClass("current") } else if (flag == "Home") { $("html").addClass("full-page"); $('.nav >li').removeClass("current").eq(0).addClass("current") } else { $('.nav >li').removeClass("current"); } } var _hmt = _hmt || []; (function () { var hm = document.createElement("script"); hm.src = "../../hm.baidu.com/hm.js-da4eea99be6b685db86ed58c8520be88"/*tpa=http://hm.baidu.com/hm.js?da4eea99be6b685db86ed58c8520be88*/; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); function querySt(ji) { hu = window.location.search.substring(1); gy = hu.split("&"); for (i = 0; i < gy.length; i++) { ft = gy[i].split("="); if (ft[0] == ji) { return ft[1]; } } return ''; } $(function () { var pname = decodeURI(querySt("pname")); $("#position li").removeClass("current"); var ptype = $("#position li[pname='" + pname + "']").attr("p"); LoadPostionByPositionType(ptype); }) function LoadPostionByPositionType(ptype) { try { $(".job-no").html("
查看更多
"); $(".job-no").attr("class", "job-position"); $("#position li").removeClass("current"); $("#position li[p='" + ptype + "']").addClass("current"); var c = $("#city li[class='current']").attr("c"); //event.preventDefault(); //event.stopPropagation(); var serviceurl = "_QueryPaging?Ptype=" + ptype + "&city=" + c + "&pi=1"; $.ajax({ url: serviceurl, type: 'get', success: function (html) { $(".job-position ul").html(html); LoadMoreState(); }, error: function (e) { } }); } catch (e) { } } function LoadMoreState() { var t = $(".job-position ul>li").length; var pi = $("#viewPi").val(); pi = parseInt(pi); var icount = $("#iCount").val(); icount = parseInt(icount); var isize = $("#iSize").val(); isize = parseInt(isize); if (icount <= isize) { $(".job-position-more").hide(); } else { $(".job-position-more").show(); if (t < icount) { $(".job-position-more").removeClass("gray"); $(".job-position-more a").text("查看更多"); $(".job-position-more a").attr("href", "javascript:LoadMore()") } else { $(".job-position-more").addClass("gray"); $(".job-position-more a").text("已显示全部职位"); $(".job-position-more a").attr("href","javascript:void()") } } if (t == 0) { $(".job-position").html("

暂无招聘职位

"); $(".job-position").attr("class", "job-no"); } } function LoadPostionByCity(city) { try { $(".job-no").html("
查看更多
"); $(".job-no").attr("class", "job-position"); $("#city li").removeClass("current"); $("#city li[c='" + city + "']").addClass("current"); var p = $("#position li[class='current']").attr("p"); var serviceurl = "_QueryPaging?Ptype=" + p + "&city=" + city + "&pi=1"; $.ajax({ url: serviceurl, type: 'get', success: function (html) { $(".job-position ul").html(html); LoadMoreState(); }, error: function (e) { } }); } catch (e) { } } function LoadMore() { try { var p = $("#position li[class='current']").attr("p"); var c = $("#city li[class='current']").attr("c"); var pi = $("#viewPi").val(); var obj = {}; obj.city = c; obj.Ptype = p; obj.pi = parseInt(pi) + 1; var serviceurl = "_QueryPaging"; $.ajax({ url: serviceurl, type: 'POST', data: obj, success: function (html) { $(".job-position ul>li:last").after(html); LoadMoreState(); }, error: function (e) { } }); } catch (e) { } }

黑彩时时彩平台排行