[求助]'marquees' 未定义错误 请求帮助
<P>全部代码如下,我还不太会asp,请会的兄弟们帮助一下<br><br><br><br></P><DIV class=quote>
<P><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank" >http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</A>"><br><html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank" >http://www.w3.org/1999/xhtml</A>"><br><head><br><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><br><title>QQ面板</title><br><style type="text/css"><br><!--<br>body,td,th {<br> font-size: 12px;<br> color: #000000;<br> line-height:150%;<br>}<br>body {<br> background:url(<a href="http://mat1.qq.com/fm/images/dg/bbg.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/bbg.gif</A>) no-repeat left top;<br> margin:10px 0 0 12px;<br> background-image: url();<br>}<br>a:link {<br> color: #000000;<br> text-decoration: none; <br>}<br>a:visited {<br> color: #000000;<br> text-decoration: none;<br>}<br>a:hover {<br> color: #999999;<br> text-decoration: underline;<br>}<br>a:active {<br> color: #000000;<br> text-decoration: none;<br>}<br>.cwhite{color:white}<br>.c1{color:#FF7100} <br>a.lc2:link,a.lc2:visited {color:#595959;text-decoration:underline}<br>a.lc2:hover{text-decoration:none}<br>a.click1:link,a.click1:visited,a.click1:hover{font-weight:bold;}<br>a.click0:link,a.click0:visited,a.click0:hover{text-decoration:none}<br>a.click0:hover{text-decoration:underline}<br>#sbox{<br> margin:3px auto;<br> width:183px; <br> border:1px solid #595959;<br> padding:1px;<br> color:white;<br>}<br>#sbox td{color:white;}<br>#sbox a{color:white;}<br>#songList{margin:4px auto;}</P>
<P>.l1{border-bottom:1px solid #FE9101}<br>.l2{border-bottom:1px solid #FFB300}<br>.list{padding:3px;border:1px solid #D9D9D9;background:#fff;}<br>.inp{border:1px solid #BBB;width:83px;height:16px;}<br>.int{width:164px;height:47px;border:0;font-size:12px;line-height:150%}<br>.cu{cursor:pointer}<br>.dot{background:url(<a href="http://mat1.qq.com/fm/images/dg/b_dot.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_dot.gif</A>) repeat-x bottom}<br>.mylist{background:#fff;border-left:1px solid #CCC;border-right:1px solid #CCC;}<br>--><br></style></head></P>
<P><body><br><script language="JavaScript"><br>function qqping_url_build()<br>{<br> p=window.top.document.URL.indexOf("?");<br> if(-1==p)p=window.top.document.URL.indexOf("&");<br> if(-1==p)address="u="+window.top.document.URL;<br> else address="u="+window.top.document.URL.substring(0,p);<br> p=document.referrer.indexOf("?");<br> if(-1==p)p=window.top.document.referrer.indexOf("&");<br> if(-1==p)refer="r="+window.top.document.referrer;<br> else refer="r="+window.top.document.referrer.substring(0,p);<br> return address+"&"+refer;<br>}<br>document.write("<div style='position:absolute; left:0px; top:0px; width:0px; height:0px; z-index:0; visibility: hidden;'><img src='http://ping.qq.com/ping?" + qqping_url_build() + "' height='0' width='0'></div>");<br></script><br><iframe name="hf" width=0 height=0></iframe><br><table width="193" height="85" border="0" cellpadding="0" cellspacing="0"><br> <tr><br> <td height="37"><a href="<a href="http://fm.qq.com/" target="_blank" >http://fm.qq.com</A>" target="_blank"><img src="<a href="http://img1.qq.com/fm/pics/3572/3572477.gif" target="_blank" >http://img1.qq.com/fm/pics/3572/3572477.gif</A>" width="193" height="37" border="0" /></a></td><br> </tr><br> <tr><br> <td height="36" align="center" background="<a href="http://mat1.qq.com/fm/images/dg/b_a1.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_a1.gif</A>" class="cwhite"><span id="show">您正在收听-综艺之声<br></span></td><br> </tr><br> <tr><br> <td><img src="<a href="http://mat1.qq.com/fm/images/dg/b_a2.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_a2.gif</A>" width="193" height="12" /></td><br> </tr><br></table><br><table width="193" height="30" border="0" cellpadding="0" cellspacing="0"><br> <tr><br> <td width="64" align="center" valign="bottom" background="<a href="http://mat1.qq.com/fm/images/dg/b_b1.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_b1.gif</A>" class="cwhite">选台收听</td><br> <td width="10"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_b2.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_b2.gif</A>" width="10" height="30" /></td><br> <td width="21" class="cu"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_bplay0.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_bplay0.gif</A>" width="21" height="30" onclick="plays()" alt="开始播放" /></td><br> <td width="22" class="cu"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_bstop0.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_bstop0.gif</A>" width="22" height="30" onclick="stop()" alt="停止播放" /></td><br> <td width="22" class="cu"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_bmute0.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_bmute0.gif</A>" id="muteimg" width="22" height="30" onclick="mute()" alt="静音控制"/></td><br> <td width="22" class="cu"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_bvup.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_bvup.gif</A>" width="22" height="30" onclick="vup()" alt="增大音量"/></td><br> <td width="22" class="cu"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_bvdown.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_bvdown.gif</A>" width="22" height="30" onclick="vdown()" alt="减小音量"/></td><br> <td width="10"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_b3.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_b3.gif</A>" width="10" height="30" /></td><br> </tr><br> <tr><br> <td height="7" colspan="8" bgcolor="#3F3F3F"></td><br> </tr><br></table><br><table width="193" border="0" cellpadding="0" cellspacing="0" bgcolor="#3F3F3F"><br> <tr><br> <td><div id="sbox"><br> <table width="183" border="0" cellpadding="0" cellspacing="0" background="<a href="http://mat1.qq.com/fm/images/dg/b_cbg.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_cbg.gif</A>"><br> <tr><br> <td width="22" height="25" align="center" class="l1"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_c2.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_c2.gif</A>" width="8" height="7" /></td><br> <td width="86" class="l1"><a href="#" onclick="p(1)">综艺之声</a></td><br> <td width="42" align="center" class="l1">[<a href="#" onclick="p(1)">收听</a>]</td><br> <td width="33" class="l1"><a href="#" onclick="p(1)"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_cring.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_cring.gif</A>" width="28" height="10" border="0" /></a></td><br> </tr><br> <tr class="l2"><br> <td height="25" align="center" class="l2"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_c2.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_c2.gif</A>" width="8" height="7" /></td><br> <td class="l2"><a href="#" onclick="p(2)">音乐休闲</a></td><br> <td align="center" class="l2">[<a href="#" onclick="p(2)">收听</a>]</td><br> <td class="l2"><a href="#" onclick="p(2)"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_cring.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_cring.gif</A>" width="28" height="10" border="0" /></a></td><br> </tr><br> <tr><br> <td height="25" align="center"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_c2.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_c2.gif</A>" width="8" height="7" /></td><br> <td><a href="#" onclick="p(3)">我的娱乐</a></td><br> <td align="center">[<a href="#" onclick="p(3)">收听</a>]</td><br> <td><a href="#" onclick="p(3)"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_cring.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_cring.gif</A>" width="28" height="10" border="0" /></a></td><br> </tr><br> </table><br> </div></td><br> </tr><br> <tr><br> <td><img src="<a href="http://mat1.qq.com/fm/images/dg/b_c1.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_c1.gif</A>" width="193" height="10" /></td><br> </tr><br></table><br><table width="193" height="71" border="0" cellpadding="0" cellspacing="0" background="<a href="http://mat1.qq.com/fm/images/dg/b_d7.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_d7.gif</A>"><br> <br></table><br><table width="193" border="0" cellpadding="0" cellspacing="0" background="<a href="http://mat1.qq.com/fm/images/dg/b_e2.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_e2.gif</A>" style="margin-top:4px;"><br> <tr><br> <br> </tr><br></table><br><div style="display:none"><br> <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><br> <param name='URL' value='http://qr.fm.qq.com/qqradio?qqpanel'><br> <param name='UIMode' value='full'><br> <param name='AutoStart' value='true'><br> <param name='Enabled' value='true'><br> <param name='enableContextMenu' value='false'><br> <param name="DisplayBackColor" value="100"><br> <param name="DisplayForeColor" value="100"></P>
<P> <param name='WindowlessVideo' value='true'><br> </object><br> <script language="javascript">var url="<a href='http://qr.fm.qq.com/qqradio?qqpanel";</script' target="_blank" >http://qr.fm.qq.com/qqradio?qqpanel";</script</A>><br><script><br>function E(obj){return document.getElementById(""+obj+"")}<br>var now=0;<br>var info=new Array(); <br>info[0]=new Array("综艺之声","<a href="http://qr.fm.qq.com/qqradio?qqpanel" target="_blank" >http://qr.fm.qq.com/qqradio?qqpanel</A>"); <br>info[1]=new Array("综艺之声","<a href="http://qr.fm.qq.com/qqradio?qqpanel" target="_blank" >http://qr.fm.qq.com/qqradio?qqpanel</A>"); <br>info[2]=new Array("音乐休闲","<a href="http://qr.fm.qq.com/music?qqpanel" target="_blank" >http://qr.fm.qq.com/music?qqpanel</A>"); <br>info[3]=new Array("我的娱乐","<a href="http://qr.fm.qq.com/daren?qqpanel" target="_blank" >http://qr.fm.qq.com/daren?qqpanel</A>"); <br>var auto=''; <br>function changeLink(n){<br> var nA=E('sbox').getElementsByTagName('a');<br> var m=0;<br> switch(n){<br> case 1:m=0;break;<br> case 2:m=3;break;<br> case 3:m=6;break;<br> }<br> for(var i=0;i<8;i++){<br> if(m==i)nA[i].className="click1";<br> else<br> nA[i].className="click0";<br> }<br>}<br>function p(v){<br> now=v;<br> changeLink(v);<br> plays();<br>}<br>function plays(){ <br> E("media").URL=info[now][1]; <br> auto=setInterval("state()", 1000);<br>} <br>function vup()<br>{<br> var vlm = E("media").settings.volume;<br> if (vlm < 100 ){<br> vlm += 10;<br> E("media").settings.volume = vlm; <br> E("show").innerHTML="当前音量:"+vlm+"%"; <br> }<br>}</P>
<P>function vdown(){<br> var vlm = E("media").settings.volume;<br> if (vlm > 0 ){</P>
<P> vlm -= 10;<br> E("media").settings.volume = vlm; <br> E("show").innerHTML="当前音量:"+vlm+"%"; <br> }<br>}<br>var flag=1;<br>var vlm = E("media").settings.volume;<br>function mute(){<br> <br> if(flag){<br> E("media").settings.volume=0;<br> flag=0;<br> E("show").innerHTML=""+info[now][0]+"(静音)";<br> E("muteimg").src="<a href="http://mat1.qq.com/fm/images/dg/b_bmute1.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_bmute1.gif</A>"<br> }<br> else{<br> E("media").settings.volume=vlm;<br> flag=1; <br> E("muteimg").src="<a href="http://mat1.qq.com/fm/images/dg/b_bmute0.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_bmute0.gif</A>"<br> }<br>}<br>function stop(){ <br> E("media").controls.stop(); <br>}<br>/*状态控制*/<br> <br>function state(){<br> var nowState = E("media").playState;<br> switch(nowState){<br> case 1: <br> E("show").innerHTML=""+info[now][0]+"停止播放";break;<br> case 3:<br> E("show").innerHTML="您正在收听 - "+info[now][0]+"";break;<br> case 6:<br> E("show").innerHTML="节目连接中,请耐心等待...";break;<br> case 10: <br> E("show").innerHTML=""+info[now][0]+"(准备就绪...)";break;<br> case 9:<br> E("show").innerHTML=""+info[now][0]+"(重新连接...)";break;<br> default:<br> E("show").innerHTML="loading.....";<br> } <br>}<br>p(0);<br></script></P>
<P></div><br><script language="javascript"><br><!--<br>marqueesHeight=86;<br>stopscroll=false; <br>with(<FONT color=#ff0000>marquees</FONT>){<br>noWrap=true; <br>style.width=164; <br>style.height=marqueesHeight;<br>style.overflowY="hidden"; <br>onmouseover=new Function("stopscroll=true"); onmouseout=new Function("stopscroll=false"); <br>}</P>
<P>document.write('<div id="templayer" style="position:absolute;z-index:1;visibility:hidden;overflow:hidden;"></div>');<br>function init(){ //<br>while(templayer.offsetHeight<marqueesHeight){<br>templayer.innerHTML+=marquees.innerHTML;<br>} <br>marquees.innerHTML=templayer.innerHTML+templayer.innerHTML;<br>setInterval("scrollUp()",30);<br>}<br>document.body.onload=init;<br>preTop=0; function scrollUp(){ if(stopscroll==true) return; <br>preTop=marquees.scrollTop; <br>marquees.scrollTop+=1; //当然不仅如此,同样还要向下滚动一个像素(+1):<br>if(preTop==marquees.scrollTop){<br>marquees.scrollTop=templayer.offsetHeight-marqueesHeight+1;<br>}<br>}<br>--><br></script><br></body><br></html></P></DIV>
<P>以上是该段代码,说红色部分未定义,请帮助解决<br></P>
[align=right][color=#000066][此贴子已经被作者于2007-11-20 18:48:35编辑过][/color][/align]
<P><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank" >http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</A>"><BR><html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank" >http://www.w3.org/1999/xhtml</A>"><BR><head><BR><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><BR><title>QQ面板</title><BR><style type="text/css"><BR><!--<BR>body,td,th {<BR> font-size: 12px;<BR> color: #000000;<BR> line-height:150%;<BR>}<BR>body {<BR> background:url(<a href="http://mat1.qq.com/fm/images/dg/bbg.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/bbg.gif</A>) no-repeat left top;<BR> margin:10px 0 0 12px;<BR> background-image: url();<BR>}<BR>a:link {<BR> color: #000000;<BR> text-decoration: none; <BR>}<BR>a:visited {<BR> color: #000000;<BR> text-decoration: none;<BR>}<BR>a:hover {<BR> color: #999999;<BR> text-decoration: underline;<BR>}<BR>a:active {<BR> color: #000000;<BR> text-decoration: none;<BR>}<BR>.cwhite{color:white}<BR>.c1{color:#FF7100} <BR>a.lc2:link,a.lc2:visited {color:#595959;text-decoration:underline}<BR>a.lc2:hover{text-decoration:none}<BR>a.click1:link,a.click1:visited,a.click1:hover{font-weight:bold;}<BR>a.click0:link,a.click0:visited,a.click0:hover{text-decoration:none}<BR>a.click0:hover{text-decoration:underline}<BR>#sbox{<BR> margin:3px auto;<BR> width:183px; <BR> border:1px solid #595959;<BR> padding:1px;<BR> color:white;<BR>}<BR>#sbox td{color:white;}<BR>#sbox a{color:white;}<BR>#songList{margin:4px auto;}</P>
<P>.l1{border-bottom:1px solid #FE9101}<BR>.l2{border-bottom:1px solid #FFB300}<BR>.list{padding:3px;border:1px solid #D9D9D9;background:#fff;}<BR>.inp{border:1px solid #BBB;width:83px;height:16px;}<BR>.int{width:164px;height:47px;border:0;font-size:12px;line-height:150%}<BR>.cu{cursor:pointer}<BR>.dot{background:url(<a href="http://mat1.qq.com/fm/images/dg/b_dot.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_dot.gif</A>) repeat-x bottom}<BR>.mylist{background:#fff;border-left:1px solid #CCC;border-right:1px solid #CCC;}<BR>--><BR></style></head></P>
<P><body><BR><script language="JavaScript"><BR>function qqping_url_build()<BR>{<BR> p=window.top.document.URL.indexOf("?");<BR> if(-1==p)p=window.top.document.URL.indexOf("&");<BR> if(-1==p)address="u="+window.top.document.URL;<BR> else address="u="+window.top.document.URL.substring(0,p);<BR> p=document.referrer.indexOf("?");<BR> if(-1==p)p=window.top.document.referrer.indexOf("&");<BR> if(-1==p)refer="r="+window.top.document.referrer;<BR> else refer="r="+window.top.document.referrer.substring(0,p);<BR> return address+"&"+refer;<BR>}<BR>document.write("<div style='position:absolute; left:0px; top:0px; width:0px; height:0px; z-index:0; visibility: hidden;'><img src='http://ping.qq.com/ping?" + qqping_url_build() + "' height='0' width='0'></div>");<BR></script><BR><iframe name="hf" width=0 height=0></iframe><BR><table width="193" height="85" border="0" cellpadding="0" cellspacing="0"><BR> <tr><BR> <td height="37"><a href="<a href="http://fm.qq.com" target="_blank" >http://fm.qq.com</A>" target="_blank"><img src="<a href="http://img1.qq.com/fm/pics/3572/3572477.gif" target="_blank" >http://img1.qq.com/fm/pics/3572/3572477.gif</A>" width="193" height="37" border="0" /></a></td><BR> </tr><BR> <tr><BR> <td height="36" align="center" background="<a href="http://mat1.qq.com/fm/images/dg/b_a1.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_a1.gif</A>" class="cwhite"><span id="show">您正在收听-综艺之声<BR></span></td><BR> </tr><BR> <tr><BR> <td><img src="<a href="http://mat1.qq.com/fm/images/dg/b_a2.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_a2.gif</A>" width="193" height="12" /></td><BR> </tr><BR></table><BR><table width="193" height="30" border="0" cellpadding="0" cellspacing="0"><BR> <tr><BR> <td width="64" align="center" valign="bottom" background="<a href="http://mat1.qq.com/fm/images/dg/b_b1.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_b1.gif</A>" class="cwhite">选台收听</td><BR> <td width="10"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_b2.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_b2.gif</A>" width="10" height="30" /></td><BR> <td width="21" class="cu"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_bplay0.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_bplay0.gif</A>" width="21" height="30" onclick="plays()" alt="开始播放" /></td><BR> <td width="22" class="cu"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_bstop0.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_bstop0.gif</A>" width="22" height="30" onclick="stop()" alt="停止播放" /></td><BR> <td width="22" class="cu"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_bmute0.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_bmute0.gif</A>" id="muteimg" width="22" height="30" onclick="mute()" alt="静音控制"/></td><BR> <td width="22" class="cu"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_bvup.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_bvup.gif</A>" width="22" height="30" onclick="vup()" alt="增大音量"/></td><BR> <td width="22" class="cu"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_bvdown.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_bvdown.gif</A>" width="22" height="30" onclick="vdown()" alt="减小音量"/></td><BR> <td width="10"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_b3.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_b3.gif</A>" width="10" height="30" /></td><BR> </tr><BR> <tr><BR> <td height="7" colspan="8" bgcolor="#3F3F3F"></td><BR> </tr><BR></table><BR><table width="193" border="0" cellpadding="0" cellspacing="0" bgcolor="#3F3F3F"><BR> <tr><BR> <td><div id="sbox"><BR> <table width="183" border="0" cellpadding="0" cellspacing="0" background="<a href="http://mat1.qq.com/fm/images/dg/b_cbg.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_cbg.gif</A>"><BR> <tr><BR> <td width="22" height="25" align="center" class="l1"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_c2.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_c2.gif</A>" width="8" height="7" /></td><BR> <td width="86" class="l1"><a href="#" onclick="p(1)">综艺之声</a></td><BR> <td width="42" align="center" class="l1">[<a href="#" onclick="p(1)">收听</a>]</td><BR> <td width="33" class="l1"><a href="#" onclick="p(1)"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_cring.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_cring.gif</A>" width="28" height="10" border="0" /></a></td><BR> </tr><BR> <tr class="l2"><BR> <td height="25" align="center" class="l2"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_c2.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_c2.gif</A>" width="8" height="7" /></td><BR> <td class="l2"><a href="#" onclick="p(2)">音乐休闲</a></td><BR> <td align="center" class="l2">[<a href="#" onclick="p(2)">收听</a>]</td><BR> <td class="l2"><a href="#" onclick="p(2)"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_cring.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_cring.gif</A>" width="28" height="10" border="0" /></a></td><BR> </tr><BR> <tr><BR> <td height="25" align="center"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_c2.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_c2.gif</A>" width="8" height="7" /></td><BR> <td><a href="#" onclick="p(3)">我的娱乐</a></td><BR> <td align="center">[<a href="#" onclick="p(3)">收听</a>]</td><BR> <td><a href="#" onclick="p(3)"><img src="<a href="http://mat1.qq.com/fm/images/dg/b_cring.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_cring.gif</A>" width="28" height="10" border="0" /></a></td><BR> </tr><BR> </table><BR> </div></td><BR> </tr><BR> <tr><BR> <td><img src="<a href="http://mat1.qq.com/fm/images/dg/b_c1.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_c1.gif</A>" width="193" height="10" /></td><BR> </tr><BR></table><BR><table width="193" height="71" border="0" cellpadding="0" cellspacing="0" background="<a href="http://mat1.qq.com/fm/images/dg/b_d7.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_d7.gif</A>"><BR> <BR></table><BR><table width="193" border="0" cellpadding="0" cellspacing="0" background="<a href="http://mat1.qq.com/fm/images/dg/b_e2.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_e2.gif</A>" style="margin-top:4px;"><BR> <tr><BR> <BR> </tr><BR></table><BR><div style="display:none"><BR> <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><BR> <param name='URL' value='http://qr.fm.qq.com/qqradio?qqpanel'><BR> <param name='UIMode' value='full'><BR> <param name='AutoStart' value='true'><BR> <param name='Enabled' value='true'><BR> <param name='enableContextMenu' value='false'><BR> <param name="DisplayBackColor" value="100"><BR> <param name="DisplayForeColor" value="100"></P>
<P> <param name='WindowlessVideo' value='true'><BR> </object><BR> <script language="javascript">var url="<a href='http://qr.fm.qq.com/qqradio?qqpanel";</script' target="_blank" >http://qr.fm.qq.com/qqradio?qqpanel";</script</A>><BR><script><BR>function E(obj){return document.getElementById(""+obj+"")}<BR>var now=0;<BR>var info=new Array(); <BR>info[0]=new Array("综艺之声","<a href="http://qr.fm.qq.com/qqradio?qqpanel" target="_blank" >http://qr.fm.qq.com/qqradio?qqpanel</A>"); <BR>info[1]=new Array("综艺之声","<a href="http://qr.fm.qq.com/qqradio?qqpanel" target="_blank" >http://qr.fm.qq.com/qqradio?qqpanel</A>"); <BR>info[2]=new Array("音乐休闲","<a href="http://qr.fm.qq.com/music?qqpanel" target="_blank" >http://qr.fm.qq.com/music?qqpanel</A>"); <BR>info[3]=new Array("我的娱乐","<a href="http://qr.fm.qq.com/daren?qqpanel" target="_blank" >http://qr.fm.qq.com/daren?qqpanel</A>"); <BR>var auto=''; <BR>function changeLink(n){<BR> var nA=E('sbox').getElementsByTagName('a');<BR> var m=0;<BR> switch(n){<BR> case 1:m=0;break;<BR> case 2:m=3;break;<BR> case 3:m=6;break;<BR> }<BR> for(var i=0;i<8;i++){<BR> if(m==i)nA[i].className="click1";<BR> else<BR> nA[i].className="click0";<BR> }<BR>}<BR>function p(v){<BR> now=v;<BR> changeLink(v);<BR> plays();<BR>}<BR>function plays(){ <BR> E("media").URL=info[now][1]; <BR> auto=setInterval("state()", 1000);<BR>} <BR>function vup()<BR>{<BR> var vlm = E("media").settings.volume;<BR> if (vlm < 100 ){<BR> vlm += 10;<BR> E("media").settings.volume = vlm; <BR> E("show").innerHTML="当前音量:"+vlm+"%"; <BR> }<BR>}</P>
<P>function vdown(){<BR> var vlm = E("media").settings.volume;<BR> if (vlm > 0 ){</P>
<P> vlm -= 10;<BR> E("media").settings.volume = vlm; <BR> E("show").innerHTML="当前音量:"+vlm+"%"; <BR> }<BR>}<BR>var flag=1;<BR>var vlm = E("media").settings.volume;<BR>function mute(){<BR> <BR> if(flag){<BR> E("media").settings.volume=0;<BR> flag=0;<BR> E("show").innerHTML=""+info[now][0]+"(静音)";<BR> E("muteimg").src="<a href="http://mat1.qq.com/fm/images/dg/b_bmute1.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_bmute1.gif</A>"<BR> }<BR> else{<BR> E("media").settings.volume=vlm;<BR> flag=1; <BR> E("muteimg").src="<a href="http://mat1.qq.com/fm/images/dg/b_bmute0.gif" target="_blank" >http://mat1.qq.com/fm/images/dg/b_bmute0.gif</A>"<BR> }<BR>}<BR>function stop(){ <BR> E("media").controls.stop(); <BR>}<BR>/*状态控制*/<BR> <BR>function state(){<BR> var nowState = E("media").playState;<BR> switch(nowState){<BR> case 1: <BR> E("show").innerHTML=""+info[now][0]+"停止播放";break;<BR> case 3:<BR> E("show").innerHTML="您正在收听 - "+info[now][0]+"";break;<BR> case 6:<BR> E("show").innerHTML="节目连接中,请耐心等待...";break;<BR> case 10: <BR> E("show").innerHTML=""+info[now][0]+"(准备就绪...)";break;<BR> case 9:<BR> E("show").innerHTML=""+info[now][0]+"(重新连接...)";break;<BR> default:<BR> E("show").innerHTML="loading.....";<BR> } <BR>}<BR>p(0);<BR></script></P>
<P></div><BR><script language="javascript"><BR><!--<BR>marqueesHeight=86;<BR>stopscroll=false; <BR>with(marquees){<BR>noWrap=true; <BR>style.width=164; <BR>style.height=marqueesHeight;<BR>style.overflowY="hidden"; <BR>onmouseover=new Function("stopscroll=true"); onmouseout=new Function("stopscroll=false"); <BR>}</P>
<P>document.write('<div id="templayer" style="position:absolute;z-index:1;visibility:hidden;overflow:hidden;"></div>');<BR>function init(){ //<BR>while(templayer.offsetHeight<marqueesHeight){<BR>templayer.innerHTML+=marquees.innerHTML;<BR>} <BR>marquees.innerHTML=templayer.innerHTML+templayer.innerHTML;<BR>setInterval("scrollUp()",30);<BR>}<BR>document.body.onload=init;<BR>preTop=0; function scrollUp(){ if(stopscroll==true) return; <BR>preTop=marquees.scrollTop; <BR>marquees.scrollTop+=1; //当然不仅如此,同样还要向下滚动一个像素(+1):<BR>if(preTop==marquees.scrollTop){<BR>marquees.scrollTop=templayer.offsetHeight-marqueesHeight+1;<BR>}<BR>}<BR>--><BR></script><BR></body><BR></html></P>
页:
[1]
