- 积分
- 9375
- 注册时间
- 04-4-30
- 在线时间
- 794 小时
- 最后登录
- 11-8-31
- 威望
- 7
- 八通币
- 48
博士生
我来,我看,我灌水
- 积分
- 9375
- 注册时间
- 04-4-30
|
最常用的HTML贴图方法:(掌握这个,你的图片可以发的很漂亮)
首先要找到你想在BBS贴的图片,右击图片/属性/图片地址(URL),复制下来然后把它粘贴到以下的"图片地址"中间,
单图法:<img src="图片地址">
多图贴法分为:
1.横排贴法:<img src="图片地址"><img src="图片地址"><img src="图片地址">........
2.直排贴法:
<img src="图片地址"><p>
<img src="图片地址"><p>
<img src="图片地址"><p>
<img src="图片地址"><p>
........
推荐:直排比较好看也比较常用!在进行以上操作时别忘了,键盘最好在英文状态。需要注意的是,可以通过增加 <p>来调节图片的间距。另外,如果需要图片居中,最简单的办法就是在<img前加上<center>。
★帖子里插入Flash代码:★
<embed src="http://Flash地址" width=flash宽度 height=flash高度></embed>
播放视频代码合集
贴MP3的方法类似于贴Flash。首先要找出想要贴的MP3歌曲的地址。运气好的话,遇上一个MediaPlayer播放器,直接右键点击→属性→URL,即可取得地址。如果此路不通,还可以通过查看网页源代码(个别网站屏蔽此项功能除外)可获取音乐源链接。
查看网页源代码步骤:在线播放的网页中,点击“查看-源文件”。打开系统默认的源文件记事本。
在打开的源文件记事本中查询所需要的视频音频文件地址(常用的音频视频文件后缀名详见后文)。这里个人推荐一个小小诀窍:因为一般的音频或视频格式均以<embed开头,我们可以直接查找<embed,在此之后的URL即为需要的地址。掌握这个窍门对快速查找音乐下载地址有帮助。
地址确定后,用下列源代码均以格式贴:
<代码1无限次播放> <EMBED src="mp3地址" width=320 height=40 type=audio/x-pn-realaudio-plugin controls="ControlPanel" loop="true" autostart="true" volume="100" Initfn="load-types" mime-types="mime.types">
<代码2> <EMBED src="mp3地址" width=310 height=35 type=audio/x-pn-realaudio-plugin loop="true" autostart="true" controls="ControlPanel,StatusBar">
<代码3自由控制播放>: <EMBED src="rm地址" width=250 height=25 type=audio/x-pn-realaudio-plugin autostart="false" controls="ControlPanel">
<代码4>: <EMBED src="rm地址" width=250 height=60 autostart="true"></EMBED>
<代码5支持rm或mid格式>: <EMBED src="rm或mid地址" width=250 height=25 type=audio/x-pn-realaudio-plugin controls="ControlPanel" autostart="true">
<代码6支持midi,rm,ram>: <EMBED align=middle src="midi、rm、ram地址" width=350 height=50 type=audio/x-pn-realaudio-plugin ALT="(Random)" mime-types="mime.types" fn="load-types" Init exts="ra,ram" volume="200" loop="true" autostart="true">
<代码7隐藏播放器>: <embed src="网址" width="0" height="0" autostart="true" loop="true" align="middle" volume="200" type="audio/x-pn-realaudio-plugin" exts="ra,ram" Init fn="load-types" mime-types="mime.types" ALT="(Random)">
<代码8视频(MTV)常用播放器>: <embed src="视频网址" type="audio/x-pn-realaudio-plugin" console="Clip1" controls="ControlPanel,StatusBar" height="330" width="460" autostart="true">
<代码9RealPlayer 影片>: <EMBED src="realplayer地址" width=450 height=400 controls="imagewindow" autostart="true" loop="true" console="huayue"> (支持rm、asf、mpa、mpeg )
<代码10网页播放器>: <iframe src="网页URL地址" frameboder=0 width=400 height=200></iframe>
<代码11支持mp3、wma、wmv、wav、midi、asf、mpeg、mpg、avi格式>: <embed width="350" height="50" src="地址">
<代码12支持ra、rm、ram视频格式>: <EMBED SRC="地址" type="audio/x-pn-realaudio-plugin" width="533" height="400" autostart="true" SetEnableContextMenu="false" name="video" id="video" class="video" controls="ImageWindow">
<代码13可显示音频信息的播放器(适用于RM/WMA/MP3等格式)>: <EMBED name=realradio pluginspage=http://www.microsoft.com/windows/downloads/contents/products/mediaplayer/ src="音频地址"width=332 height=70 type=application/x-mplayer2 showcontrols="1" showdisplay="0" showstatusbar="1" autostart="1">
注:格式中的width=*** height=*** 都是可调整的。
[ 本帖最后由 circle 于 06-2-26 17:40 编辑 ] |
|