草本枝稼

制做自动播放图片

 

制做自动播放图片

 

 

 可以连接5个自己喜欢的图片利用幻灯每秒都会变化

自动播放的图片推荐文章:

<embed src="http://image2.sina.com.cn/bj/zonghe/pixviewer.swf" wmode="opaque" bgcolor="#FDD248"FlashVars="pics=图片地址1|图片地址2|图片地址3|图片地址4|图片地址5&links=文章地址1|文章地址2|文章地址3|文章地址4|文章地址5&texts=文章名字1|文章名字2|文章名字3|文章名字4|文章名字5&borderwidth=220&borderheight=220&textheight=20" menu="false" quality="high" width="220" height="200"  type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

 

width="180" height="200" 是幻灯片的尺寸,可以自行调节。

bgcolor="#FDD248" 是背景颜色,可以参考颜色代码-色阶板 上设置。

textheight=20 是文字区域高度,可以自行调节。

 

博客添加可移动图片两类(链接-非链接)

博客内添加可移动图片两类方法-1,图片移动但无连接2,图片连接相应网址.

方向direction= right/lift/up/down(右/左/上/下) 方向根据自己的需要调整

移动-链接类代码如下:

<marquee behavior="scroll" direction=right width="90%" height="100" scrollamount="2" scrolldelay="30" ><a target="cont" href="对方地址"><img src="对方图片" width="100" height="100" border="0"></a><a target="cont" href="对方地址"><img src="对方图片" width="100" height="100" border="0"></a><a target="cont" href="对方地址"><img src="对方图片" width="100" height="100" border="0"></a><a target="cont" href="对方地址"><img src="对方图片" width="100" height="100" border="0"></a>...<a target="cont" href="对方地址"><img src="对方图片" width="100" height="100" border="0"></a></marquee>

 --------------------------------------------------------------------------------------------------------------------------------------------参考如下:

 

-----------------------------------------------------------------------------------------------------------------------------------------------------

-移动-非链接类代码如下:

<DIV style=" WIDTH: 100%">

<MARQUEE scrollAmount=2 scrollDelay=30 direction=left width="100%" height="50">

 

<A><IMG height=50 src="图片地址" width=45 border=0></A>

<A><IMG height=50 src="图片地址" width=45 border=0></A>

<A><IMG height=50 src="图片地址" width=45 border=0></A>

<A><IMG height=50 src="图片地址" width=45 border=0></A>

</MARQUEE></DIV>

 

播放器代码总结(文)

1、帖子里插入Flash代码:

  <embed src="Flash地址" width=500 height=340></embed>

  其中“Flash地址”必须以“http://”开头和“.swf”结尾,width是指播放画面宽度,height指高度。如果需要居中,在上面代码前面加入<P align=center>。

  那么,在网页中发现自己喜欢的FLASH动画,如何窃取网址呢?我将在下一篇文章中详述,这里只介绍代码。

  2、插入mp3代码:

  <EMBED src="mp3地址" width=310 height=35 type=audio/x-pn-realaudio-plugin controls="ControlPanel,StatusBar" autostart="true" loop="true">

  支持rm或mid格式(随机播放): 

  <EMBED src="rm mp3 mid地址" width=150 height=25 type=audio/x-pn-realaudio-plugin controls="ControlPanel" autostart="true">

  非自动播放:

  <EMBED src="rm mp3地址" width=248 height=66 type=audio/x-pn-realaudio-plugin border="0">

  隐藏mp3播放器: 

   <embed width="0" height="0" src="MP3地址" type="application/x-shockwave-flash"></embed>

  3、视频常用播放器[MTV]

  <embed src="视频地址" type="audio/x-pn-realaudio-plugin" console="Clip1" controls="ControlPanel,StatusBar" height="330" width="450" autostart="true">

  4、插入背景音乐的代码:

  <bgsound src="mp3 mid地址" loop="-1">

  音乐地址一般都以mid或者mp3的形式结尾 后面的数字是播放次数。”-1”是循环播放。

  5、放透明flash的代码:

  <embed style="; LEFT: 50px; TOP: -80px;" src=flash地址 width=700 height=780 wmode="transparent">

简易型:

<EMBED src=http://www.*.com/mediadate/lxlhbcn.asf style="HEIGHT: 45px; WIDTH: 190px" type=audio/mpeg AUTOSTART="1" loop="0">

</EMBED>

标签型:

<embed width=240 height=140 transparentatstart=true animationatstart=false autostart=true autosize=false volume=100 displaysize=0 showdisplay=true showstatusbar=true showcontrols=true showaudiocontrols=true showtracker=true showpositioncontrols=true balance=true src="http://www.*.com/mediadate/lxlhbcn.asf">

</embed>

基本常用代码(专业设计必备代码详解-)

代码当然是通过翻译你所写的代码的意思得出的结果

如:

[fly] 沉浮随心 [/fly] 在BBS上,沉浮随心四个字就会来回滚动

1)贴图:<img src="图片地址">

2)加入连接:<a href="所要连接的相关地址">写上你想写的字</a>

3)在新窗口打开连接:<a href="相关地址" target="_blank">写上要写的字</a>

4)移动字体(走马灯):<marquee>写上你想写的字</marquee>

5)字体加粗:<b>写上你想写的字</b>

6)字体斜体:<i>写上你想写的字</i>

7)字体下划线: <u>写上你想写的字</u>

字体删除线: <s>写上你想写的字</s>

9)字体加大: <big>写上你想写的字</big>

10)字体控制大小:<h1>写上你想写的字</h1> (其中字体大小可从h1-h5,h1最大,h5最小)

11)更改字体颜色:<font color="#value">写上你想写的字</font>(其中value值在000000与ffffff(16位进制)之间

12)消除连接的下划线:<a href="相关地址" style="text-decoration:none">写上你想写的字</a>

13)贴音乐:<embed src="音乐地址" width="宽度" height="高度" autostart=false>

14)贴flash: <embed src="flash地址" width="宽度" height="高度">

15)贴影视文件:<img dynsrc="文件地址" width="宽度" height="高度" start=mouseover>

16)换行:<br>

17)段落:<p>段落</p>

1原始文字样式:<pre>正文</pre>

19)换帖子背景:<body background="背景图片地址">

20)固定帖子背景不随滚动条滚动:<body background="背景图片地址" body

bgproperties=fixed>

21)定制帖子背景颜色:<body bgcolor="#value">(value值见10)

22)帖子背景音乐:<bgsound="背景音乐地址" loop=infinite>


 

 

posted on 2009-08-17 11:00  林声歌  阅读(523)  评论(0)    收藏  举报