图形数据的转化 http://blog.csdn.net/gjd111686/archive/2004/07/16/42852.aspx 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <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}";nD="#define t_width 3\n"+"#define t_height 5\n"+"static char t_bits[]={0x0,0x0,0xF,0x0,0x0}";nS="#define t_width 3\n"+"#define t_height 5\n"+"static char t_bits[]={0x0,0x0,0x0,0x0,0x0}";nT="#define t_width 3\n"+"#define t_height 5\n"+"static char t_bits[]={0x0,0xF,0x0,0xF,0x0}";function setImg(){ var now=new Date(); var month=now.getMonth()+1; var strNow=strFormat(""+now.getYear(),4)+"D"+strFormat(""+month,2)+"D"+strFormat(""+now.getDate(),2)+"S"+strFormat(""+now.getHours(),2)+"T"+strFormat(""+now.getMinutes(),2)+"T"+strFormat(""+now.getSeconds(),2)+"T"+strFormat(""+now.getMilliseconds(),3); ClockID.innerHTML=""; var vImg=""; for(iInde=0;iIndex<strNow.length;iIndex++) { vImg=vImg+"<img src=\"javascript:n"+strNow.substr(iIndex,1)+";\" width=\"9\" height=\"15\">\n"; ClockID.innerHTML=vImg; }}function strFormat(str,iLen){ if(str.length<iLen) { for(iIndex=0;iIndex<iLen-str.length;iIndex++) { str="0"+str; } return str; } else {return str;}}setInterval("setImg()",2000);</script><center><div id="ClockID"></div></center> gjd111686(数字金刚) :我见过的好像比你这个简单 测试了一下,IE似乎不支持base64(比上面的要简单些)上面的方法是不是只能显示单色啊?这种编码叫什么名字啊? 确实只支持单色,名字叫做xbm不知道ne,mozilla支持不 jquery 动态生成的div 不能绑定事件 js setTimeout 问题 高手请进! 求助JS跳转代码。 各位高手帮忙,怎么用js判断要上传的文件存在与否。 ligerUI中tree获取服务器数据 想实现这样一个效果 如何实现文字的位置交换?谢谢 js中ds的作用是??? 请教高手!!(急急)通过javascript能够得到html中的页面的链接地址吗?在线苦等 请大佬看看 不懂JS,请大家指教菜鸟问题!解决马上给分! 请问怎么才能将画面上的一个table里的一行全行删除?
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}";
nD=
"#define t_width 3\n"
+"#define t_height 5\n"
+"static char t_bits[]={0x0,0x0,0xF,0x0,0x0}";
nS=
"#define t_width 3\n"
+"#define t_height 5\n"
+"static char t_bits[]={0x0,0x0,0x0,0x0,0x0}";
nT=
"#define t_width 3\n"
+"#define t_height 5\n"
+"static char t_bits[]={0x0,0xF,0x0,0xF,0x0}";
function setImg()
{
var now=new Date();
var month=now.getMonth()+1;
var strNow=strFormat(""+now.getYear(),4)+"D"+strFormat(""+month,2)+"D"+strFormat(""+now.getDate(),2)+"S"+strFormat(""+now.getHours(),2)+"T"+strFormat(""+now.getMinutes(),2)+"T"+strFormat(""+now.getSeconds(),2)+"T"+strFormat(""+now.getMilliseconds(),3);
ClockID.innerHTML="";
var vImg="";
for(iInde=0;iIndex<strNow.length;iIndex++)
{
vImg=vImg+"<img src=\"javascript:n"+strNow.substr(iIndex,1)+";\" width=\"9\" height=\"15\">\n";
ClockID.innerHTML=vImg;
}
}
function strFormat(str,iLen)
{
if(str.length<iLen)
{
for(iIndex=0;iIndex<iLen-str.length;iIndex++)
{
str="0"+str;
}
return str;
}
else
{return str;}
}
setInterval("setImg()",2000);
</script>
<center>
<div id="ClockID">
</div>
</center>
上面的方法是不是只能显示单色啊?这种编码叫什么名字啊?
不知道ne,mozilla支持不