当前位置: 首页 > 教师博客 > 代码小结

代码小结

2011年03月21日 09:17:06 来源:神池县东关小学校 访问量:379

1、字体和颜色
<marquee>...</marquee>普通卷动   
<marquee behavior=slide>...</marquee>滑动   
<marquee behavior=scroll>...</marquee>预设卷动   
<marquee behavior=alternate>...</marquee>来回卷动   
<marquee direction=down>...</marquee>向下卷动   
<marquee direction=up>...</marquee>向上卷动   
<marquee direction=right></marquee>向右卷动   
<marquee direction='left'></marquee>向左卷动   
<marquee bgcolor=FF0000>...</marquee>设定背景颜色   
<marquee scrollamount=30>...</marquee>设定卷动距离   
<marquee scrolldelay=300>...</marquee>设定卷动时间  
<FONT face=楷体_GB2312(输入字体,后面加空格) color=#0000ff(字体颜色后加空格) size=1>(输入你所需要的字)</FONT>  

2、普通FLASH代码
</textarea><EMBED align=middle src=FLASH的位置  
width=400 height=350 type=application/x-shockwave-flash></p>

3、透明FLASH代码
</textarea><embed src=FLASH的位置 wmode=transparent style=position: absolute width=380 height=270>  

4、插入图片:  
<IMG height=280(高) src=图片Url地址 width(宽)=210>  

5、如何插入背景图片特效的方法(写在日记标题上):  
<BODY BACKGROUND=背景图片Url地址>  

6、主页电视代码:  
<iframe name=I1 src=**** border=0 frameborder=0 width=251 height=345 marginwidth=1 marginheight=1 style=border-style: dotted; border-width: 1px></iframe>  
 
7、超连接代码:  
<A href=链接地址>链接名</A>  

8、浮雕的文字:  
<table style=FILTER: dropshadow(color=#6699FF, offx=1, offy=1, positive=1);> <font color=#ffffff>你要的文字</font></table>  

9、仅支持Wma的音频代码:  
<EMBED id=MediaPlayer158 src=/(你的音频地址后要加空格) width=480 height=360 loop=false autostart=false></EMBED>  

10、仅支持Mp3的音频代码:
<EMBED id=MediaPlayer420 src=/(你的音频地址后要加空格) width=480 height=360 type=audio/mpeg loop=false autostart=false></EMBED>  
 
11、插入表格:  
</textarea><table border=2 width=340 bordercolor=#0000FF bgcolor=#COCOCO>  
<tr>  
<td width=100%>  
<p align=center></td>  
</tr>  
</table></tex:area>  

12、上下滚动字效果编码:  
<MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=1(卷轴的总量,默认为1) scrollDelay=60(卷轴之间的延迟时间,默认为60) direction=up(这里可以随意更改方向,其方向字母是:up,  
down,left,right) width(宽)=500 height(高)=100><U>(这里可以输入相关的图片文字等!都可以!) </U></MARQUEE>  

13、左右滑动代码:  
<marquee direction=left(这里可以改变其上下左右的方向) loop(循环次数)=infinite(无限循环,加数字有限循环) deplay=0(保持默认)>(这里可以输入任何的代码以及文字等)</marquee>  

14、音乐无限播放:  
<iframe name=I1 src=**** width=1 height=1></iframe>(全部默认)  

15、发光字体:  
<table style=FILTER:glow(color=#6699FF(颜色代码),direction(趋势,指示)=2(大小,默认应是1))>(要添充的文字内容)</font></table>  

16、拉伸文字连接:  
<select name='FriendSite' onchange=if(this.options[this.selectedIndex].value!=''){window.open(this.options[this.selectedIndex].value,'_blank');} size=1 style=border-style: dashed; border-width: 1px><option value=''>(对此取一个相应的名称)</option><option value=(相应的地址连接)>(与地址连接有关的名字)</option><option value=(相应的地址连接)>(与地址连接有关的名字)重复输入以上</option><option value=(相应的地址连接)>(与地址连接有关的名字)这类的连接代码随后后尾输入这个→</select>  

18、播放器音乐地址代码(1):  
<iframe border=0 name=I1 frameBorder=0 width=100% scrolling=no height=32 src=****;   
</iframe>(全部默认)  

19、播放音乐地址代码(2):  
<IFRAME border=0 name=I1 marginWidth=1 marginHeight=1 src=**** frameBorder=0 width=170 height=213></IFRAME>  
  
20、mp3   
</textarea><embed width=110 height=119  src=真实网址></p></textarea>  (如果想歌曲自动播放清插入 autostart=1 要循环播放请插入 loop=sure)   

21、视频MTV代码:  
<EMBED id=MediaPlayer532 src=MTV地址 width=320 height=280 type=video/x-ms-wmv autostart=true loop=true></EMBED>

22、下拉连接   
代码:       
<select name='FriendSite' onchange=if(this.options[this.selectedIndex].value!=''){window.open(this.options[this.selectedIndex].value,'_blank');} size=1 style=border-style: dashed; border-width: 1px><option value=''>友情文字链接站点</option><option value=站点地址>站点名</option><option value=站点地址>站点名</option></select>       
关键代码        
<option value=朋友Q空间地址>朋友Q空间名称</option>
+个连接就查一个进去咯   

23、空间主页天气预报代码
<iframe scrolling=no height=288 width=222 frameborder=0 marginHeight=0 marginWidth=0 src=****;</iframe>

25、许愿代码:
<iframe id=main name=I8 frameBorder=0 width=0 scrolling=no height=0 src=****;</iframe>
许愿<iframe name=I1 src=**** width=450 height=350>  ..</iframe>

26、阴影的文字演示效果就是这样的哦~  
</textarea><table style=FILTER: dropshadow(color=#cccccc, offx=2, offy=2, positive=2);>   
<font color=#6CABE7 size=2>大家一起来支持我的心家,我和我老婆的小窝啊!</font>   
</table>  

27、QQ活跃天数查询代码
<iframe scrolling=no height=190 width=335 frameborder=0 marginHeight=0 marginWidth=0 src=****;</iframe>

28、时钟代码
<CENTER> <EMBED height=130 src=时钟地址 style=HEIGHT: 130px; WIDTH: 144px type=application/octet-stream width=144> </embed> </CENTER>
一些时钟地址:
****  
****  
****  
****  
****  
****  
****  
****  
****  
****  
****  
****  
****  
****  
****  
****  
。。。。。。。。。。。。。。。。一直到129.swf  

29、图片禁止别人偷用的代码
<A HREF=javascript:void(0) onMouseover=alert('对不起,图片不能随便下载!')><IMG SRC=图片地址 Align=center Border=0 width=99 height=50></A>

30、QQ空间直接显示网站代码
<iframe name=I1 src=网站地址 width=852 height=1440>   
</iframe>  

31、图片来回走!  
<marquee behavior=alternate   
direction=up height=80   
width=60% scrollamount=2   
scrolldelay=0><marquee behavior=alternate   
scrollamount=2><img src=图片地址>    
</marquee></marquee>   
几张图片一起来回走:  
<marquee behavior=alternate   
direction=up height=80   
width=60% scrollamount=2   
scrolldelay=0><marquee behavior=alternate   
scrollamount=2><img src=图片地址><img src=图片地址><img src=图片地址>……     
</marquee></marquee>   

32、自我星座查询器代码
1、<iframe scrolling=no height=70 width=610 frameborder=0 marginHeight=0 marginWidth=0 src=****;</ifram>
2、<iframe name=I1 src=**** width=300 height=500>  

33、时间显示特效(24种颜色)让空间又添色彩!!!!
(注:这种办法不用代码,评论/链接名/网址都空着,把以下地址复制到图片那去就OK了)
****  
****  
****  
****  
****  
****  
****  
****  
****  
****  
****  
****   

34、正方型在线曰历代码
<iframe marginwidth=0 framespacing=0 marginheight=0 frameborder=0 width='100%' height=170 src=****;</iframe>  

35、主页大图和FLASH效果融合
<img border=0 src=****;</p>  <div style=position: absolute; width: 656px; height: 228px; zindex: 1001; left: 4px; top: 64px; visibility:visible id=layer1> <OBJECT  codeBase=****,0,29,0   height=228 width=664 classid=clsid:D27CDB6EAE6D11cf96B844****540000> <PARAM NAME=movie VALUE=****; <PARAM NAME=quality VALUE=High><PARAM NAME=wmode VALUE=transparent>  <embed src=**** width=664 height=228 quality=High  pluginspage=http:// type=application/xshockwaveflash   wmode=transparent></embed></OBJECT></div>

编辑:祁新荣
上一篇:没有了
下一篇:《百部爱国主义教育影片》(视频)
评论区
发表评论

评论仅供会员表达个人看法,并不表明网校同意其观点或证实其描述
教育部 中国现代教育网 不良信息 垃圾信息 网警110
郑重声明:本站全部内容均由本单位发布,本单位拥有全部运营和管理权,任何非本单位用户禁止注册。本站为教育公益服务站点,禁止将本站内容用于一切商业用途;如有任何内容侵权问题请务必联系本站站长,我们基于国家相关法律规定严格履行【通知—删除】义务。本单位一级域名因备案流程等原因,当前临时借用网校二级域名访问,使用此二级域名与本单位官网权属关系及运营管理权无关。神池县东关小学校 特此声明。