当前位置: 首页 > 工具软件 > XMB > 使用案例 >

XMB数字。

洪飞鸿
2023-12-01

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>

<BODY>
<script>
n0 =
  "#define t_width 3/n"
+ "#define t_height 5/n"
+ "static char t_bits[] = {0xF,0x5,0x5,0x5,0xF}";
n1 =
  "#define t_width 3/n"
+ "#define t_height 5/n"
+ "static char t_bits[] = {0x4,0x4,0x4,0x4,0x4}";
n2 =
  "#define t_width 3/n"
+ "#define t_height 5/n"
+ "static char t_bits[] = {0xF,0x4,0xF,0x1,0xF}";
n3 =
  "#define t_width 3/n"
+ "#define t_height 5/n"
+ "static char t_bits[] = {0xF,0x4,0xF,0x4,0xF}";
n4 =
  "#define t_width 3/n"
+ "#define t_height 5/n"
+ "static char t_bits[] = {0x5,0x5,0xF,0x4,0x4}";
n5 =
  "#define t_width 3/n"
+ "#define t_height 5/n"
+ "static char t_bits[] = {0xF,0x1,0xF,0x4,0xF}";
n6 =
  "#define t_width 3/n"
+ "#define t_height 5/n"
+ "static char t_bits[] = {0xF,0x1,0xF,0x5,0xF}";
n7 =
  "#define t_width 3/n"
+ "#define t_height 5/n"
+ "static char t_bits[] = {0xF,0x4,0x4,0x4,0x4}";
n8 =
  "#define t_width 3/n"
+ "#define t_height 5/n"
+ "static char t_bits[] = {0xF,0x5,0xF,0x5,0xF}";
n9 =
  "#define t_width 3/n"
+ "#define t_height 5/n"
+ "static char t_bits[] = {0xF,0x5,0xF,0x4,0xF}";

function setImg()
{
 num.src = 'javascript: n' + Math.floor(Math.random()*10);
}
 setInterval("setImg()",100);
</script>
<center>
<img id="num" src="javascript: n0;" width="15" height="25">
</center>
</BODY>
</HTML>

 类似资料: