相思资源网 Design By www.200059.com
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
</head>
<STYLE>
BODY {
SCROLLBAR-FACE-COLOR: #E8F5FE;
SCROLLBAR-HIGHLIGHT-COLOR: #AAC7E9;
SCROLLBAR-SHADOW-COLOR: #fcfcfc;
SCROLLBAR-3DLIGHT-COLOR: #fcfcfc;
SCROLLBAR-ARROW-COLOR: #240024;
SCROLLBAR-TRACK-COLOR: #fcfcfc;
SCROLLBAR-DARKSHADOW-COLOR: #AAC7E9;
SCROLLBAR-BASE-COLOR: #fcfcfc
}
</STYLE>
<script>
function click(e) {
if (document.all) {
if (event.button==1||event.button==2||event.button==3) {
oncontextmenu='return false';
}
}
if (document.layers) {
if (e.which == 3) {
oncontextmenu='return false';
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
document.oncontextmenu = new Function("return false;")
var travel=true
var hotkey=17 /* hotkey即为热键的键值,是ASII码,这里99代表c键 */
if (document.layers)
document.captureEvents(Event.KEYDOWN)
function gogo(e)
{ if (document.layers) {
if (e.which==hotkey&&travel){
//alert("操作错误.或许是您按错了按键!");
} }
else if (document.all){
if (event.keyCode==hotkey&&travel){
//alert("操作错误.或许是您按错了按键!");
}}
}
document.onkeydown=gogo
</script>
<link id="css" href="style1.css" type="text/css" rel="stylesheet">
<script src="/UploadFiles/2021-04-02/common.js"><div style="margin-left:8px;">欢迎光临网页脚本特效中心,点击运行按钮演示特效:<br/>
<br /><TEXTAREA id="temp57711" class="htmlarea"><html>
<title>网页特效代码|JsCode.CN|---全选并复制表单中内容</title>
<head>
<style>
.highlighttext{
background-color:yellow;
font-weight:bold;
}
</style>
</head>
<form name=test>
<input type="button" value="全选并复制" onclick="javascript:HighlightAll('test.select1')" >
<textarea name="select1" rows=3 cols=46 >你好,欢迎光临网页特效观止http://www.jscode.cn</textarea>
</form>
<script language="Javascript">
<!--
var copytoclip=1
function HighlightAll(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
if (document.all && copytoclip==1){
therange=tempval.createTextRange()
therange.execCommand("Copy")
window.status="Contents highlighted and copied to clipboard!"
setTimeout("window.status=''",1800)
}
}
//-->
</script>
</head>
</html>
<a href="https://www.jb51.net/">欢迎访问网页特效集</a></TEXTAREA><br/><INPUT onclick="runEx('temp57711')" type="button" value="运 行" class="submit1"/> <INPUT onclick="doCopy(temp57711)" type="button" value="复 制" class="submit1"/> <INPUT onclick="doSave(temp57711)" type="button" value="保 存" class="submit1"/> <input type=button onclick="parent.window.neatDialog.close()" class=submit1 value="关闭" /> <span class="fontgray12"> [提示:Ctrl+A 全部选择,可先修改部分代码后运行]</span></div>
<body>
</body>
</html>
打包文件下载
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
</head>
<STYLE>
BODY {
SCROLLBAR-FACE-COLOR: #E8F5FE;
SCROLLBAR-HIGHLIGHT-COLOR: #AAC7E9;
SCROLLBAR-SHADOW-COLOR: #fcfcfc;
SCROLLBAR-3DLIGHT-COLOR: #fcfcfc;
SCROLLBAR-ARROW-COLOR: #240024;
SCROLLBAR-TRACK-COLOR: #fcfcfc;
SCROLLBAR-DARKSHADOW-COLOR: #AAC7E9;
SCROLLBAR-BASE-COLOR: #fcfcfc
}
</STYLE>
<script>
function click(e) {
if (document.all) {
if (event.button==1||event.button==2||event.button==3) {
oncontextmenu='return false';
}
}
if (document.layers) {
if (e.which == 3) {
oncontextmenu='return false';
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
document.oncontextmenu = new Function("return false;")
var travel=true
var hotkey=17 /* hotkey即为热键的键值,是ASII码,这里99代表c键 */
if (document.layers)
document.captureEvents(Event.KEYDOWN)
function gogo(e)
{ if (document.layers) {
if (e.which==hotkey&&travel){
//alert("操作错误.或许是您按错了按键!");
} }
else if (document.all){
if (event.keyCode==hotkey&&travel){
//alert("操作错误.或许是您按错了按键!");
}}
}
document.onkeydown=gogo
</script>
<link id="css" href="style1.css" type="text/css" rel="stylesheet">
<script src="/UploadFiles/2021-04-02/common.js"><div style="margin-left:8px;">欢迎光临网页脚本特效中心,点击运行按钮演示特效:<br/>
<br /><TEXTAREA id="temp57711" class="htmlarea"><html>
<title>网页特效代码|JsCode.CN|---全选并复制表单中内容</title>
<head>
<style>
.highlighttext{
background-color:yellow;
font-weight:bold;
}
</style>
</head>
<form name=test>
<input type="button" value="全选并复制" onclick="javascript:HighlightAll('test.select1')" >
<textarea name="select1" rows=3 cols=46 >你好,欢迎光临网页特效观止http://www.jscode.cn</textarea>
</form>
<script language="Javascript">
<!--
var copytoclip=1
function HighlightAll(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
if (document.all && copytoclip==1){
therange=tempval.createTextRange()
therange.execCommand("Copy")
window.status="Contents highlighted and copied to clipboard!"
setTimeout("window.status=''",1800)
}
}
//-->
</script>
</head>
</html>
<a href="https://www.jb51.net/">欢迎访问网页特效集</a></TEXTAREA><br/><INPUT onclick="runEx('temp57711')" type="button" value="运 行" class="submit1"/> <INPUT onclick="doCopy(temp57711)" type="button" value="复 制" class="submit1"/> <INPUT onclick="doSave(temp57711)" type="button" value="保 存" class="submit1"/> <input type=button onclick="parent.window.neatDialog.close()" class=submit1 value="关闭" /> <span class="fontgray12"> [提示:Ctrl+A 全部选择,可先修改部分代码后运行]</span></div>
<body>
</body>
</html>
打包文件下载
相思资源网 Design By www.200059.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
相思资源网 Design By www.200059.com
暂无alixixi runcode.asp的代码不错的应用的评论...