复制代码 代码如下:
< script language = "javascript" >
document.onkeydown = chang_page;
function chang_page(event) {
var event = event ? event : (window.event ? window.event : null);
var key = event.keyCode || event.which;
if (key == 37 || key == 33)
location = '';
if (key == 39 || key == 34)
location = '';
}
< / script >
兼容IE,google,firefox的键盘上一张下一张
< script language = "javascript" >
document.onkeydown = chang_page;
function chang_page(event) {
var event = event ? event : (window.event ? window.event : null);
var key = event.keyCode || event.which;
if (key == 37 || key == 33)
location = '';
if (key == 39 || key == 34)
location = '';
}
< / script >
兼容IE,google,firefox的键盘上一张下一张
标签:
上一张,下一张
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
狼山资源网 Copyright www.pvsay.com
暂无“键盘上一张下一张兼容IE/google/firefox等浏览器”评论...