立即购课

24小时咨询热线:010-82326699 / 400 8105 999

在线咨询
< 4b4 script> //将动态页面重定向到静态页面 提交时打开注释 $(document).ready(function(){ var currentUrl = window.location.href; if (currentUrl.indexOf("/demo") == -1) { if("" != null && "" != "") var url = "/demo/" + "zaojia" + "/c" + "952189" + "-v/"; else var url = "/demo/" + "zaojia" + "/c" + "952189/"; window.location.href = url; } getAdvert(); }); function getAdvert(){ var basePath = pageData.basePath, advertPath = basePath + "/video/videoPlay/service/getAdvertUrl.shtm", cwareID = pageData.cwareID, siteName = pageData._currSimpleName; if(siteName == "med66"){ $.post(advertPath,{ cwareID : cwareID },function(data){ $("#advertPic").attr('src',data.PicUrl); $("#goUrl").attr('href',data.GoUrl); }); } } function showAd(){ $("#adPic").attr("style",""); } function closeAd(){ $("#adPic").attr("style","display:none"); }; 0