我把hot_topics.htm做了点点修改....满足了我听广播的....哈
在 hot_topics.htm中找到
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
,在下面加上
<script src="http://www.926cn.com/qzone/media.js"></script>
<script>
function changeInfo(obj,num)
{
if(document.getElementById(obj).options[num].value!="")
{
window.open(document.getElementById(obj).options[num].value,"_blank","");obj.selectedIndex=0;
}
}</script>
上面的那个media.js文件可以直接在浏览器里面输入http://www.926cn.com/qzone/media.js就可以下载到,你这样做是已经确定不需要我为你更新哈!~!:D
最后再在合适的地方加入播放器代码!
我是加在高级搜索旁边哒,为了稍微规范下,就把
<a href="search.php">高级搜索</a>
换成了
<table border="0" cellspacing="0" align="left"><tr><td><a href="search.php">高级搜索</a></td><td>
<table width="100" height="20" border="0" cellpadding="0" cellspacing="0" class="logobg">
<tr>
<td valign="top">
<div id="Rcenter">
<div id="sel">
<select name="defsel" onchange="PlayID(this.options.selectedIndex)" id="SelStyle">
<option value="def" selected >请选择电台</option>
<script language="JavaScript">LoadList();</script>
</select>
</div>
</div>
<div id="Rwave">
<div id="waveflashA" class="undis">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="0" height="0">
<param name="movie" value="http://bbs.qq.com/flash/wavea.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="http://bbs.qq.com/flash/wavea.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="0" height="0"></embed>
</object>
</div>
<div id="waveflashB" class="undis">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="0" height="0" id="pf">
<param name="movie" value="http://bbs.qq.com/flash/waveb.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="http://bbs.qq.com/flash/waveb.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="0" height="0"></embed>
</object>
</div>
<div id="waveimg" class="disimg"></div>
</div>
<div id="Rright">
<div id="ctrl" class="StopEffect" onClick="DefPlay();" title="默认播放"></div>
<div class="undis">
<object id="media" classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' width=0 height=0
codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading microsoft?
windows media? player components... type=application/x-oleobject>
<param name='URL' value=''>
<param name='UIMode' value='invisible'>
<param name='AutoStart' value='false'>
<param name='Enabled' value='true'>
<param name='enableContextMenu' value='false'>
<param name="DisplayBackColor" value="100">
<param name="DisplayForeColor" value="100">
<param name='WindowlessVideo' value='true'>
</object>
</div>
</div>
</td>
</tr>
</table>
</td></tr></table>
好了,就是这样子!~!演示就偶的论坛撒!~!!顺便希望和大家交换下链接!~!!!
[ 本帖最后由 mojay 于 2005-12-24 10:09 编辑 ] |