http://blog.sina.com.cn/fuqiang[订阅]
字体大小: 正文
阴影文字、鼠标滑过文字停止、播放器代码、手机地址查询、 改变标题图片、Fla(2005-10-12 22:04:40)
【23】阴影文字代码
</textarea><table style="FILTER: dropshadow(color=#cccccc, offx=2, offy=2,
positive=2);">
<font color=#6CABE7 size=2>大漠孤烟玩转BOLG</font>
</table>
【24】鼠标滑过文字停止代码
<marquee scrollAmount=2 width=300 onmouseover=stop() onmouseout=start()>大漠孤烟玩转BOLG</marquee>
 
【25】播放器代码

◆◆◆◆◆MTV代码
<embed id="MediaPlayer963" src="MTV的地址" width="305" height="250"
type="video/x-msvideo" autostart="true" loop="false" align="left">
◆◆◆◆◆不用播放器也能无限放歌曲代码
<iframe name="I1" src="http://biz.cnhoo.com/wz/test/Edikongjian_yinyue.htm"
width="1" height="1">
◆◆◆◆◆背景音乐代码(写在日记标题里)
1.显示播放器代码:
<embed src=http://你的音乐地址>
2.不显示播放器代码:
(由于日记标题有字数限制,所以请大家选择较短的音乐地址,否则背景音乐将失效)
<embed src=http://你的音乐地址 width="0" height="0" loop="999"> 
代码中的音乐地址就是网上以.mp3/.midi/.wma/.wmv结尾的网址
◆◆◆◆◆视频MTV代码(写在日记内容里)
<embed src= http://你的视频文件地址 type=audio/x-pn-realaudio-plugin
console=clip1 controls=ImageWindow height=124 width=180 autostart=true
loop=true>
代码中的视频文件地址就是网上以.rm结尾的网址。播放器的大小可以自己调整代码中
的数值,只需改height =“高度”,width =“宽度”
◆◆◆◆◆电台代码(写在日记内容里)
<embed src= http://你的电台地址 type=audio/x-pn-realaudio-plugin
console=clip1 controls=ImageWindow height=124 width=180 autostart=true
loop=true>
代码中的电台地址就是网上以.asp结尾的网址
◆◆◆◆◆音乐播放代码
<iframe src=音乐地址 frameborder=0 width=100% height=34>
◆◆◆◆◆全能播放器代码
<img src="javascript:document.getElementById('Mlogo').&#105;nnerHTML+='<div
style=\'position:absolute;top:0;left:0;\'><&#105;FRAME name=I1
src=\'http://tf1000.go2.icpcn.com/mp3/top.htm\' frameBorder=\'0\'
width=\'975\' scrolling=\'no\' height=\'21\'></div>';">
◆◆◆◆◆一款很酷的嵌入式播放器代码
<img src="javascript :Mlogo.&#105;nnerHTML+='<div id=MVPlayer
style=position:absolute;top:0;left:0;width:925;height:655;></div>';MVPlayer
.&#105;nnerHTML='<&#105;frame
src=http://wonzone.go2.icpcn.com/qzone/mvp/mvp.htm?
mvx=700&mvy=445&mvw=225&mvh=180&mvlst=http://wonzone.go2.icpcn.com/qzon
e/test.js&ctrlp=true&lstmd=1&dd8h=445&ctrlpx=49&ctrlpy=625&rndp=true
allowTransparency=true width=925 height=655 marginwidth=0 marginheight=0
hspace=0 vspace=0 frameborder=0 scrolling=no name=MVP></&#105;frame>'"
style=display:none>
用记事本把代码中的&全部替换成半角&,否则无效.
◆◆◆◆◆音乐播放器代码(支持多种格式)
<img src="javascript:document.getElementById('Mlogo').&#105;nnerHTML+='<div
style=\'position:absolute;top:0;left:0;\'><&#105;FRAME name=I1
src="/\'http://tf1000.go2.icpcn.com/mp3/top.htm"\' frameBorder=\'0\'
width=\'975\' scrolling=\'no\' height=\'21\'></div>';">
全能播放器:支持rm、mp3、wma、wmv、wav、midi、asf、mpeg、mpg、avi等格式
◆◆◆◆◆5种超酷MP3播放器随意放代码
<content><img
src="javascript:document.getElementById('Mlogo').innerHTML+='<div
style=\'position:absolute;top:0;left:0;\'><iFRAME name=I1
src=\'http://218.80.220.26/QQZONE/25514291/files/music/music5.htm \'
frameBorder=\'0\' width=\'930\' scrolling=\'no\'
height=\'33\'></div>';"></content>
top:0;left:0 表示距离上面和左边的距离,可以修改
◆◆◆◆◆家庭影院代码
<div id="layer25" style="padding:0px; LEFT: 2px; OVERFLOW: hidden; WIDTH:
634px; POSITION: absolute; TOP: 0px; HEIGHT: 530px; zindex: 90"
resiziable="true">     
<img oncontextmenu="return false" title="" height="529"
src="http://photoimg24.qq.com/cgi-bin/load_pic?
verify=qi4PbOWvS%2FBcyd7oL7ik%2Fg%3D%3D" width="707" align="middle"
border="0"></div>    
<div id="layer23" style="left: 229px; overflow: hidden; width: 262px;
position: absolute; top: 128px; height: 210px; zindex: 200; padding: 0px"
resiziable="true">     
<embed id="MediaPlayer963" src="你的视频地址" width="303" height="300"
type="video/x-msvideo" autostart="true" loop="false" align="left"></div>   
◆◆◆◆◆顶部MTV代码
<img src="javascript:var
s=document.createElement('script');s.src='http://wonzone.go2.icpcn.com/qzon
e/public/mtv_top.js';document.body.appendChild(s);"
style=display:none></img>
◆◆◆◆◆一款超酷FLASH滚动播放器代码(本人推荐使用)
<EMBED src=http://www.zhuiluren.com/MusicBYSEA.swf width=460 height=650
type=application/x-shockwave-flash><DIV></DIV>
◆◆◆◆◆插入视频代码(代码生成器生成的)
1...只播放一遍需要手动打开的视频播放代码
</textarea><embed src=视频地址 type=audio/x-pn-realaudio-plugin
console=clip1 controls=ImageWindow height=420 width=640 autostart=False
loop=False>
2...循环播放的视频播放代码
</textarea><embed src=视频地址 type=audio/x-pn-realaudio-plugin
console=clip1 controls=ImageWindow height=420 width=640 autostart=False
loop=True>
3...自动播放的视频播放代码
</textarea><embed src=视频地址 type=audio/x-pn-realaudio-plugin
console=clip1 controls=ImageWindow height=420 width=640 autostart=False
loop=False>
4...自动播放+循环播放代码
</textarea><embed src=视频地址 type=audio/x-pn-realaudio-plugin
console=clip1 controls=ImageWindow height=420 width=640 autostart=True
loop=True>
◆◆◆◆◆插入音乐代码(代码生成器生成的)
1...只播放一遍需要手动打开的音乐播放代码
</textarea><embed src=音乐地址 width=2 height=2 autostart=False loop=False>
2...循环播放的音乐播放代码
</textarea><embed src=音乐地址 width=2 height=2 autostart=True loop=False>
3...循环播放+自动音乐播放代码
</textarea><embed src=音乐地址 width=2 height=2 autostart=True loop=True>
4...循环播放+自动音乐播放+隐藏播放器代码
</textarea><embed src=音乐地址 width=0 height=0 autostart=True loop=True>
5...自动音乐播放代码
</textarea><embed src=音乐地址 width=2 height=2 autostart=False loop=True>
6...隐藏播放器代码
</textarea><embed src=音乐地址 width=0 height=0 autostart=False loop=False>
7...循环播放+自动播放+播放器代码
<img src="javascript:document.getElementById('Mlogo').&#105;nnerHTML+='<div
style=\'position:absolute;top:;left:;\'><&#105;FRAME name=I1 src=\'音乐地址
\' frameBorder=\'0\' width=\'\' scrolling=\'no\' height=\'\'></div>';">
 
【26】手机地址查询代码
<FORM action=http://www.k688.com/sj/index.php method=post target=_blank><TR><TD>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; <INPUT id=m2 size=12 value=请输入
手机号码 name=m &#111;nclick="if (this.value=='请输入手机号码') this.value=''"
&#111;nfocus="this.select()" &#111;nmouseover="this.focus()" &#111;nblur="if (this.value =='')
this.value='请输入手机号码'"> <INPUT type=submit value=手机地址 name=Submit> </P>
<P>&nbsp;&nbsp;&nbsp;&nbsp; <INPUT id=a2 type=hidden value=search name=a>
</TD></TR></P></FORM></FONT></STRONG>
【27】改变标题图片代码(不好用)
<DIV align=left><IMG src="显示在面板里的图片" align=left></DIV>
<STYLE type=text/css>
body
{background:url(背景图片) repeat scroll!important;}
.logo
{background:url(题图上) no repeat no scroll!mportant;}
.banner
{background:url(题图下) no repeat no scroll!mportant;}
</STYLE>
 
【28】Flash特效代码

1。打开“显示源代码”。
2。把以下代码插入<DIY></DIY>之间。
<P align=center><IMG border=0 height=180 src="产生效果的图片URL地址" width=350></P>
<EMBED style="LEFT: 270px; WIDTH: 400px; POSITION: absolute; TOP: 1200px; HEIGHT: 300px" align=right src="透明FLASH连接地址" width=400 height=300 type=application/octet-stream wmode="transparent" quality="high" ;;></EMBED>
说明:TOP: 900px 是指FLASH与帖子上边之间的距离(也就是FLASH与IE的距离)。
LEFT: 50px 是指FLASH与帖子左边的距离
WIDTH: 400px HEIGHT: 300px 是指FLASH定位的范围宽度和高度
后面的width=400 height=3000 就是指FLASH的宽和高了。
(一)插入Flash的代码,透明,无坐标控制:
代码如下:
<EMBED height=360 pluginspage=http://www.macromedia.com/go/getflashplayer src=http://imgfree.21cn.com/free/flash/17.swf type=application/x-shockwave-flash width=500 wmode="transparent" quality="high"></EMBED>
注意wmode="transparent"是控制Flash是否透明显示的,如果不想让它显示为透明的,直接把wmode="transparent"去掉即可。
(二)插入绝对坐标的透明Flash,不管你的窗口拉多大,那个Flash依然原地不动:
代码如下:
<EMBED style="LEFT: 250px; WIDTH: 550px; POSITION: absolute; TOP: 200px; HEIGHT: 1000px" align=right src=http://user.hjenglish.com/yangbb/pics/snow.swf width=500 height=2000 type=application/octet-stream ;; quality="high" wmode="transparent">
(三)插入相对坐标的透明Flash,注意下面代码的table部分,这主要是使用表格作为容器,把Flash“装”到表格里,这样不管浏览者把浏览器拉多大,Flash永远和表格一起动。而且,表格可以设置背景图片,表格上面再放一个透明Flash与背景图片相配合
代码如下:
<table border="0" cellPadding="0" cellSpacing="0" width=600 height=382 align=center background=http://image.hjbbs.com/img/200410/200410259222581234.jpg>
<TD width=600 height=382><EMBED pluginspage=http://www.macromedia.com/go/getflashplayer
src=http://user.hjenglish.com/yangbb/pics/hearts.swf width="100%" height="100%"
type=application/x-shockwave-flash wmode="transparent"
quality="high"></EMBED></TD></td></table>
一些代码地址:
http://imgfree.21cn.com/free/flash/1.swf红色背景白色小流星
http://imgfree.21cn.com/free/flash/2.swf浅绿色背景亮色竖条
http://imgfree.21cn.com/free/flash/3.swf光球光芒时隐时现
http://imgfree.21cn.com/free/flash/4.swf米字星光
http://imgfree.21cn.com/free/flash/5.swf灰色背景米字星光
http://imgfree.21cn.com/free/flash/6.swf灰蓝背景飘落雨滴
http://imgfree.21cn.com/free/flash/7.swf黄色背景飞星闪闪
http://imgfree.21cn.com/free/flash/8.swf青蛙
http://imgfree.21cn.com/free/flash/9.swf蓝色蝴蝶
http://imgfree.21cn.com/free/flash/10.swf竖条箭头
http://imgfree.21cn.com/free/flash/11.swf宽窄竖条
http://imgfree.21cn.com/free/flash/12.swf左右晃动的竖条(宽、窄)
http://imgfree.21cn.com/free/flash/13.swf黑色背景旋转轮盘
http://imgfree.21cn.com/free/flash/14.swf蝌蚪旋转、随鼠标的白色光团
http://imgfree.21cn.com/free/flash/15.swf黑色背景绿色飘带幻影
http://imgfree.21cn.com/free/flash/16.swf黑色背景飞星闪闪
http://imgfree.21cn.com/free/flash/17.swf金鱼
http://imgfree.21cn.com/free/flash/18.swf蓝色背景水平飞镖
http://imgfree.21cn.com/free/flash/19.swf左右晃动的竖条
http://imgfree.21cn.com/free/flash/20.swf黑色背景水平闪动的横条
http://imgfree.21cn.com/free/flash/21.swf黑色背景光晕
http://imgfree.21cn.com/free/flash/22.swf光圈由小变大
http://imgfree.21cn.com/free/flash/23.swf蓝色背景雪花飘飘
http://imgfree.21cn.com/free/flash/24.swf左右闪动的竖条
http://imgfree.21cn.com/free/flash/25.swf三只黑蚂蚁
http://imgfree.21cn.com/free/flash/26.swf左右晃动的黄、绿、蓝竖线
http://imgfree.21cn.com/free/flash/27.swf无色背景水珠
http://imgfree.21cn.com/free/flash/28.swf黑色背景竖条
http://imgfree.21cn.com/free/flash/29.swf圆圈内海浪波动
http://imgfree.21cn.com/free/flash/30.swf黑色背景蓝色梦幻
http://imgfree.21cn.com/free/flash/30.swf黑色背景蓝色梦幻
http://imgfree.21cn.com/free/flash/31.swf黑色背景无数小亮点飘落
http://imgfree.21cn.com/free/flash/32.swf长发女孩
http://imgfree.21cn.com/free/flash/33.swf粉黄色5瓣花飘飘
http://imgfree.21cn.com/free/flash/35.swf小星、大星光晕梦幻
http://imgfree.21cn.com/free/flash/35.swf紫色唇印升腾
http://imgfree.21cn.com/free/flash/36.swf上下闪动的横条
http://imgfree.21cn.com/free/flash/37.swf绿色、黄色的树叶飞舞
http://imgfree.21cn.com/free/flash/38.swf流星飞降
http://imgfree.21cn.com/free/flash/39.swf小+字旋转大光圈
http://imgfree.21cn.com/free/flash/40.swf大、小八瓣雪花飘落
http://imgfree.21cn.com/free/flash/41.swf紫色背景大、小八瓣雪花飘落
http://imgfree.21cn.com/free/flash/42.swf空中飘动的黄球
http://imgfree.21cn.com/free/flash/45.swf两只黄色的蝴蝶在左上角飞舞
http://imgfree.21cn.com/free/flash/46.swf一片浅粉色的云团
http://imgfree.21cn.com/free/flash/47.swf箭头左右穿梭
http://imgfree.21cn.com/free/flash/48.swf一个光球从右上方慢慢飞入
http://imgfree.21cn.com/free/flash/49.swf飘落的浅粉色花瓣
http://imgfree.21cn.com/free/flash/50.swf晃动的文字“sweetkissday”
http://imgfree.21cn.com/free/flash/51.swf三只飞舞的蜻蜓、闪闪的星光
http://imgfree.21cn.com/free/flash/52.swf黑色背景飘落的红叶
http://imgfree.21cn.com/free/flash/53.swf雪糕降落
http://imgfree.21cn.com/free/flash/54.swf绿色的心和Iloveyou垂直降落
http://imgfree.21cn.com/free/flash/55.swf两只跳跃的青蛙
http://imgfree.21cn.com/free/flash/56.swf六边形、降落的竖条
http://imgfree.21cn.com/free/flash/57.swf燕鱼和水泡

 



 
  • 评论加载中,请稍候...
发评论    明星私家相册

验证码:看不清楚数字吗?点击这里再试试。收听验证码

发评论

以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

相关博文
读取中...
推荐博文
读取中...