asp

位置:IT落伍者 >> asp >> 浏览文章

alixixi runcode.asp的代码不错的应用


发布日期:2024年01月16日
 
alixixi runcode.asp的代码不错的应用
<!DOCTYPEhtmlPUBLIC//WC//DTDXHTMLTransitional//EN>

<htmlxmlns=>

<head>

<metahttpequiv=ContentTypecontent=text/html;charset=gb/>

<title></title>

</head>

<STYLE>

BODY{

SCROLLBARFACECOLOR:#EFFE;

SCROLLBARHIGHLIGHTCOLOR:#AACE;

SCROLLBARSHADOWCOLOR:#fcfcfc;

SCROLLBARDLIGHTCOLOR:#fcfcfc;

SCROLLBARARROWCOLOR:#;

SCROLLBARTRACKCOLOR:#fcfcfc;

SCROLLBARDARKSHADOWCOLOR:#AACE;

SCROLLBARBASECOLOR:#fcfcfc

}

</STYLE>

<script>

functionclick(e){

if(documentall){

if(eventbutton==||eventbutton==||eventbutton==){

oncontextmenu=returnfalse;

}

}

if(documentlayers){

if(ewhich==){

oncontextmenu=returnfalse;

}

}

}

if(documentlayers){

documentcaptureEvents(EventMOUSEDOWN);

}

documentonmousedown=click;

documentoncontextmenu=newFunction(returnfalse;)

vartravel=true

varhotkey=/*hotkey即为热键的键值是ASII码这里代表c键*/

if(documentlayers)

documentcaptureEvents(EventKEYDOWN)

functiongogo(e)

{if(documentlayers){

if(ewhich==hotkey&&travel){

//alert(操作错误或许是您按错了按键!);

}}

elseif(documentall){

if(eventkeyCode==hotkey&&travel){

//alert(操作错误或许是您按错了按键!);

}}

}

documentonkeydown=gogo

</script>

<linkid=csstype=text/cssrel=stylesheet>

<scriptsrc=commonjslanguage=javascripttype=text/javascript></script>

<divstyle=marginleft:px;>欢迎光临网页脚本特效中心点击运行按钮演示特效<br/>

<br/><TEXTAREAid=tempclass=htmlarea><html>

<title>网页特效代码|JsCodeCN|全选并复制表单中内容</title>

<head>

<style>

highlighttext{

backgroundcolor:yellow;

fontweight:bold;

}

</style>

</head>

<formname=test>

<inputtype=buttonvalue=全选并复制onclick=javascript:HighlightAll(testselect)>

<textareaname=selectrows=cols=>你好欢迎光临网页特效观止;&#textarea>

</form>

<scriptlanguage=Javascript>

<!

varcopytoclip=

functionHighlightAll(theField){

vartempval=eval(document+theField)

tempvalfocus()

tempvalselect()

if(documentall&©toclip==){

therange=tempvalcreateTextRange()

therangeexecCommand(Copy)

windowstatus=Contentshighlightedandcopiedtoclipboard!

setTimeout(windowstatus=)

}

}

//>

</script>

</head>

</html>

<a>欢迎访问网页特效集</a></TEXTAREA><br/><INPUTonclick=runEx(temp)type=buttonvalue=运行class=submit/><INPUTonclick=doCopy(temp)type=buttonvalue=复制class=submit/><INPUTonclick=doSave(temp)type=buttonvalue=保存class=submit/><inputtype=buttononclick=parentwindowneatDialogclose()class=submitvalue=关闭/><spanclass=fontgray>[提示Ctrl+A全部选择可先修改部分代码后运行]</span></div>

<body>

</body>

</html>

打包文件下载               

上一篇:Jasperreport 报表开发指南

下一篇:基础篇:认识ASP内置对象与组件