<script type="text/javascript">
var ie=document.all?1:0;
var sss= window.location;
if(ie){
if(window.top.document.all.content1==undefined)
{
window.opener.sss=sss + "";
window.open("/n206250/n713396/width.html","_self");
}
}
</script>PS ,iframe在火狐下不显示
var ie=document.all?1:0;
var sss= window.location;
if(ie){
if(window.top.document.all.content1==undefined)
{
window.opener.sss=sss + "";
window.open("/n206250/n713396/width.html","_self");
}
}
</script>PS ,iframe在火狐下不显示
楼主已经判断了,IE下面才会进你的if语句里面,firefox下当然不行了。
ie下ie为1 所以你以后的if(ie)为真
但你完全没考虑if(ie)为假的情况 所以只有ie能用了
学学用一些工具 IE//FF有不同的调试器 上网下载一下