try {if( self.location == "http://wap.jxboss.cn/" ) { top.location.href = "http://wap.jxboss.cn/index.php"; } } catch(e) {} try {if( self.location == "http://rz.jxboss.cn/" ) { top.location.href = "http://rz.jxboss.cn/index.php?m=content&c=index&a=lists&catid=35"; } } catch(e) {} Booklet printing function google_analytics_script(){ (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m); })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); ga('create', 'UA-34953182-1', 'huodongxing.com'); ga('require', 'displayfeatures'); ga('send', 'pageview'); ga(function(tracker) { $("#google_analytics_client_id").val(tracker.get('clientId')); }); } var uvOptions = {}; var _atrk_opts = { atrk_acct: "GgKTe1aoiI00WL", domain: "huodongxing.com", dynamic: true }; function validateEmail(email) { if (email == null || $.trim(email) == "") return false; var pattern = /^([A-Za-z0-9]+)(([A-Za-z0-9]+)|(_+)|(\-+)|(\.+)|(\++))*@((\w+\-+)|(\w+\.))*\w{1,63}\.[a-zA-Z]{2,6}$/i; return pattern.test($.trim(email)); } function validatePhone(phone) { if (phone == null || $.trim(phone) == "") return false; var pattern = /(^((0[1,2]{1}\d{1}-?\d{8})|(0[3-9]{1}\d{2}-?\d{7,8}))$)|(^(0|86|17951)?(13[0-9]|15[0-35-9]|17[01234678]|18[0-9]|14[57])[0-9]{8}$)/; return pattern.test($.trim(phone)); } function setCookie(name, value, minutes) { var exp = new Date(); exp.setTime(exp.getTime() + minutes * 60 * 1000); document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString(); } function getCookie(c_name) { if (document.cookie.length > 0) { c_start = document.cookie.indexOf(c_name + "=") if (c_start != -1) { c_start = c_start + c_name.length + 1 c_end = document.cookie.indexOf(";", c_start) if (c_end == -1) c_end = document.cookie.length return unescape(document.cookie.substring(c_start, c_end)) } } return ""; } Date.prototype.format = function (format) { //author: meizz var o = { "M+": this.getMonth() + 1, //month "d+": this.getDate(), //day "h+": this.getHours(), //hour "m+": this.getMinutes(), //minute "s+": this.getSeconds(), //second "q+": Math.floor((this.getMonth() + 3) / 3), //quarter "S": this.getMilliseconds() //millisecond } if (/(y+)/.test(format)) format = format.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(format)) format = format.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ("00" + o[k]).substr(("" + o[k]).length)); return format; }
56条 上一页 1 2 3 下一页
$(function () { var dateType = ""; var selectedDate = ""; var tag = ""; var city = "南昌"; var orderby = "o"; if (tag != null && $("#filterByTag").find("li[data-value='" + tag + "']").length < 1) { $('
  • ' + tag + '
  • ').appendTo($("#filterByTag")); } city = city == '' || city == null ? "全部" : city; var date = $('#view-category-date').datepicker({ format: 'yyyy-mm-dd' }) var datepicker = date.data('datepicker'); if (selectedDate) { date.data('date', selectedDate) datepicker.update() } datepicker.picker.addClass('view-category-picker') date.on('show', function () { $(document).one('mousedown', function (e) { e.target.id !== 'view-category-date' && datepicker.hide() }); }).on('changeDate', function (e) { date = $('#view-category-date'); $(date).parent().parent().find("li").removeClass("active"); $(date).parent().addClass("active"); date.html(e.date.format('yyyy-MM-dd')).datepicker('hide'); search2(1); }); var filterDate = $("#filterByDate"); filterDate.find("li[data-value='" + dateType + "']").addClass("active"); filterDate.find("a[href='#']").attr("onclick", "javascript:search1(1, 'filterByDate', this);"); if (dateType == 'ts' && selectedDate != null) { $('#view-category-date').html(selectedDate); } var filterTag = $("#filterByTag"); filterTag.find("li[data-value='" + tag + "']").addClass("active"); filterTag.find("a[href='#']").attr("onclick", "javascript:search1(1, 'filterByTag', this);"); var filterCity = $("#filterByCity"); filterCity.find("li[data-value='" + city + "']").addClass("active"); filterCity.find("a[href='#']").attr("onclick", "javascript:search1(1, 'filterByCity', this);"); var filterOrderby = $("#orderby"); filterOrderby.find("a[data-value='" + orderby + "']").addClass("active"); filterOrderby.find("a[href='#']").attr("onclick", "javascript:$('#orderby').find('a').removeClass('active'); $(this).addClass('active');search2(1);"); }); function search1(page, filterId, ele) { $("#mainSearchTextbox").val(""); if (filterId != null && filterId != "" && ele != null) { var parentele = $(ele).parent(); if (parentele != null && parentele.length > 0 && parentele.is("li")) { $("#" + filterId).find("li").removeClass("active"); parentele.addClass("active"); } } search2(page); } function search2(page) { var keywords = $("#mainSearchTextbox").val(); var show = $.trim($("#eventsShowType").val()); if (keywords != null && $.trim(keywords) != "") { window.location = '/events' + '?qs=' + encodeURIComponent(keywords) + (show == '' ? '' : '&show=' + show) + (page == 1 || page == 0 ? '' : '&page=' + page); } else { var range = $(".view-category input[name='searchRange']").prop('checked') ? "1" : ""; var dateType = $.trim($("#filterByDate").find("li.active").attr("data-value")); if (dateType == 'ts') { date = $('#view-category-date').html(); } var tag = $.trim($("#filterByTag").find("li.active").attr("data-value")); var city = $.trim($("#filterByCity").find("li.active").attr("data-value")); var orderby = $.trim($("#orderby").find("a.active").attr("data-value")); var url = '/events?'; if (show != null && show != "" && show == 'list') url = '/eventlist?' url += 'orderby=' + orderby; if (range != null && range != "") url += '&range=' + range; if (dateType != null && dateType != "") url += '&d=' + dateType; if (dateType && dateType == 'ts') url += '&date=' + date; if (tag != null && tag != "") url += '&tag=' + encodeURIComponent(tag); if (city != null && city != "") url += '&city=' + encodeURIComponent(city); if (page > 1) url += '&page=' + page; window.location = url; } } function submitMySuggestion(){ var sContactVal = $("#home_suggest_contact").val(); var sContentVal = $("#home_suggest_content").val(); if(sContactVal == '' || sContentVal == '') return; $.ajax({ url: '/suggest', type: "POST", data: { "contact": sContactVal, "content": sContentVal, "token":"12AC9860FD41FA462D6A7ACAB4D7BC1C3BB5CB607814F71CC1452119923BA8B35D546B5700BD9ABA47" }, success: function (data) { window.alert("我们已收到您反馈的意见,感谢对我们的支持。"); $("#home_feedback_layer").modal("hide"); } }); } +function ($) { var $window = $(window); var $body = $(document.body); var $navBar = $('.hdx-header'); var headerHeight = $navBar.outerHeight(true); var $subNavBar = $('.sub_nav'); $body.scrollspy({ target: '.intro-nav', offset: headerHeight + 40 }); $window.on('load', function () { $body.scrollspy('refresh'); }); var $introNav = $('.intro-nav'); var $bottomTools = $('.bottom_tools'); var $qrTools = $('.qr_tool'); var qrImg = $('.qr_img'); $introNav .affix({ offset:{ bottom:$('.page-footer').outerHeight() } }) .find('.nav > a').click(function (e) { e.preventDefault(); }); setTimeout(function () { $window.scroll(function () { var scrollHeight = $(document).height(); var scrollTop = $window.scrollTop(); var $footerHeight = $('.page-footer').outerHeight(true); var $windowHeight = $window.innerHeight(); $window.scrollTop() > 50 ? $("#scrollUp").fadeIn(200) : $("#scrollUp").fadeOut(200); $bottomTools.css("bottom", scrollHeight - scrollTop - $footerHeight > $windowHeight ? 20 : $windowHeight + scrollTop + $footerHeight + 20 - scrollHeight); }); $('#scrollUp').click(function (e) { e.preventDefault(); $('html,body').animate({ scrollTop: 0 }); }); $qrTools.hover(function(){ qrImg.removeClass('hide') $.support.transition ? qrImg .one($.support.transition.end, function(){ qrImg.addClass('in') }) .emulateTransitionEnd(150) : qrImg.addClass('in') },function(){ qrImg.removeClass('in') $.support.transition ? qrImg .one($.support.transition.end, function(){ qrImg.addClass('hide') }) : qrImg.addClass('hide') }) }, 500); $('.hdx-header .search').on('click','li a',function(e){ e.preventDefault(); //var parent= $(this).parent().parent('.dropdown').find('span')[0].innerHTML; //var parent= $(this).parent().parent('.dropdown').find('span')[0].attr("str"); var affiliation = $(this).attr("title"); var current = $(this).attr("str"); if(affiliation != current){ $("#searchEventArea").toggle(); $("#searchOrgArea").toggle(); } }); $("#searchOrgArea button").bind("click", function () { var qs = $("#searchOrgArea input[type='text']").val(); if (qs != null && qs != '') { window.location = '/zhubanfang/a?p=1' + encodeURI("&qs=" + qs); } }); $('.aside h2 .more').click(function(e){ //e.preventDefault(); if ($(this).hasClass('active')) return $(this).addClass('active'); setTimeout($.proxy(function(){ $(this).removeClass('active') },this),200) }); var $loginToggle = $('.icon-login-toggle'); var $iconLogins = $loginToggle.parent(); $loginToggle.on('mouseenter',function(){ $iconLogins.toggleClass('fold') }) $iconLogins.on('mouseleave',function(){ $iconLogins.addClass('fold') }) } (window.jQuery) function addFavorite() { if (document.all) { try { window.external.addFavorite(window.location.href, document.title); } catch (e) { window.alert("对不起,您的浏览器不支持此操作!\n\r请您使用使用Ctrl+D收藏本站"); } } else if (window.sidebar) { window.sidebar.addPanel(document.title, window.location.href, ""); } else { window.alert("对不起,您的浏览器不支持此操作!\n\r请您使用使用Ctrl+D收藏本站"); } } function forwardEmailLink(email) { if (email == null || email == "") return ""; var emlower = email.toLowerCase(); var link = "前往查收"; return link; } function PopupMessage(type, msg, hideTime,backdrop){ if(msg == null || msg == "" || type < 0) return; if(type == 0){ type = 'icon-success' }else if(type == 'warning'){ type = 'icon-warning' }else{ type = 'icon-danger' } $("#pop_message_icon").removeClass("icon-danger icon-success icon-warning").addClass(type); $("#pop_message_content").html(msg); if(msg != null && msg.length <= 25){ $("#pop_msg_head").css("text-align","center"); } else{ $("#pop_msg_head").css("text-align","center"); } $('#pop_message_dlg').modal({show:true, backdrop:backdrop ? backdrop : false }); if(hideTime != null && hideTime > 0) window.setTimeout(function () { $('#pop_message_dlg').modal('hide'); }, hideTime); } function setupScriptDelay(scriptPath, sync, onHead){ var setupScript = document.createElement("script"); setupScript.type = 'text/javascript'; if(!sync) setupScript.async = true; if(scriptPath.indexOf("http") == 0) setupScript.src = scriptPath; else setupScript.src = (("https:" == document.location.protocol) ? "https://" : "http://") + scriptPath; if(onHead) document.getElementsByTagName("head")[0].appendChild(setupScript); else document.body.appendChild(setupScript); } $(function () { $.ajaxSetup({ timeout: 45000 }); $(document).ajaxStart(function () { var bgfi = $("div.modal-backdrop.in"); if (bgfi != null && bgfi.length > 0) $('#jquery_ajax_loading').modal({ show: true, backdrop: false, keyboard: false }); else $('#jquery_ajax_loading').modal({ show: true, backdrop: 'static', keyboard: false }); }).ajaxSend(function(evt, request, settings) { console.log(settings.url); }).ajaxStop(function () { $('#jquery_ajax_loading').modal('hide'); var bgfi = $("div.modal-backdrop.in"); if (bgfi == null || bgfi.length == 0){ $("body").removeClass("modal-open"); } }); window.setTimeout("setupGlobalScript()", 350); }); //var _bdhmProtocolExternal = (("https:" == document.location.protocol) ? " https://" : " http://"); //document.write(unescape("%3Cscript src='" + _bdhmProtocolExternal + "hm.baidu.com/h.js%3Fd89d7d47b4b1b8ff993b37eafb0b49bd' type='text/javascript'%3E%3C/script%3E")); if(remote_ip_info != null){ $("input[type=hidden][name='ex_country']").val(remote_ip_info.country); $("input[type=hidden][name='ex_province']").val(remote_ip_info.province); $("input[type=hidden][name='ex_city']").val(remote_ip_info.city); $("input[type=hidden][name='City']").val(remote_ip_info.city); $("input[type=hidden][name='Province']").val(remote_ip_info.province); $("input[type=hidden][name='Address']").val(remote_ip_info.province + "--" + remote_ip_info.city); $("input[type=hidden][name='country']").val(remote_ip_info.country); $("input[type=hidden][name='province']").val(remote_ip_info.province); $("input[type=hidden][name='city']").val(remote_ip_info.city); $("input[type=hidden][name='district']").val(remote_ip_info.district); var currentRegion = null; if (document.cookie.length > 0) { var regionstart = document.cookie.indexOf("HDX_REGION="); if (regionstart != -1){ regionstart = regionstart + "HDX_REGION".length + 1; var regionend = document.cookie.indexOf(";", regionstart); if (regionend == -1) regionend = document.cookie.length; currentRegion = document.cookie.substring(regionstart, regionend); } } if((currentRegion == null || $.trim(currentRegion) == "") && remote_ip_info.city != null && $.trim(remote_ip_info.city) != ""){ var regionExDate=new Date(); regionExDate.setDate(regionExDate.getDate() + 365); document.cookie = "HDX_REGION=" + escape(remote_ip_info.province + "," + remote_ip_info.city) + ";domain=huodongxing.com;path=/;expires=" + regionExDate.toGMTString(); } } _atrk_opts = { atrk_acct: "GgKTe1aoiI00WL", domain: "huodongxing.com", dynamic: true }; function alexa_script() { var as = document.createElement('script'); as.type = 'text/javascript'; as.async = true; as.src = "https://d31qbv1cthcecs.cloudfront.net/atrk.js"; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(as, s); }

    公众平台

    官方微博

    友情链接
    版权所有:江西企业家网
    ICP备案号:赣ICP 12003548-1