资源预览内容
第1页 / 共15页
第2页 / 共15页
第3页 / 共15页
第4页 / 共15页
第5页 / 共15页
第6页 / 共15页
第7页 / 共15页
第8页 / 共15页
第9页 / 共15页
第10页 / 共15页
亲,该文档总共15页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
【网页特效代码网页特效代码- -文字特效文字特效】非常酷的晶体管文字显示效果非常酷的晶体管文字显示效果, ,而且可而且可以把小写转成大写以把小写转成大写/_CONFIGURATION AREA_/THIS LED SCRIPT TAKES UP 200 pixels HORIZONTAL and 28 pixels VERTICAL -Have Fun :-)/YOUR MESSAGE GOES ON NEXT 4 LINES DOWN, *ALLOWABLE CHARACTERS ARE: A-Z, Period, space, comma, numerals, question mark and message codes/THE 4 MESSAGE CODES: () - PAUSE FOR 3 SECONDS, (#) - FLASH FOR 3 SECONDS, () - SCROLL UP EFFECT, (_) - SUN EFFECT, ( $ ) - SPLIT EFFECT/EXAMPLE: var message=“_ Java ScriptSource! # For the best dhtml scripts. http:/javascript.internet.com “;var message=“Welcome to jzzy,thank you!. _“; var LEDonColor=Red; /color of the LEDs when they are onvar LEDoffColor=#7D0605; /color of the LEDs when they are offstartXPos=(screen.width/2)-100; /start of horizontal position eg. startXPos=20; places the leds 20 pixels from leftstartYPos=20; /start of vertical position/_END CONFIGURATION AREA_var IE=(document.all) ? true:false; var NS=(document.layers) ? true:false; var W3C=(document.getElementById) var d=document; if (window.offscreenBuffering) window.offscreenBuffering = true;function getCSS(id) if (IE) return d.allid /IEelse if (NS) return d.layersid /NS4else return d.getElementById(id)/W3C var alphabet=new Array(44);alphabet0=new Array(“0111111“,“1001000“,“1001000“,“1001000“,“0111111“); alphabet1=new Array(“1111111“,“1001001“,“1001001“,“1001001“,“0110110“);/Balphabet2=new Array(“0111110“,“1000001“,“1000001“,“1000001“,“0100010“); alphabet3=new Array(“1111111“,“1000001“,“1000001“,“1000001“,“0111110“);/Dalphabet4=new Array(“1111111“,“1001001“,“1001001“,“1001001“); alphabet5=new Array(“1111111“,“1001000“,“1001000“,“1001000“);/Falphabet6=new Array(“0111110“,“1000001“,“1000001“,“1001001“,“0101110“); alphabet7=new Array(“1111111“,“0001000“,“0001000“,“0001000“,“1111111“);/Halphabet8=new Array(“1000001“,“1111111“,“1000001“); alphabet9=new Array(“0000110“,“0000001“,“0000001“,“0000001“,“1111110“);/Jalphabet10=new Array(“1111111“,“0001000“,“0010100“,“0100010“,“1000001“); alphabet11=new Array(“1111111“,“0000001“,“0000001“,“0000001“);/Lalphabet12=new Array(“1111111“,“0010000“,“0001000“,“0010000“,“1111111“); alphabet13=new Array(“1111111“,“0010000“,“0001000“,“0000100“,“1111111“);/Nalphabet14=new Array(“0111110“,“1000001“,“1000001“,“1000001“,“0111110“); alphabet15=new Array(“1111111“,“1001000“,“1001000“,“1001000“,“0110000“);/Palphabet16=new Array(“0111110“,“1000001“,“1000001“,“1000011“,“0111111“); alphabet17=new Array(“1111111“,“1001000“,“1001100“,“1001010“,“0110001“);/Ralphabet18=new Array(“0110010“,“1001001“,“1001001“,“1001001“,“0100110“); alphabet19=new Array(“1000000“,“1000000“,“1111111“,“1000000“,“1000000“);/Talphabet20=new Array(“1111110“,“0000001“,“0000001“,“0000001“,“1111110“); alphabet21=new Array(“1110000“,“0001100“,“0000011“,“0001100“,“1110000“);/Valphabet22=new Array(“1111110“,“0000001“,“0000010“,“0001100“,“0000010“,“0000001“,“1111110“); alphabet23=new Array(“1100011“,“0010100“,“0001000“,“0010100“,“1100011“);/Xalphabet24=new Array(“1100000“,“0010000“,“0001111“,“0010000“,“1100000“); alphabet25=new Array(“1000011“,“1000101“,“1001001“,“1010001“,“1100001“);/Zalphabet26=new Array(“0000000“,“0000000“,“0000000“,“0000000“); alphabet27=new Array(“0000000“,“0000001“,“0000000“,“0000000“,“0000000“);/PERIODalphabet28=new Array(“0000000“,“0000000“,“1111101“,“0000000“,“0000000“);/!alphabet29=new Array(“0100001“,“1111111“,“0000001“); alphabet30=new Array(“0100011“,“1000101“,“1001001“,“1001001“,“0110001“);/2alphabet31=new Array(“0100010“,“1001001“,“1001001“,“1001001“,“0110110“); alphabet32=new Array(“0001000“,“0011000“,“0101000“,“1111111“,“0001000“);/4alphabet33=new Array(“1111001“,“1001001“,“1001001“,“1001001“,“1000110“); alphabet34=new Array(“0111110“,“1001001“,“1001001“,“1001001“,“0100110“);/6alphabet35=new Array(“1000011“,“1000100“,“1001000“,“1110000“); alphabet36=new Array(“0110110“,“1001001“,“1001001“,“1001001“,“0110110“);/8alphabet37=new Array(“0110010“,“1001001“,“1001001“,“1001001“,“0111110“); alphabet38=new Array(“0000001“,“0000010“,“0000000“);/COMMAalphabet39=new Array(“XXXXXXX“);/PAUSE ( )alphabet40=new Array(“YYYYYYY“);/FLASH ( # ) alphabet41=new Array(“DDDDDDD“);/SCROLL UP EFFECT ( )alphabet42=new Array(“SSSSSSS“);/SUN EFFECT ( _ )alphabet43=new Array(“0100000“,“1000000“,“1001101“,“1001000“,“0110000“);/?alphabet44=new Array(“QQQQQQQ“);/SPLIT EFFECT ( $ )message=message.toUpperCase(); /make message uppercasevar messageArray=new Array(); /make messageArray-an array of the letters in the messagevar columnCount=0; /variable to count columns in messageArray.lengthfor (i=0; i=65) colPos=0+150*(i49)+150*(i99)+150*(i149)+150*(i199)+150*(i249)+150*(i299);b+= (NS) ?
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号