·用户注册
·用户登陆
·用户中心
首页
+
网络学院
+
网页特效
+
实用工具
+
网络资源
+
字体下载
+
娱乐世界
+
时尚前沿
+
图片中心
+
动漫天地
+
金石社区
图形
-
网页设计
-
优化
-
动易
-
动网
-
HTML
-
PSD
-
FLASH模板
-
插件
-
杀毒
-
系统工具
-
FLASH音乐
-
FLASH游戏
-
美女
您现在的位置:
金石网
>>
网页特效
>>
综合特效
>> 特效正文
网页源代码加密器
『 更新时间:2006-4-1 』『 字体:
变小
变大
』『 作者:未知 | 来源:网络 』
把如下代码加入<body>区域中: 要完成此效果把如下代码加入到<body>区域中 <script language=JavaScript> <!-- var i=0; var ie=(document.all)?1:0; var ns=(document.layers)?1:0; function initStyleElements() /* Styles for Buttons Init */ { var c = document.pad; if (ie) { //c.text.style.backgroundColor="#DDDDDD"; c.compileIt.style.backgroundColor="#C0C0A8"; c.compileIt.style.cursor="hand"; c.select.style.backgroundColor="#C0C0A8"; c.select.style.cursor="hand"; c.view.style.backgroundColor="#C0C0A8"; c.view.style.cursor="hand"; c.retur.style.backgroundColor="#C0C0A8"; c.retur.style.cursor="hand"; c.clear.style.backgroundColor="#C0C0A8"; c.clear.style.cursor="hand"; } else return; } /* Buttons Enlightment of "Compilation" panel */ function LightOn(what) { if (ie) what.style.backgroundColor = '#E0E0D0'; else return; } function FocusOn(what) { if (ie) what.style.backgroundColor = '#EBEBEB'; else return; } function LightOut(what) { if (ie) what.style.backgroundColor = '#C0C0A8'; else return; } function FocusOff(what) { if (ie) what.style.backgroundColor = '#DDDDDD'; else return; } /* Buttons Enlightment of "Compilation" panel */ function generate() /* Generation of "Compilation" */ { code = document.pad.text.value; if (code) { document.pad.text.value='Compiling...Please wait!'; setTimeout("compile()",1000); } else alert('请先把需待加密的代码copy到此框中') } function compile() /* The "Compilation" */ { document.pad.text.value=''; compilation=escape(code); document.pad.text.value="<script>\n<!--\ndocument.write(unescape(\""+compilation+"\"));\n//-->\n<\/script>"; i++; if (i=1) alert("代码已编译1次!"); else alert("代码已编译"+i+"次!"); } function selectCode() /* Selecting "Compilation" for Copying */ { if(document.pad.text.value.length>0) { document.pad.text.focus(); document.pad.text.select(); } else alert('无任何内容被选中!') } function preview() /* Preview for the "Compilation" */ { if(document.pad.text.value.length>0) { pr=window.open("","Preview","scrollbars=1,menubar=1,status=1,width=700,height=320,left=50,top=110"); pr.document.write(document.pad.text.value); } else alert('无任何内容可供预览!') } function uncompile() /* Decompiling a "Compilation" */ { if (document.pad.text.value.length>0) { source=unescape(document.pad.text.value); document.pad.text.value=""+source+""; } else alert('请把需待还原的代码copy到此框中!') } // --> </script> <table border=0 cellpadding=0 cellspacing=0 width="100%"> <tbody> <tr> <td width="100%"> <form method=post name=pad align="center"> <div align="center"> <textarea cols=58 name=textarea rows=11 style="BACKGROUND-COLOR: #ebebeb; WIDTH: 95%"></textarea> <br> <input name=compileIt2 onClick=generate() onMouseOut=LightOut(this) onMouseOver=LightOn(this) type=button value=加密> <input name=select2 onClick=selectCode() onMouseOut=LightOut(this) onMouseOver=LightOn(this) type=button value=选中> <input name=view2 onClick=preview() onMouseOut=LightOut(this) onMouseOver=LightOn(this) type=button value=预览> <input name=retur2 onClick=uncompile() onMouseOut=LightOut(this) onMouseOver=LightOn(this) type=button value=还原> <input name=clear2 onMouseOut=LightOut(this) onMouseOver=LightOn(this) type=reset value=清除> </div> </FORM></TD></TR></tbody></TABLE>
【点击数:】【
发表评论
】【
加入收藏
】【
告诉好友
】【
打印此文
】【
关闭窗口
】
相
关文章
您的姓名:
评分等级:
1分
2分
3分
4分
5分
评论内容:
1、严禁发表危害国家安全、政治、黄色淫秽等内容的评论。
2、用户需对自己在使用金石网服务过程中的行为承担法律责任。
3、本站管理员有权保留或删除评论内容。
4、评论内容只代表网友个人观点,与本网站立场无关。
自动显示访问者IP地址代码
3721拦截不了的弹窗代码
强制设置为主页
主页被强制修改
贪吃蛇游戏
俄罗斯方块
看谁围的圈多
射击游戏:A就是大炮
十字定全局
爱情游戏测试
网
友评论
|
设为首页
|
加入收藏
|
联系我们
|
版权申明
|
友情链接
|
站点地图
|
网站帮助
|
网站留言
|
广告服务
|
Copyright © 2001-2008
K
ings
N
et.biz All Rights Reserved. 金石工作室 版权所有