1. 论坛系统升级为Xenforo,欢迎大家测试!
    排除公告

求救!====(TT正常浏览,但是IE出错)

本帖由 ejinbao2005-11-12 发布。版面名称:前端开发

  1. ejinbao

    ejinbao New Member

    注册:
    2005-11-12
    帖子:
    1
    赞:
    0
    我是开音乐网站的,当我把鼠标移动到播放器上IE就会报错,关闭,而使用腾讯浏览器却一切正常。问题出在哪我不是很清楚,请各位高手帮我解决一下。下面是整个播放器代码。


    <!--#include file="conn.asp"-->
    <%
    session("isok")="YES"
    dim songid
    songid=request("songid")
    %>
    <% Session("auth") = True
    Response.Expires = 0
    Response.Expiresabsolute = Now() - 1
    Response.AddHeader "pragma","no-cache"
    Response.AddHeader "cache-control","private"
    Response.CacheControl = "no-cache"
    %>
    <!--#include file="const.asp"-->
    <HTML>
    <HEAD>
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Hide
    function killErrors() {
    return true;
    }
    window.onerror = killErrors;
    //容错
    // -->
    </SCRIPT>
    <TITLE>华龙DJ音乐网www.11dj.com--舞曲播放系统!请您把本站网址发给您QQ上的好友!这是对我们最大的支持!</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=gb2312">
    <META content="Microsoft FrontPage 4.0" name=GENERATOR><META HTTP-EQUIV="Jon Eyrick" CONTENT="no-cache">
    <LINK href="images/css.css" rel="stylesheet">
    <script src=js/js.js></script>
    <base onmouseover="window.status='华龙DJ音乐网 http://www.11dj.com 每天都有新曲,请介绍您的好朋友来哦!';return true" target="_parent">
    </HEAD>
    <body onload="initPlayer()" leftMargin=0 topMargin=0 bgcolor="#000000">
    <%
    if request("songid")<>"" then
    set rs=server.createobject("adodb.recordset")
    id=request("songid")
    sql="select * from Musicdj where id="&id
    rs.open sql,conn,1,3
    if rs.eof then
    errmsg="<li>对不起!该歌曲不存在,可能已经被管理员删除。</li>"
    call error()
    Response.End
    else
    MusicName=rs("MusicName")
    hits=rs("hits")
    djname=rs("djname")
    jinbi=rs("jinbi")
    dateandtime=rs("dateandtime")
    vipdown=rs("vipdown")
    end if
    end if
    rs.Close
    set rs=nothing
    Songid=request("songid")
    %>

    <table width="760" height="2" border="1" cellspacing="1" align="center" bordercolorlight="#808080">
    <tr>
    <td height="1" valign="middle" width="684" align="center" colspan="4">
    <table width="757" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td bgcolor="#000000" width="755">
    <p align="center"><span class="style5"><font color="#FFFF00">您的支持是我们最大的动力,请你向周围的网友推荐本站:www.11dj.com
    发给您QQ上的最少6个好友,本站才会有信心为大家提供更好的服务!</font></span></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td height="1" valign="middle" width="341" align="center" rowspan="10">
    <object onerror="alert(&quot;没装RealPlayer&quot;)" id="player" name="player" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="399" height="244" align="center">
    <param name="_ExtentX" value="10557">
    <param name="_ExtentY" value="6456">
    <param name="AUTOSTART" value="-1">
    <param name="SHUFFLE" value="0">
    <param name="PREFETCH" value="0">
    <param name="NOLABELS" value="-1">
    <param name="SRC" value="player.asp?songid=<%=songid%>">
    <param name="CONTROLS" value="imagewindow,StatusBar,ControlPanel">
    <param name="CONSOLE" value="clip1">
    <param name="LOOP" value="1">
    <param name="NUMLOOP" value="0">
    <param name="CENTER" value="0">
    <param name="MAINTAINASPECT" value="0">
    <param name="BACKGROUNDCOLOR" value="#000000">
    </object> </td>
    <TD width="343" height="10" colspan="3"><font color="#FFFFFF">
    &nbsp;</font><font color="#FFFF00">歌曲名称:</font><font color="#FFFFFF"><%=musicname%></font>
    </TD>
    </tr>
    <tr>
    <TD width="343" height="5" colspan="3"><font color="#FFFFFF">
    &nbsp;</font><font color="#00FFFF">舞曲收藏:</font><font color="#FFFFFF"><a href=javascript: title="收藏此舞曲" onclick="javascript:eek:pen_window('UserCollect.asp?action=add&id=<%=id%>','UserCollect','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,top=10,left=10,width=516,height=300')">收藏这首舞曲</a>
    </font>
    </TD>
    </tr>
    <tr>
    <TD width="343" height="1" colspan="3"><font color="#FFFFFF">
    &nbsp;</font><font color="#00FF00">舞曲下载:</font><font color="#FFFFFF"><%if isnull(vipdown) then%>抱歉,这首MP3不提供下载<%else%><a title=下载此舞曲 href="javascript:" onclick=open_window('vipdown.asp?id=<%=id%>','_blank','width=400,height=300,scrollbars=0,resizable=0,','DJplay_song','scrollbars=no,resizable=no,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no,top=10,left=10,width=300,height=300')>下载这首舞曲</a><%end if%></font>
    </TD>
    </tr>
    <tr>
    <TD width="343" height="1" colspan="3"><font color="#FFFFFF">
    &nbsp;</font><font color="#FF00FF">更新时间:</font><font color="#FFFFFF"><%=dateandtime%></font>
    </TD>
    </tr>
    <tr>
    <td height="1" valign="middle" align="center" width="341" colspan="3">
    <p align="left"><font color="#C0C0C0">&nbsp;</font><font color="#FF0000">全屏播放:</font><img name="HRDJ_r12_c2" width="77" height="17" border="0" alt="全屏幕欣赏" style="CURSOR: hand" onclick="document.player.SetFullScreen()" src="images/qp.gif" align="absbottom"></td>
    </tr>
    <tr>
    <td height="2" valign="middle" align="center" width="114"><a href="new.asp" target="_blank"><font color="#FFFFFF">最新舞曲</font></a></td>
    <td height="2" valign="middle" align="center" width="113"><a href="speciallist.asp?page=1&amp;classid=15&amp;name=现场串烧" target="_blank"><font color="#FFFFFF">现场串烧</font></a></td>
    <td height="2" valign="middle" align="center" width="114"><a href="http://127.0.0.1/disco/speciallist.asp?classid=16&amp;name=中文舞曲" target="_blank"><font color="#FFFFFF">中文混音</font></a></td>
    </tr>
    <tr>
    <td height="2" valign="middle" align="center" width="114" bgcolor="#00FF00"><b><a href="lianqu.asp" target="_blank"><font color="#000000">好曲不断(电台)</font></a></b></td>
    <td height="2" valign="middle" align="center" width="113"><a href="speciallist.asp?classid=20&amp;name=DJ宝宝专辑" target="_blank"><font color="#FFFFFF">DJ宝宝专辑</font></a></td>
    <td height="2" valign="middle" align="center" width="114"><a href="speciallist.asp?classid=22&amp;name=阿朱专辑" target="_blank"><font color="#FFFFFF">DJ阿朱专辑</font></a></td>
    </tr>
    <tr>
    <td height="2" valign="middle" align="center" width="114" bgcolor="#00FFFF"><b><a href="vip.asp" target="_blank"><font color="#000000">申请加入VIP会员</font></a></b></td>
    <td height="2" valign="middle" align="center" width="113"><a href="showty.asp" target="_blank"><font color="#FFFFFF">华龙嗨曲专辑</font></a></td>
    <td height="2" valign="middle" align="center" width="114"><a href="speciallist.asp?classid=19&amp;name=视频" target="_blank"><font color="#FFFFFF">视频舞曲</font></a></td>
    </tr>
    <tr>
    <td height="2" valign="middle" align="center" width="114" bgcolor="#FF0000"><a href="sms5/index.htm" target="_blank"><font color="#000000">成人电影</font></a></td>
    <td height="2" valign="middle" align="center" width="113"><a href="speciallist.asp?classid=24&amp;name=华龙慢摇" target="_blank"><font color="#FFFFFF">华龙慢摇专辑</font></a></td>
    <td height="2" valign="middle" align="center" width="114"><a href="speciallist.asp?classid=23&amp;name=MC磊磊专辑" target="_blank"><font color="#FFFFFF">MC磊磊专辑</font></a></td>
    </tr>
    <tr>
    <td height="1" valign="middle" align="center" width="114" bgcolor="#FF0000"><a href="sms4/v1.htm" target="_blank"><font color="#000000">激情视频聊天室</font></a></td>
    <td height="1" valign="middle" align="center" width="227" colspan="2"><b><font color="#FFFF00">推荐:</font><a href="http://www.v8yy.com" target="_blank"><font color="#FFFF00">V8音乐网&nbsp;http//www.v8yy.com</font></a></b></td>
    </tr>
    <tr>
    <td height="1" valign="middle" width="682" align="center" colspan="4">
    <p align="center"><b><font color="#FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </font></b><font color="#00FFFF">如果浏览器突然关闭请使用</font><font color="#00FF00">腾讯TT</font><font color="#00FFFF">
    </font><a href="real/tt.exe" target="_blank"><font color="#FF00FF">点击这里</font></a><font color="#00FFFF">
    下载</font><font color="#FF0000">&nbsp;&nbsp;&nbsp; </font><font color="#00FF00">如果听不到歌曲请
    </font><a href="real/RealOnePlayer.exe" target="_blank"><font color="#FF00FF">点击这里</font></a><font color="#FF00FF">
    </font><font color="#00FF00">下载最新播放器(RealOnePlayer) </font>
    </td>
    </tr>
    </table>
    <div align="center">
    <center>
    <table border="1" width="760" cellspacing="1" bordercolorlight="#808080" cellpadding="0">
    <tr>
    <td width="758">
    <!--webbot bot="HTMLMarkup" startspan --><script language="javascript" src="http://js1.all4ad.net/html2js/display.aspx?unionid=diyutianzi23163&htmlid=html/daohang.htm&val1=http://adfarm.mediaplex.com/ad/ck/4080-22903-9499-0?aid=diyutianzi23163;mtjsdaohang;hp%26mpro=&val2=diyutianzi23163"></script><!--webbot
    bot="HTMLMarkup" endspan -->
    </td>
    </tr>
    <tr>
    <td width="758">
    <!--webbot bot="HTMLMarkup" startspan --><iframe name="sga8com" src="http://sg.a8.com/sgad/760X30/760X30_anco_uid_736.html" frameborder="0" scrolling="0" width="760" height="30" align="center"></iframe><!--webbot
    bot="HTMLMarkup" endspan -->
    </td>
    </tr>
    <tr>
    <td width="758">
    <p align="center">
    <!--webbot bot="HTMLMarkup" startspan --><!--webbot
    bot="HTMLMarkup" endspan -->
    <!--webbot bot="HTMLMarkup" startspan --><iframe name="sga8com" src="http://sg.a8.com/sgad/760X60/760X60_anco_uid_736.html" frameborder="0" scrolling="0" width="760" height="60" align="center"></iframe><!--webbot
    bot="HTMLMarkup" endspan -->
    </td>
    </tr>
    <tr>
    <td width="758">
    <!--webbot bot="HTMLMarkup" startspan --><iframe name="sga8com" src="http://sg.a8.com/sgad/760X300/760X300_anco_uid_736.html" frameborder="0" scrolling="0" width="760" height="300" align="center"></iframe><!--webbot
    bot="HTMLMarkup" endspan -->
    </td>
    </tr>
    </table>
    </center>
    </div>
    </BODY></HTML>
     
  2. 老林

    老林 New Member

    注册:
    2005-09-06
    帖子:
    10,580
    赞:
    36
    window.onerror = killErrors;
    //容错

    去掉再看看