js 不支持firefox 如何修改才可以支持!
来源:互联网 发布:python拼接字符串 编辑:程序博客网 时间:2024/05/16 05:28
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<style type="text/css">
.link {
color : #000000;
text-decoration : none;
}A.link:hover {
color : red;
}A.link:active {
color : #000000;
text-decoration : none;
}
</style>
<style type="text/css">
<!--
#slidemenubar2{position:absolute;left:-310pt;width:300pt;top:220pt;border:1.5pt solid black;
background-color:#ffffff;layer-background-color:#ffffff;font: 9pt/20pt "宋体";}
body { font-size: 9pt; margin: 0pt}
#slidemenubar { position:absolute;
left:-210pt;width:120pt;top:100pt;border:1.5pt black solid;background-color:#F3F3F3;layer-background-color:lightyellow;
font: 9pt/20pt "宋体"; }
//-->
</style>
====2、将以下代码加入到HEML的<body></body>之间:
<script language="JavaScript1.2">
if (document.all)
document.write('<div id="slidemenubar2" style="left:-300" onMouseover="pull()" onMouseout="draw()">')
</script> <layer id="slidemenubar" onMouseover="pull()" onMouseout="draw()"> <script language="JavaScript1.2">
document.write('<iframe src= ></iframe></a><br>')
</script> </layer>
<script language="JavaScript1.2">
function regenerate(){
window.location.reload()
}function regenerate2(){
if (document.layers)
setTimeout("window.onresize=regenerate",400)
}window.onload=regenerate2
if (document.all){
document.write('</div>')
themenu=document.all.slidemenubar2.style
rightboundary=100
leftboundary=-310
}else{
themenu=document.layers.slidemenubar
rightboundary=100
leftboundary=-310
}function pull(){
if (window.drawit)
clearInterval(drawit)
pullit=setInterval("pullengine()",50)
}function draw(){
clearInterval(pullit)
drawit=setInterval("drawengine()",50)
}function pullengine(){
if (document.all&&themenu.pixelLeft<rightboundary)
themenu.pixelLeft+=5
else if(document.layers&&themenu.left<rightboundary)
themenu.left+=5
else if (window.pullit)
clearInterval(pullit)
}function drawengine(){
if (document.all&&themenu.pixelLeft>leftboundary)
themenu.pixelLeft-=5
else if(document.layers&&themenu.left>leftboundary)
themenu.left-=5
else if (window.drawit)
clearInterval(drawit)
}</script>
<BODY>
</BODY>
</HTML>
- js 不支持firefox 如何修改才可以支持!
- 怎样才可以修改cad线型
- FireFox不支持document.all,可以用document.getElementsByTagName("*") 代替
- mysql 如何设置才可以远程访问
- 修改梅花雪日历控件,支持firefox
- 新版本的Firefox浏览器不支持firebug JS调试的问题
- uploadify 控件的按钮不支持多国语言,这里介绍如何修改后使其支持多国语言。
- 可以读写二进制文件的类(支持加密,不支持多线程)
- JS响应键盘操作(支持firefox)
- Js动态删除行(支持FireFox)
- FireFox如何支持DHTML非标准属性:innerText
- selenium server如何支持高版本firefox
- js中不支持getClassName,如何获取呢
- 如何让ajaxfileupload.js支持IE9,IE10,并可以传递多个参数?
- 如何让ajaxfileupload.js支持IE9,IE10,并可以传递多个参数?
- 如何让ajaxfileupload.js支持IE9,IE10,并可以传递多个参数?
- firefox不支持innerText
- firefox不支持innerText
- 经济利益催生恶意软件工业
- asp.net前台调用后台方法传参数
- 根付款相关的表
- 如何判断一个float/double是不是一个有效的值
- 解决JPA延迟加载错误问题
- js 不支持firefox 如何修改才可以支持!
- 祝我们的祖国万岁!
- 注射式攻击
- 跟发票相关的表
- Loadrunner Analysis——Web Page Diagnostics
- Merge 压缩表 有可能导致 enq:ts-contention事件
- JDBC读取clob字段
- 一个查看MSSQL数据库中所有表信息的SQL语句
- windows server 2008安装thinkpad 无线wifi和access conntections还有指纹软件失败的解决办法