只在某些计算机上呈现标头不能在IE11中工作的Javascript

时间:2015-03-16 14:38:22

标签: javascript html css security internet-explorer

我的网站有一个通过javascript呈现的标头。我的客户报告IE中缺少标题导航栏;他们在几台电脑上测试了这个。但是,我和我的同事一直无法重现这个问题。我们之前遇到过IE 11阻止脚本中的安全设置问题,所以我尝试增加我的安全设置,我也尝试将IE置于兼容模式以及在IE 8中查看页面。我没有做过什么导致导航栏消失

这是我从客户那里获得的截图

这就是我的计算机,所有浏览器上的样子

我认为这个文件很重要,因为当我在调试器中删除它时,我能够重现丢失的头文件问题。但是我不确定这是否是唯一被阻止的东西,而且我不确定它为什么会被阻止。

thisdir="/sites/all/themes/munson/js";
stm_bm(["menu0ca1",900,"",thisdir+"/blank.gif",0,"","",0,0,250,0,50,1,0,0,"","100%",0,0,1,2,"default","hand","",1,25],this);
stm_bp("p0",[0,4,0,0,0,0,130,0,100,"",-2,"",-2,50,0,0,"#999999","transparent","",0,0,0,"#000000"]);
stm_ai("p0i0",[0,"","","",-1,-1,0,"http://munsonhealthcare.org","_self","","Munson Healthcare System",thisdir+"/MHCClear.png",thisdir+"/MHCClear.png",130,44,0,"","",0,0,0,1,1,"#0099cc",1,"",0,"",thisdir+"/navHoverBkg2.gif",3,3,0,0,"#FFFFF7","#000000","#ffffff","#ffffff","10.88px Verdana","10.88px Verdana",0,0,"","","","",0,0,0],114,0);
stm_aix("p0i1","p0i0",[2,"",thisdir+"/divider.png",thisdir+"/divider.png",12,44,0,"","_self","","","","",0,0,0,"","",0,0,0,1,1,"#0099cc",1,"#FFFFFF",1,"","",3,3,0,0,"#FFFFF7","#000000","#ffffff","#ffffff","10pt Verdana","10pt Verdana"],12,0);
stm_aix("p0i2","p0i0",[0,"","","",-1,-1,0,"http://www.munsonhealthcare.org/munsonhealthcarefacilities","_self","","Our Locations",thisdir+"/LocationClear.png",thisdir+"/LocationClear.png",130,44,0,"","",-1,-1,0,1,1,"#0099cc",1,"",0,"",thisdir+"/navHoverBkg2.gif",3,3,0,0,"#cccccc","#68a4ca"],130,0);
stm_bp("p1",[1,4,0,2,2,3,0,0,100,"stEffect(\"slip\")",-2,"stEffect(\"slip\")",-2,80,0,0,"#999999","#e8eff6","",3,1,1,"#cccccc"]);
stm_aix("p1i0","p0i0",[0,"    Charlevoix Area Hospital","","",-1,-1,0,"http://www.cah.org","_blank","","Charlevoix Area Hospital","","",0,0,0,"","",0,0,0,0,1,"#e8eff6",0,"#68a4ca",0,"","",1,0,0,0,"#cccccc","#68a4ca","#027abd","#e8eff6","12px 'Arial','Verdana'","12px 'Arial','Verdana'"],0,25);
stm_aix("p1i1","p1i0",[0,"    Kalkaska Memorial Health Center","","",-1,-1,0,"http://munsonhealthcare.org/KMHC","_self",""," Kalkaska Memorial Health Center"],0,25);
stm_aix("p1i2","p1i0",[0,"    Mercy Hospital Cadillac","","",-1,-1,0,"http://www.mercyhealthcadillac.com/welcome-cadillac","_blank","","Mercy Hospital Cadillac","","",0,0,0,"","",0,0,0,0,1,"#e8eff6",0,"#68a4ca",0,"","",1,0,0,0,"#cccccc","#68a4ca","#2089c4"],0,25);
stm_aix("p1i3","p1i2",[0,"    Mercy Hospital Grayling","","",-1,-1,0,"http://www.mercyhealthgrayling.com/welcome-grayling","_blank","","Mercy Hospital Grayling"],0,25);
stm_aix("p1i4","p1i2",[0,"    Munson Medical Center","","",-1,-1,0,"http://www.munsonhealthcare.org/MMC","_self","","  Munson Medical Center"],0,25);
stm_aix("p1i5","p1i2",[0,"    Munson Home Health","","",-1,-1,0,"http://www.munsonhomehealth.org/","_self","","Munson Home Health"],0,25);
stm_aix("p1i6","p1i2",[0,"    Northwest Michigan Surgery Center    ","","",-1,-1,0,"http://northwestmichigansurgerycenter.com","_blank","","Northwest Michigan Surgery Center  "],0,25);
stm_aix("p1i7","p1i2",[0,"    Otsego Memorial Hospital","","",-1,-1,0,"http://www.myomh.org/","_blank",""," Otsego Memorial Hospital"],0,25);
stm_aix("p1i8","p1i2",[0,"    Paul Oliver Memorial Hospital","","",-1,-1,0,"http://www.munsonhealthcare.org/POMH","_self",""," Paul Oliver Memorial Hospital"],0,25);
stm_aix("p1i9","p1i2",[0,"    West Shore Medical Center  ","","",-1,-1,0,"http://www.westshoremedcenter.org/","_blank","","West Shore Medical Hospital  "],0,25);
stm_ep();
stm_aix("p0i3","p0i1",[2,"",thisdir+"/divider.png",thisdir+"/divider.png",12,44,0,"","_self","","","","",0,0,0,"","",0,0,0,1,1,"#0099cc",1,"#0099cc"],12,0);
stm_aix("p0i4","p0i0",[0,"","","",-1,-1,0,"http://www.munsonhealthcare.org/forphysicians","_self","","For Physicians",thisdir+"/PHYClear.png",thisdir+"/PHYClear.png",130,44,0,"","",0,0,0,1,1,"#0099cc",1,"#0099cc"],114,0);
stm_aix("p0i5","p0i3",[],12,0);
stm_aix("p0i6","p0i4",[0,"","","",-1,-1,0,"http://www.munsonhealthcare.org/?id=1233&sid=8","_self","","For Employees",thisdir+"/EMPClear.png",thisdir+"/EMPClear.png"],114,0);
stm_aix("p0i7","p0i3",[],12,0);
stm_aix("p0i8","p0i4",[0,"","","",-1,-1,0,"http://www.munsonhealthcare.org/?id=479&sid=1","_self","","Contact Us",thisdir+"/ContactClear.png",thisdir+"/ContactClear.png"],114,0);
stm_aix("p0i9","p0i3",[],12,0);
stm_aix("p0i10","p0i0",[0,"","","",-1,-1,0,"","_self","","","","",130,44,0,"","",0,0,0,1,1,"#0099cc",1,"#0099cc",1,"",""],114,0);
stm_aix("p0i11","p0i10",[0,"","","",-1,-1,0,"","_self","","","","",0,0],114,0);
stm_aix("p0i12","p0i11",[],105,0);
stm_ep();
stm_em();

我无法弄清楚为什么这个脚本只能在某些计算机上在IE 11中运行?如果它不是安全设置或兼容模式的问题,那么问题是什么?

注意:我不确定这是否重要,但在更改导航栏背景之前IE中没有问题。导航栏使用png作为其背景,我更改了它正在使用的文件。但是,当我尝试将其更改回原始的png文件时,这并没有解决我客户端计算机上的问题。

0 个答案:

没有答案