|
叮叮当,十四周年年庆正式开锣啦。为了配合今年新增设的“百花齐放”版块
特意为参加年庆的小哥哥、小姐姐们提供一些实用代码,希望大家玩得尽兴,哈皮至上
(1)全民K歌发帖代码
<iframe height=播放器高度 marginHeight=0 src="全民歌曲地址" frameBorder=0 width=播放器宽度 marginWidth=0 scrolling=no></iframe>
(建议高度、宽度各设置为400,若不喜欢透露个人信息,可适当缩小数值)
===========================================================================
(2)唱吧发帖代码
<iframe height="播放器高度" marginheight="0" src="唱吧歌曲地址" frameborder="0" width="播放器宽度" marginwidth="0" scrolling="no"></iframe>
(建议高度设置为650、宽度设置为500,可根据个人喜好改变数值)
★ 全民及唱吧歌曲地址获取方法:
点击全民或唱吧分享键,将作品分享到电脑或微信等聊天软件后,用浏览器打开,取得歌曲链接
===========================================================================
(3)一款电脑、手机浏览器均支持的播放器
<p><audio style="width:播放器宽度px;height:播放器高度px;" controls="controls" autoplay="autoplay" loop="loop" src="音乐地址" type="audio/mpeg"></audio></div>
(建议高度设置为45、宽度设置为350,可根据个人喜好改变数值)
===========================================================================
(4)一款可随意更改文字、带播放器的边框代码
<br><br><br>
<div align="center">
<table style="POSITION: relative; WIDTH: 650px; border=" 0"="" cellspacing="0" cellpadding="0" id="table1">
<tbody><tr>
<td background="http://www.hongrenju.net/data/attachment/forum/month_2006/2006272219da5bed9e8155da38.jpg" height="140"></td>
</tr>
<tr>
<td background="http://www.hongrenju.net/data/attachment/forum/month_2006/200627221975c9b0513c1cf5d6.jpg" height="221">
<div align="center">
<table style="POSITION: relative; WIDTH: 500px; border=" 0"="" width="500" cellspacing="0" cellpadding="0" id="table2">
<tbody><tr>
<td></td>
</tr>
</tbody></table>
<p align="center"> <img src="插图" width="插图宽度">
<br><br><br>
<div align="center"><font face="字体"><font size="字体大小"><font color="字体颜色"><strong> 标题</strong><br><br>
<font size="字体大小">作者</font></font></font><br><br><br><br>
</div></font></font> </font> <div style="text-align: Justify;"><p style="line-height:24px;text-align:left;letter-spacing:1.6px;padding-left:4.8cm;padding-right:1.8cm;"><font size="字体大小"><font face="字体">
<font color="字体颜色">
文字<br><br>
文字<br><br>
<br><br><br><br>
<div align="center" style="position: relative;">
<script type="text/javascript">
document.write("<scr"+"ipt src=\"http://webftp.bbs.hnol.net/sxrx2016/players/jquery.js\"></sc"+"ript>")
document.write("<scr"+"ipt src=\"http://webftp.bbs.hnol.net/sxrx2016/players/player.js\"></sc"+"ript>")
document.write("<scr"+"ipt src=\"http://webftp.bbs.hnol.net/sxrx2016/players/hibiscus/player/hibiscu.js\"></sc"+"ript>")
</script>
<link href="http://webftp.bbs.hnol.net/sxrx2016/players/hibiscus/player/hibiscu.css" rel="stylesheet" type="text/css">
<div style="margin: 0px auto;">
<p align="center"><img width="180" height="105" src="http://webftp.bbs.hnol.net/sxrx2016/players/hibiscus/image/player.png" border="0"></p>
<embed width="180" height="105" align="center" pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://webftp.bbs.hnol.net/sxrx2016/players/hibiscus/image/flash.swf?url=&bgcolor=000000&color=000000" type="application/x-shockwave-flash" style="left: 50%; top: 50%; margin-top: -53px; margin-left: -90px; position: absolute;" wmode="transparent" invokeurls="false"></embed>
<div id="hibiscus" style="left: 50%; top: 50%; width: 100%; height: 100%; margin-top: 0px; margin-left: -90px; display: block; position: absolute;">
<ul class="player-audios" style="display: none;">
<li data-title="音乐名字">
<div class="player-source" data-type="audio/mpeg" data-src="音乐链接">
</div></li>
</ul>
</div>
</div>
</div>
<br>
<br><br><br>
</div></td>
</tr>
<tr>
<td background="http://www.hongrenju.net/data/attachment/forum/month_2006/200627221926d25680ec5f600d.jpg" height="139"> </td>
</tr>
</tbody></table>
</div><br><br><br>
点击查看→ 代码示例 |
评分
-
查看全部评分
|