CINXE.COM
Home Page - Apex.PACE
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Home Page - Apex.PACE</title> <link href="https://kendo.cdn.telerik.com/2017.3.1026/styles/kendo.common-material.min.css" rel="stylesheet" type="text/css" /> <link href="https://kendo.cdn.telerik.com/2017.3.1026/styles/kendo.mobile.all.min.css" rel="stylesheet" type="text/css" /> <link href="https://kendo.cdn.telerik.com/2017.3.1026/styles/kendo.dataviz.min.css" rel="stylesheet" type="text/css" /> <link href="https://kendo.cdn.telerik.com/2017.3.1026/styles/kendo.default.min.css" rel="stylesheet" type="text/css" /> <link href="https://kendo.cdn.telerik.com/2017.3.1026/styles/kendo.dataviz.material.min.css" rel="stylesheet" type="text/css" /> <link href="https://kendo.cdn.telerik.com/2017.3.1026/styles/kendo.default.mobile.min.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" href="/lib/bootstrap/dist/css/bootstrap.css" /> <link rel="stylesheet" href="/css/theme2017.css" /> <link rel="stylesheet" href="/css/adminTheme2017.css" /> <link href="/fonts/FreightSans/freightSans.css" rel="stylesheet" /> <link href="/fonts/Circular/circular.css" rel="stylesheet" /> <script src="https://kendo.cdn.telerik.com/2017.3.1026/js/jquery.min.js"></script> <script src="https://kendo.cdn.telerik.com/2017.3.1026/js/jszip.min.js"></script> <script src="https://kendo.cdn.telerik.com/2017.3.1026/js/kendo.all.min.js"></script> <script src="https://kendo.cdn.telerik.com/2017.3.1026/js/kendo.aspnetmvc.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> <script src="/js/jquery.cookie.js"></script> <script src="/js/jquery.browser.js"></script> <script src="/js/site.js"></script> <style> .master-container { position: relative; overflow: hidden; min-height: 100%; } .k-filter-menu .k-primary { float:none } </style> </head> <body> <span id="popupNotification" name="popupNotification"></span><script>kendo.syncReady(function(){jQuery("#popupNotification").kendoNotification({"position":{"pinned":true}});});</script> <div id="mainWindow" name="mainWindow" style="display:none"></div><script>kendo.syncReady(function(){jQuery("#mainWindow").kendoWindow({"deactivate":onCloseMainWindow,"open":onMainWindowOpen,"refresh":onMainWindowRefresh,"draggable":true,"iframe":true,"modal":true,"scrollable":true,"title":"Details","visible":false,"content":null,"actions":["Close"]});});</script> <div id="mainBackground" class=" master-container"> <div id="user-publishers-wrapper"> <div id="user-publishers-content"> <div class="padd-mid"> <input id="isAuthor" type="hidden" value="False" /> <img src="/images/Theme2017/Homepage/Pace_Logo.png" class="publisher-logo" /> <a href="#" onClick="closeSidebar()" class="pull-right sidebar-close"><img src="/images/Theme2017/General/close.svg" /></a> </div> <style> .p-i-m { margin-top: -8px; } </style> </div> </div> <div class="container-fluid top-header"> <div class="row above-overlay"> <div class="col-md-6"> <a href="/Home/Tour"> <img src="/images/Theme2017/Homepage/Pace_Logo.png" height="36"> </a> <div class="publisher-sider"> </div> </div> <div class="col-md-6"> <div class="menu-content"> <div id="responsive-panel"> <ul class="k-menu k-menu-horizontal pull-right"> <li class="k-item"><a id="login" href="#" class="k-link border-bottom">Login</a></li> </ul> <div id="RegisterOrLogin" name="RegisterOrLogin" style="display:none"></div><script>kendo.syncReady(function(){jQuery("#RegisterOrLogin").kendoWindow({"refresh":validateLogin,"open":openLogin,"iframe":false,"height":550,"modal":true,"scrollable":false,"title":"Hello","visible":false,"width":300,"content":"/Account/LoginPopup","actions":["Close"]});});</script><script type="text/javascript"> var panel = null; $(document).ready(function () { $(document).on('click', '#lnkManageUser', function () { openManageUserPopup(); }); function openManageUserPopup() { var myWindow = $("#manageUserPopup").data("kendoWindow"); myWindow.refresh({ url: "/Manage/Index" }); myWindow.center().open(); } $(document).on('click', '.close-mu-window', function () { closeManageUserPopup(); }); function closeManageUserPopup() { var myWindow = $("#manageUserPopup").data("kendoWindow"); myWindow.close(); } $(document).on('click', '#lnkChangePassword', function () { closeManageUserPopup(); openChangePasswordPopup(); }); function openChangePasswordPopup() { var myWindow = $("#changePasswordPopup").data("kendoWindow"); myWindow.refresh({ url: "/Manage/ChangePassword" }); myWindow.center().open(); } $(document).on('click', '.close-cp-window', function () { closeChangePasswordPopup(); openManageUserPopup(); }); function closeChangePasswordPopup() { var myWindow = $("#changePasswordPopup").data("kendoWindow"); myWindow.close(); } var dvd = "*<*_|_*>*"; //$(document).on('click', '#btnRegister', function () { // var email = $("#txtEmail").val(); // var email2 = $("#txtEmail2").val(); // var password = $("#txtPassword").val(); // var password2 = $("#txtPassword2").val(); // var dob = $("#datepicker").data("kendoDatePicker").value(); // var gender = $("input[name=dob]:checked").val(); // var credential = email + dvd + email2 + dvd + // password + dvd + password2 + dvd + dob + dvd + gender; // $.ajax({ // type: "POST", // data: { Credential: credential }, // url: "/Account/CheckSignupLogin/" + credential, // success: function (response) { // $("#spnMessage2").text(response); // $("#spnMessage2").show(); // }, // error: function (response) { // } // }) //}); $(document).on('click', '#btnLogin', function () { $("#spnMessage").hide(); var email = $("#txtEmail").val(); var password = $("#txtPassword").val(); var credential = email + dvd + password; $.ajax({ type: "POST", data: { email: email, password: password }, url: "/Account/CheckSignupLogin/", success: function (response) { if (response == "true") { window.location.href = '/Home/Index2'; } else { $("#spnMessage").html(response); $("#spnMessage").show(); } }, error: function (response) { } }) }); $(document).on('keypress', '#txtPassword', function (e) { if (e.which == 13) { var email = $("#txtEmail").val(); var password = $("#txtPassword").val(); var credential = email + dvd + password; $.ajax({ type: "POST", data: { email: email, password: password }, url: "/Account/CheckSignupLogin/", success: function (response) { if (response == "true") { window.location.href = '/Home/Index2'; } else { $("#spnMessage").html(response); $("#spnMessage").show(); } }, error: function (response) { } }) } }); $(document).on('click', '#lnkRegister', function () { panel = $("#RegisterOrLogin").data("kendoWindow"); panel.refresh({ url: "/Account/Register" }); panel.options.visible = true; panel.center(); panel.open(); $("#RegisterPanel_wnd_title").remove(); $(".k-window-titlebar.k-header").remove(); }); $(document).on('click', '#lnkLogin', function () { panel = $("#RegisterOrLogin").data("kendoWindow"); panel.refresh({ url: "/Account/LoginPopup" }); panel.options.visible = true; panel.center(); panel.open(); $("#RegisterPanel_wnd_title").remove(); $(".k-window-titlebar.k-header").remove(); }); $("#register").bind("click", function () { panel = $("#RegisterOrLogin").data("kendoWindow"); panel.refresh({ url: "/Account/Register" }); panel.options.visible = true; panel.center(); panel.open(); }); $("#login").bind("click", function () { panel = $("#RegisterOrLogin").data("kendoWindow"); panel.refresh({ url: "/Account/LoginPopup" }); panel.center(); panel.open(); $("#LogOnPanel_wnd_title").remove(); $(".k-window-titlebar.k-header").remove(); }); }); function onRegisterUserClick() { $("form").submit(); window.location.href = '/Home/Index2'; $("#RegisterPanel").data("kendoWindow").options.visible = false; } function openLogin(e) { e.sender.element[0].style.overflowX = "hidden"; e.sender.element[0].style.overflowY = "hidden"; } function validateLogin(e) { try { e.sender.wrapper.find('.k-window-content').css("overflow", "hidden"); e.sender.wrapper.find('.k-window-content').css("overflowX", "hidden"); e.sender.wrapper.find('.k-window-content').css("overflowY", "hidden"); e.sender.wrapper.find('.k-content-frame')[0].css("overflow", "hidden"); e.sender.wrapper.find('.k-content-frame')[0].css("overflowX", "hidden"); e.sender.wrapper.find('.k-content-frame')[0].css("overflowY", "hidden"); } catch (e1) { } e.sender.center(); try { if (e.sender.wrapper.find(".k-content-frame")[0].contentWindow.location.href.toLowerCase().indexOf("login") < 0) { LogOnPanel.close(); window.parent.location.href = e.sender.wrapper.find(".k-content-frame")[0].contentWindow.location.href; } } catch (e2) { } } $(document).on('keydown', function (e) { var keyCode = (window.event) ? e.which : e.keyCode; if (keyCode == 13) { if ($("#muCancel").is(":visible")) { e.preventDefault(); $("#muCancel").click(); } else if ($("#cpSubmit").is(":visible")) { e.preventDefault(); $("#cpSubmit").click(); } } }); </script> <style> .k-item > .border-bottom:hover { color: white; border-bottom-color: white; } </style> <ul class="k-widget k-reset k-header k-menu pull-right" id="Menu"><li class="k-item k-state-disabled"><span class="k-link"></span></li><li class="k-item featured k-state-highlight k-state-default"><a class="k-link" href="/Home/Tour">Home</a></li><li class="k-item featured k-state-default"><a class="k-link" href="/contactus">Contact us</a></li></ul><script>kendo.syncReady(function(){jQuery("#Menu").kendoMenu({});});</script> </div> </div> </div> </div> <div class="relative"> <div class="bg-left"></div> <br /> <input type="hidden" id="currentPublisherId" value="0" /> <input type="hidden" id="currentUserId" value="0" /> <input type="hidden" id="currentPublisherName" value="" /> <div class="render-body"> <div class="row"> <div class="content-featured"> <h1 class="txt-light-xxl-white text-center"><nobr>Publication-ready</nobr> graphics in minutes</h1> <h2 class="txt-book-fs21-gray text-center">Allows authors to effortlessly deliver images to exact publisher specifications in minutes.</h2> <div class="text-center p-t-60"> <a href="#" class="k-link k-link-solo text-uppercase play-tour"> View Intro <img src="/images/Theme2017/play-icon.png" class="play-icon" /> </a> </div> </div> </div> <style> .k-link:link, .k-link:visited, .k-nav-current.k-state-hover .k-link { color:white; } .k-item .k-link, .k-link-solo { padding-bottom: 10px; } .k-link-solo { padding-top: 10px !important; } </style> <input type="hidden" id="userSignedIn" value="0" /> <div id="windowVideo" name="windowVideo" style="display:none"><div id="mediaplayer" ></div></div><script>kendo.syncReady(function(){jQuery("#windowVideo").kendoWindow({"draggable":false,"iframe":true,"height":500,"modal":true,"scrollable":true,"title":"Introduction","visible":false,"width":1000,"content":null,"actions":["Close"]});});</script> <div id="winIntroduction" name="winIntroduction" style="display:none"></div><script>kendo.syncReady(function(){jQuery("#winIntroduction").kendoWindow({"modal":true,"scrollable":true,"visible":false,"width":900,"content":"/Home/Introduction","actions":["Close"]});});</script> <div id="forgotPassword" name="forgotPassword" style="pull-right"></div><script>kendo.syncReady(function(){jQuery("#forgotPassword").kendoWindow({"height":550,"modal":true,"scrollable":true,"visible":false,"width":300,"content":null,"actions":["Close"]});});</script> <div id="resetPassword" name="resetPassword" style="pull-right"></div><script>kendo.syncReady(function(){jQuery("#resetPassword").kendoWindow({"height":550,"modal":true,"scrollable":true,"visible":false,"width":300,"content":null,"actions":["Close"]});});</script> <div id="registerPopup" name="registerPopup" style="display:none"></div><script>kendo.syncReady(function(){jQuery("#registerPopup").kendoWindow({"height":650,"modal":true,"scrollable":true,"visible":false,"width":300,"content":null,"actions":["Close"]});});</script> <style> #windowVideo { border-radius: 0px !important; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; height: 502px !important; overflow: hidden; } .k-window { width: 894px !important } </style> </div> <div class="bg-right"></div> </div> </div> <div class="slider-window"> <div class="padd-mid"> <a href="#" class="close-slider"><img src="/images/Theme2017/General/close.svg" /></a> </div> <div id="partialview"> <img id="loading" width="50" height="50" src="/images/loading.gif" /> </div> </div> <script type="text/javascript"> $(document).ready(function () { if ($("#userSignedIn") != null) { if (''.toLowerCase() == 'true') { openResetPopup(); } else if ($("#userSignedIn").val() == 0) { openIntroPopup(); } } $("#windowVideo").data("kendoWindow") .bind("close", function (e) { $('.youtube-video')[0].contentWindow.postMessage('{"event":"command","func":"' + 'stopVideo' + '","args":""}', '*'); }); $(document).on("click", ".k-overlay", function () { if ($("#videoframe").is(":visible")) { $("#windowVideo").data("kendoWindow").close(); } }); $(window).on("keydown", function (e) { var keyCode = (window.event) ? e.which : e.keyCode; if (keyCode == 27) { if ($("#videoframe").is(":visible")) { $("#windowVideo").data("kendoWindow").close(); } } }); }); function openIntroPopup() { if ('True'.toLowerCase() == 'true') { $("#winIntroduction").data("kendoWindow").center(); $("#winIntroduction").data("kendoWindow").open(); } } function openResetPopup() { var resetWindow = $("#resetPassword").data("kendoWindow"); var procode = ''; var reset = ''.toString(); resetWindow.refresh({ type: "GET" ,url: "/Account/ResetPassword" ,data: { code: procode, reset: reset } }); resetWindow.center(); resetWindow.open(); } function closeResetPasswordPopup() { $("#resetPassword").data("kendoWindow").close(); } function openLoginPopup() { var myWindow = $("#RegisterOrLogin").data("kendoWindow"); //myWindow.refresh({ // url: "/Account/Login999" //}); myWindow.center(); myWindow.open(); } function closeLoginPopup() { $("#RegisterOrLogin").data("kendoWindow").close(); } function onTourClick() { $("#winIntroduction").data("kendoWindow").close(); playTour(); } function onLoginClick() { openLoginPopup(); $("#winIntroduction").data("kendoWindow").close(); } function onRegisterClick() { openRegisterPopup(); $("#winIntroduction").data("kendoWindow").close(); } function openForgotPasswordPopup() { var myWindow = $("#forgotPassword").data("kendoWindow"); myWindow.refresh({ url: "/Account/ForgotPassword" }); myWindow.center().open(); closeLoginPopup(); } function closeForgotPasswordPopup() { $("#forgotPassword").data("kendoWindow").close(); } function openRegisterPopup() { var myWindow = $("#registerPopup").data("kendoWindow"); myWindow.refresh({ url: "/Account/RegisterPopup" }); myWindow.center().open(); closeLoginPopup(); } function closeRegisterPopup() { $("#registerPopup").data("kendoWindow").close(); } $(".play-tour").click(function () { playTour(); }); function playTour() { var myWindow = $("#windowVideo").data("kendoWindow"); myWindow.center().open(); $("#mediaplayer").html("<iframe id=\"videoframe\" class=\"youtube-video\" src=\"https://www.youtube.com/embed/nu3qgYef2uM?autoplay=1&enablejsapi=1&version=3&playerapiid=ytplayer\" width=\"896\" height=\"502\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"></iframe>"); //$("#mediaplayer").kendoMediaPlayer({ // autoPlay: true, // navigatable: false, // mute: false, // media: { // title: "PACE (Picture Analysis & Conversion Engine)", // source: "https://www.youtube.com/embed/nu3qgYef2uM" // } //}); } </script> <div id="confirmWindow"></div> <div id="alertWindow"></div> </div> <footer class="footer"> 2024 漏 Apex CoVantage PACE 3.0.2.0 </footer> <script> var kendoMainWindow = null; var $popUpPublisher = $("#popupPublisher"); var width = $popUpPublisher.width() + 60; var $userPublisherWrapper = $("#user-publishers-wrapper"); var $slider = $(".slider-window"); var cookiesDeleted = false; $(document).ready(function () { setInterval(function () { if (!checkNetConnection()) { deleteAllCookies(); cookiesDeleted = true; } else { if (cookiesDeleted) { window.location = '/Home/Error?Error=true'; cookiesDeleted = false; } } }, 30000); $slider.removeClass('visible'); var popupNotification = $("#popupNotification").data("kendoNotification"); var message = "Application may not work properly in current browser. Support browsers Edge(>v9), ie(>v8), Chrome(>v20),Opera(>v14),firefox(>v50),Safari(>6)"; var isValidBrowser = true; //debugger; try { var version = Number($.browser.versionNumber); if ($.browser.name == "msedge") { if (version < 9) { isValidBrowser = false; } } if ($.browser.name == "msie") { if (version < 9) { isValidBrowser = false; } } if ($.browser.name == "chrome") { if (version < 20) { isValidBrowser = false; } //$('body').css({ "zoom": "67%" }); } if ($.browser.name == "opera") { if (version < 14) { isValidBrowser = false; } //$('body').css({ "zoom": "67%" }); } if ($.browser.name == "firefox") { if (version < 50) { isValidBrowser = false; } //$('body').css({ "zoom": "67%" }); } if ($.browser.name == "safari") { if (version < 6) { isValidBrowser = false; } // $('body').css({ "zoom": "67%" }); } } catch (e) { popupNotification.show(e.message, "information"); } if (isValidBrowser == false) { popupNotification.show(message, "error"); } var tim; width = width + 75; $userPublisherWrapper.css({ marginLeft: -width, width: width }); if ($("#hidProjectCount").val() <= 1 && $("#isAuthor").val().toLowerCase() == "true") { $('.publisher-name-padding').css('padding-left', '0'); $('.active-project-padding').css('padding-left', '0'); } $popUpPublisher.on({ click: function () { clearTimeout(tim); if ($userPublisherWrapper.hasClass("open")) { closeSidebar(); } else { var proCount = $("#hidProjectCount").val(); if (proCount <= 1 && $("#isAuthor").val().toLowerCase() == "true") return; $userPublisherWrapper.addClass("open"); $userPublisherWrapper.removeClass("half-open"); $userPublisherWrapper.animate({ marginLeft: 0 }, 500); } }, mouseenter: function () { if (!$userPublisherWrapper.hasClass("open")) { var proCount = $("#hidProjectCount").val(); if (proCount <= 1 && $("#isAuthor").val().toLowerCase() == "true") return; $userPublisherWrapper.clearQueue(); $userPublisherWrapper.addClass("half-open"); $userPublisherWrapper.animate({ marginLeft: -width + 60 }, 500); } }, mouseleave: function () { $userPublisherWrapper.removeClass("half-open"); if (!$userPublisherWrapper.hasClass("open")) { $userPublisherWrapper.clearQueue(); $userPublisherWrapper.animate({ marginLeft: -width }, 500); } } }); //$userPublisherWrapper.on({ // click: function () { // tim = setTimeout(function () { // $userPublisherWrapper.fadeOut('slow'); // }, 300); // } //}); $("ul").removeClass("k-widget k-reset k-header navbar-right"); $("form").removeClass("navbar-right"); $("#responsive-panel").kendoResponsivePanel({ breakpoint: 768, autoClose: false, orientation: "top" }); try { kendoMainWindow = $("#mainWindow").data("kendoWindow"); } catch (e) { } $("#alertWindow").kendoDialog({ content: "", visible: false, closable: true, actions: [ { text: 'OK', primary: true, action: function (e) { return true; } } ] }); $("#confirmWindow").kendoDialog({ content: "", visible: false, closable: true, actions: [ { text: 'OK', primary: true, action: function (e) { func(); return true; } }, { text: 'Cancel', action: function (e) { if (cancelCall) { cancelCall(); } func = null; cancelCall = null; } } ] }); }); //global function var OKfunc = null; var cancelCall = null; function customConfirmation(msg, functionToCall, cancelFunction) { func = functionToCall; cancelCall = cancelFunction; var std = "<div class=\"title-bar\"><h1>Confirm<div class=\"close-icon-align\"><a href=\"javascript:void(0);\" class=\"close-confirm\"><em class=\"k-icon k-i-close\"></em></a></div></h1></div>"; var kendoDialog = $("#confirmWindow").data("kendoDialog"); kendoDialog.content(std + msg); kendoDialog.open(); } function customAlert(msg) { var std = "<div class=\"title-bar\"><h1>Alert<div class=\"close-icon-align\"><a href=\"javascript:void(0);\" class=\"close-alert\"><em class=\"k-icon k-i-close\"></em></a></div></h1></div>"; var alertDialog = $("#alertWindow").data("kendoDialog"); alertDialog.content(std + msg); alertDialog.open(); KeepSession(); } $(document).on('click', '.close-confirm', function (e) { var kendoDialog = $("#confirmWindow").data("kendoDialog"); kendoDialog.close(); }); $(document).on('click', '.close-alert', function (e) { var kendoDialog = $("#alertWindow").data("kendoDialog"); kendoDialog.close(); }); function closeSidebar() { $userPublisherWrapper.removeClass("open"); $userPublisherWrapper.animate({ marginLeft: -width }, 500); } function onclick(e) { $("#responsive-panel").getKendoResponsivePanel.toggle; } $(".open-slider").click(function () { $slider.animate({ "left": "70%" }, "slow").addClass('visible'); }); $('.close-slider').click(function () { $slider.animate({ "left": "100%" }, "slow").removeClass('visible'); }); function OpenSlider(type, url, data, width) { if (width == null || width == "") { width = "70%" }; $slider.animate({ "left": width }, "slow").addClass('visible'); if (type != "" && url != "") { $.ajax({ type: type, url: url, //"/Project/ProjectTargetTypeEdit/", data: data, //{ id: id, projectId: projectId, fileTypeId: fileTypeId }, cache: false, success: function (value) { $("#partialview").html(value); }, }); return; } if (data != "") { $("#partialview").html(data); } } function CloseSlider() { $slider.animate({ "left": "100%" }, "slow").removeClass('visible'); } function getKendoMainWindow() { if (kendoMainWindow == null) { kendoMainWindow = $("#mainWindow").data("kendoWindow"); } return kendoMainWindow; } function openProducts() { $('#ddlProjects').data('kendoDropDownList').open(); } function OpenMainWindow(width_val, height_val, title_val, page_url) { var kendoWindow = getKendoMainWindow(); kendoWindow.title(title_val); kendoWindow.options.actions = ["Custom", "Close"]; kendoWindow.refresh({ url: page_url }); kendoWindow.wrapper.css({ width: width_val, height: height_val }); kendoWindow.wrapper.find(".k-custom").click(function (e) { e.preventDefault(); }); kendoWindow.open(); kendoWindow.center(); } function closeMainWindow() { var kendoWindow = getKendoMainWindow(); kendoWindow.close(); } function onCloseMainWindow(e) { var kendoWindow = getKendoMainWindow(); try { onCloseWindowCallBack(kendoWindow); } catch (e) { } } function onMainWindowOpen(e) { e.sender.element[0].style.overflowX = "hidden"; e.sender.element[0].style.overflowY = "hidden"; showBusyIndicator(e.sender, true); // show try { var body = e.sender.wrapper.find(".k-content-frame")[0].contentWindow.document.body; var html = e.sender.wrapper.find(".k-content-frame")[0].contentWindow.document.documentElement; //e.sender.wrapper.css({ // width: (body.scrollWidth < 900 ? 900 : (body.scrollWidth > screen.innerWidth ? 900 : (body.scrollWidth + 20))) + "px", // height: (body.offsetHeight > 800 ? 800 : body.offsetHeight + 70) + "px" //}); } catch (e) { } if (e.sender != undefined) e.sender.center(); try { var kendoWindow = getKendoMainWindow(); onOpenWindowCallBack(kendoWindow); } catch (e) { } } function onMainWindowRefresh(e) { showBusyIndicator(e.sender, false); // hide try { e.sender.wrapper.find('.k-window-content').css("overflow", "hidden"); e.sender.wrapper.find('.k-window-content').css("overflowX", "hidden"); e.sender.wrapper.find('.k-window-content').css("overflowY", "hidden"); var body = e.sender.wrapper.find(".k-content-frame")[0].contentWindow.document.body; var html = e.sender.wrapper.find(".k-content-frame")[0].contentWindow.document.documentElement; //e.sender.wrapper.css({ // width: (body.scrollWidth < 900 ? 900 : body.scrollWidth + 20) + "px", // height: (body.offsetHeight > 650 ? 650 : body.offsetHeight + 70) + "px" //}); } catch (e) { } e.sender.center(); try { var kendoWindow = getKendoMainWindow(); onRefreshWindowCallBack(kendoWindow); } catch (e) { } } $(".publisher-text").off("click").on({ click: function () { var $this = $(this); var isAuthor = $("#isAuthor").val(); var emText = $this.text(); if (isAuthor == "False" && emText.length > 0) { return true; } var $parent = $this.closest(".publisher-name"); if (!$parent.hasClass("active")) { var $active = $(".publisher-name.active"); if ($active.length) { $active.find(".projects-wrapper").slideUp(500); $active.find(".project-icon").removeClass("down").addClass("left"); $active.removeClass("active"); } $parent.addClass("active"); $parent.find(".projects-wrapper").slideDown(500); $parent.find(".project-icon").removeClass("left").addClass("down"); console.log("not the same"); } else { $parent.find(".project-icon").removeClass("down").addClass("left"); $parent.find(".projects-wrapper").slideUp(500); $parent.removeClass("active"); } return false; } }); ////floating slider content //$(function () { // // Stick the #nav to the top of the window // var nav = $('.slider-window'); // var navHomeY = nav.offset().top; // var isFixed = false; // var $w = $(window); // $w.scroll(function () { // var scrollTop = $w.scrollTop(); // var shouldBeFixed = scrollTop > navHomeY; // if (shouldBeFixed && !isFixed) { // nav.css({ // position: 'fixed', // top: 0, // left: nav.offset().left, // width: nav.width() // }); // isFixed = true; // } // }); //}); $(document).on('keydown', function (e) { var keyCode = (window.event) ? e.which : e.keyCode; if (keyCode == 27) { if ($userPublisherWrapper.hasClass("open")) { e.preventDefault(); closeSidebar(); } else if ($slider.is(":visible")) { e.preventDefault(); CloseSlider(); } } }); function KeepSession() { $.ajax({ type: 'GET', url: '/upload/DummyFunction', cache: false, success: function (value) { // $("#partialview").html(value); }, }); } function deleteAllCookies() { var cookies = document.cookie.split(";"); for (var i = 0; i < cookies.length; i++) { var cookie = cookies[i]; var eqPos = cookie.indexOf("="); var name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie; document.cookie = name + "=;expires=Thu, 01 Jan 1970 00:00:00 GMT"; } } function checkNetConnection() { jQuery.ajaxSetup({ async: false }); re = ""; r = Math.round(Math.random() * 10000); $.get("https://apexcovantage.com/wp-content/uploads/2016/04/shutterstock_348767873-1.jpg", { subins: r }, function (d) { re = true; }).error(function () { re = false; }); return re; } </script> <style> .k-menu .k-item > .k-link, .k-menu-scroll-wrapper .k-item > .k-link, .k-popups-wrapper .k-item > .k-link { line-height: 6px !important; } .k-item button:hover { color: white; border-bottom-color: white; } #partialview { width: 30%; margin-top: -35px; } #partialview div:first-child h1, h2, h3, h4 { text-align: center; } #partialview #loading { margin-left: 45%; margin-top: 45%; } .close-icon-align { margin-top: -28px; margin-right: -12px; float: right; } .publisher-name-padding { padding-left: 25px; padding-top: 5px; } .active-project-padding { padding-left: 27px; padding-top: 5px; } .panel-default > .panel-heading { color: #8E8E8E; font-family: FreightSansProMedium-Regular; font-size: 20px; } </style> </body> </html>