制作特殊字的脚本


Posted in Javascript onJune 26, 2006

<html>
<head>
<title>特殊文字的制作</title>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<body text=#00ff00 bgColor=black  onload=e(d.q)>
<CENTER><script language="JavaScript" src="../news2.js"></script></CENTER>
<center>特殊文字的制作</font></center>
<br>
<center>
<table border=2 bordercolor=blue borderlight=green>
<tr><td align=center><font size=5 color=red face="Arial, Helvetica, sans-serif"><strong>下面为效果显示</strong></font></td></tr>
<tr><td align=left>
<SCRIPT>d=document;wr='write';v=void 0;u='';sn='<span style="background-color:#00ff00;color:black;">';sa='</span>';function di(x,y){for(i=1;i<x;i++)d[wr](y);}d.layers?n4=1:n4=0;d.all?i4=1:i4=0;i4&&navigator.platform.indexOf('Mac')!=-1?i4=0:v;fn='font-family:Courier;font-size:12px;';!n4?vb='.g{background-color:black;border-color:green;border-style:solid;border-width:1px;color:#00ff00;'+fn+'}.h{background-color:#00FF00;border:none;color:black;'+fn+'}':vb=u;di(2,'<style>'+vb+'body{'+fn+'}<\/style>');el='elements';vl='value';ih='innerHTML';sp=' ';br='<br>';a1='15';a2='1234';a3='12345';a4='234';a5='2345';a6='1';a7='3';a8='5';a9='135';b0='24';b1='23';b2='2';b3='14';b4='123';b5='4';b6='34';b7='235';f=new Array();f['A']=[a4,a1,a1,a3,a1,a1,a1];f['B']=[a2,a1,a1,a2,a1,a1,a2];f['C']=[a5,a6,a6,a6,a6,a6,a5];f['D']=[a2,a1,a1,a1,a1,a1,a2];f['E']=[a3,a6,a6,a2,a6,a6,a3];f['F']=[a3,a6,a6,a2,a6,a6,a6];f['G']=[a5,a6,a6,'1345',a1,a1,a5];f['H']=[a1,a1,a1,a3,a1,a1,a1];f['I']=[a3,a7,a7,a7,a7,a7,a3];f['J']=[a5,a8,a8,a8,a1,a1,a4];f['K']=[a1,b3,'13','12','13',b3,a1];f['L']=[a6,a6,a6,a6,a6,a6,a3];f['M']=[a1,'1245',a9,a1,a1,a1,a1];f['N']=[a1,a1,'125',a9,'145',a1,a1];f['O']=[a4,a1,a1,a1,a1,a1,a4];f['P']=[a2,a1,a1,a2,a6,a6,a6];f['Q']=[a4,a1,a1,a1,a9,b3,b7];f['R']=[a2,a1,a1,a2,'13',b3,a1];f['S']=[a5,a6,a6,a4,a8,a8,a2];f['T']=[a3,a7,a7,a7,a7,a7,a7];f['U']=[a1,a1,a1,a1,a1,a1,a4];f['V']=[a1,a1,a1,a1,a1,b0,a7];f['W']=[a1,a1,a9,a9,a9,a9,b0];f['X']=[a1,a1,b0,a7,b0,a1,a1];f['Y']=[a1,a1,b0,a7,a7,a7,a7];f['Z']=[a3,a8,b5,a7,b2,a6,a3];f['a']=[u,u,a4,a8,a5,a1,a5];f['b']=[a6,a6,a2,a1,a1,a1,a2];f['c']=[u,u,a5,a6,a6,a6,a5];f['d']=[a8,a8,a5,a1,a1,a1,a5];f['e']=[u,u,a4,a1,a3,a6,a5];f['f']=['345',b2,a3,b2,b2,b2,b2];f['g']=[u,u,a5,a1,a5,a8,a4];f['h']=[a6,a6,a2,a1,a1,a1,a1];f['i']=[a7,u,b4,a7,a7,a7,a3];f['j']=[a8,u,a8,a8,a8,a1,a4];f['k']=[a6,a6,a1,b3,b4,b3,a1];f['l']=[b4,a7,a7,a7,a7,a7,a3];f['m']=[u,u,b0,a9,a9,a9,a9];f['n']=[u,u,a4,a1,a1,a1,a1];f['o']=[u,u,a4,a1,a1,a1,a4];f['p']=[u,u,a2,a1,a2,a6,a6];f['q']=[u,u,a5,a1,a5,a8,a8];f['r']=[u,u,a4,a1,a6,a6,a6];f['s']=[u,u,a5,a6,a4,a8,a2];f['t']=[u,b2,a3,b2,b2,b2,'345'];f['u']=[u,u,a1,a1,a1,a1,a4];f['v']=[u,u,a1,a1,a1,b0,a7];f['w']=[u,u,a9,a9,a9,a9,b0];f['x']=[u,u,a1,b0,a7,b0,a1];f['y']=[u,u,a1,a1,a5,a8,a4];f['z']=[u,u,a3,b5,a7,b2,a3];f['1']=[b4,a7,a7,a7,a7,a7,a3];f['2']=[a2,a8,a8,a4,a6,a6,a3];f['3']=[a2,a8,a8,a4,a8,a8,a2];f['4']=[b6,b0,b3,b3,a3,b5,b5];f['5']=[a3,a6,a6,a2,a8,a8,a2];f['6']=[a5,a6,a6,a2,a1,a1,a4];f['7']=[a3,a8,a8,b5,a7,a7,a7];f['8']=[a4,a1,a1,a4,a1,a1,a4];f['9']=[a4,a1,a1,a5,a8,a8,a2];f['0']=f['O'];f['`']=[a6,b2,a7,u,u,u,u];f['~']=[b7,b3,u,u,u,u,u];f['!']=[a7,a7,a7,a7,a7,u,a7];f['@']=[a2,a8,b7,a9,a9,a9,a4];f['#']=[b0,a3,b0,a3,b0,u,u];f['$']=[a7,a5,a6,a4,a8,a2,a7];f['%']=['25',a9,b0,a7,b0,a9,b3];f['^']=[a7,b0,a1,u,u,u,u];f['&']=[a4,a6,a6,'25',a9,b3,b7];f['*']=[a7,a9,a4,a9,a7,u,u];f['(']=[b6,b2,b2,b2,b2,b2,b6];f[')']=[b6,a8,a8,a8,a8,a8,b6];f[']']=[b1,b5,b5,b5,b5,b5,b1];f['-']=[u,u,u,a3,u,u,u];f['=']=[u,u,a3,u,a3,u,u];f['+']=[u,a7,a7,a3,a7,a7,u];f['[']=[a4,b2,b2,b2,b2,b2,a4];f[']']=[a4,b5,b5,b5,b5,b5,a4];f['{']=[b6,b2,b2,a6,b2,b2,b6];f['}']=[b1,b5,b5,a8,b5,b5,b1];f['|']=[a7,a7,a7,a7,a7,a7,a7];f['\\']=[a6,a6,b2,a7,b5,a8,a8];f['/']=[a8,a8,b5,a7,b2,a6,a6];f['<']=[u,b5,a7,b2,a7,b5,u];f['>']=[u,b2,a7,b5,a7,b2,u];f['?']=[a4,a1,b5,a7,a7,u,a7];f['.']=[u,u,u,u,u,u,a7];f[':']=[u,u,a7,u,u,u,a7];f[';']=[u,u,a7,u,u,a7,b5];f[',']=[u,u,u,u,u,a7,b5];f['\'']=[a7,a7,a7,u,u,u,u];f['"']=[b0,b0,b0,u,u,u,u];f['_']=[u,u,u,u,u,u,a3];f['id']=[u,u,u,u,a6,b0,a7,u];f[' ']=[u,u,u,u,u,u,u];if(n4)window.onResize=rI;function rI(){window.history.go(0);}function w(y,z){sp=z.charCodeAt(0)<256?" ":" ";y=y.split('');for(i in y)!f[y[i]]?y[i]='id':v;s=u;for(i=0;i<7;i++){for(k in y){for(j=1;j<6;j++){y[k]=='id'?i==2?j==5?s+=sn+"O"+sa:s+=sp:i==3?j==2?s+=sn+"I"+sa:j==4?s+=sn+"E"+sa:s+=sp:i==4?j==3?s+=sn+"D"+sa:s+=sp:s+=sp:f[y[k]][i].indexOf(j)!=-1?s+=z:s+=sp;}s+=sp;}s+=br;}return s;}function e(v){n4?l=d.layers['p']:i4?l=d.all['p']:l=d.getElementById('p');r=v[el][1][vl].split(u);t=d.q1[el][0];z=r[0];y=v[el][0][vl];!n4?i4?l[ih]=br+w(y,z):l[ih]=w(y,z):l.document[wr]('<span style="font-family:Courier;font-size:12px;">'+w(y,z));n4?l.document.close():v;t[vl]="<div style='font-family:Courier'>"+w(y,z)+"</div>";}</SCRIPT>

<SCRIPT>di(2,'IDEO ASCII TYPESETTER');di(56,sp);di(2,':)'+br);di(81,'-');</SCRIPT>

<FORM name=q><BR><BR>1. 请输入字母:    <INPUT class=g  value=chenxi><BR><BR>2. 请选择一种字符: <INPUT class=g size=5 value=■><BR><BR>3.
Generate ASCII:
  <INPUT class=h onclick=e(d.q) type=button value=Run><BR><BR><BR>
<SCRIPT>di(81,'-');di(2,br+'copy & paste:');di(38,sp);</SCRIPT><BR><BR><BR>
<DIV id=p style="WIDTH: auto; POSITION: absolute; HEIGHT: auto"></DIV>
<SCRIPT>di(11,br);di(81,'-');</SCRIPT>
<BR>copy & paste into html:<BR><BR><BR></FORM>
<FORM name=q1><TEXTAREA rows=3 cols=67></TEXTAREA><BR><BR></FORM>

</td></tr>
</table></center>
<br>
<br><br>
<br><br>
<br><br>
<br>

 

Javascript 相关文章推荐
理解Javascript_08_函数对象
Oct 15 Javascript
基于Jquery的仿照flash放大图片效果代码
Mar 16 Javascript
JavaScript中的16进制字符(改进)
Nov 21 Javascript
jquery 关于event.target使用的几点说明介绍
Apr 26 Javascript
中文路径导致unitpngfix.js不正常的解决方法
Jun 26 Javascript
JavaScript实现QueryString获取GET参数的方法
Jul 02 Javascript
JS 去前后空格大全(IE9亲测)
Jul 15 Javascript
jQuery实现移动端手机商城购物车功能
Sep 24 Javascript
JavaScript 链式结构序列化详解
Sep 30 Javascript
element ui 表格动态列显示空白bug 修复方法
Sep 04 Javascript
vue项目出现页面空白的解决方案
Oct 31 Javascript
Vue实现商品飞入购物车效果(电商项目)
Nov 26 Javascript
可拖动窗口,附带鼠标控制渐变透明,开启关闭功能
Jun 26 #Javascript
一端时间轮换的广告
Jun 26 #Javascript
将HTML自动转为JS代码
Jun 26 #Javascript
采用CSS和JS,刚好我最近有个站点要用到下拉菜单!
Jun 26 #Javascript
网站上面有这种切换效果
Jun 26 #Javascript
accesskey 提交
Jun 26 #Javascript
Ctrl+Enter提交内容信息
Jun 26 #Javascript
You might like
PHP 面向对象实现代码
2009/11/11 PHP
php正则表达匹配中文问题分析小结
2012/03/25 PHP
openflashchart 2.0 简单案例php版
2012/05/21 PHP
phpmyadmin提示The mbstring extension is missing的解决方法
2014/12/17 PHP
php基于CodeIgniter实现图片上传、剪切功能
2016/05/14 PHP
CodeIgniter框架基本增删改查操作示例
2017/03/23 PHP
PHP预定义超全局数组变量小结
2018/08/20 PHP
JQuery勾选指定name的复选框集合并显示的方法
2015/05/18 Javascript
小心!AngularJS结合RequireJS做文件合并压缩的那些坑
2016/01/09 Javascript
Knockoutjs 学习系列(二)花式捆绑
2016/06/07 Javascript
JS基于递归算法实现1,2,3,4,5,6,7,8,9倒序放入数组中的方法
2017/01/03 Javascript
vue-star评星组件开发实例
2018/03/01 Javascript
jQuery实现炫丽的3d旋转星空效果
2018/07/04 jQuery
用POSTMAN发送JSON格式的POST请求示例
2018/09/04 Javascript
详解vuex状态管理模式
2018/11/01 Javascript
原生JS实现留言板
2020/03/26 Javascript
将Django使用的数据库从MySQL迁移到PostgreSQL的教程
2015/04/11 Python
Python3中的真除和Floor除法用法分析
2016/03/16 Python
python学习 流程控制语句详解
2016/06/01 Python
python并发编程之多进程、多线程、异步和协程详解
2016/10/28 Python
详解python多线程、锁、event事件机制的简单使用
2018/04/27 Python
Python3.7实现中控考勤机自动连接
2018/08/28 Python
Python脚本完成post接口测试的实例
2018/12/17 Python
numpy中三维数组中加入元素后的位置详解
2019/11/28 Python
python getopt模块使用实例解析
2019/12/18 Python
python cv2.resize函数high和width注意事项说明
2020/07/05 Python
Python 如何实现数据库表结构同步
2020/09/29 Python
remote接口和home接口主要作用
2013/05/15 面试题
优秀毕业生求职信范文
2014/01/02 职场文书
运动会领导邀请函
2014/01/10 职场文书
初中校园之声广播稿
2014/01/15 职场文书
乡镇信息公开实施方案
2014/03/23 职场文书
物流管理专业自荐信
2014/06/23 职场文书
vue引入Excel表格插件的方法
2021/04/28 Vue.js
解决mysql:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO/YES)
2021/06/26 MySQL
Python如何加载模型并查看网络
2022/07/15 Python