| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 826 人关注过本帖
标题:这是我学校的网站代码,只能支持IE浏览器,有哪位高手能告诉我怎么改,支持 ...
只看楼主 加入收藏
qdgw_zpf
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2014-3-17
结帖率:0
收藏
已结贴  问题点数:20 回复次数:2 
这是我学校的网站代码,只能支持IE浏览器,有哪位高手能告诉我怎么改,支持所有浏览器,在哪块改,我是个菜鸟,谢谢啦!
<html>
<head>




<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>威海大光华国际学校</title>
<link rel=stylesheet href=css.css type="text/css">
</head>
<div align="center">
    <table border="0" cellpadding="0" cellspacing="0" width="980">
        <tr>
            <td height="66" background="images/Login1.jpg" style="font-size: 9pt; line-height: 150%" valign="top">
            <table border="0" cellpadding="2" cellspacing="0" width="100%" id="table1" height="30">
                <tr>
                    <td>
                     </td>
                    <td width="464">
                    <div align="center">
            <table border="0" cellspacing="1" width="98%" id="table1">
                <tr>
                    <td>今天是:
<SCRIPT language="JavaScript">
<!---
   var enabled = 0;   today = new Date();
   var day;   var date;
   if(today.getDay()==0)     day = "星期日"
   if(today.getDay()==1)     day = "星期一"
   if(today.getDay()==2)     day = "星期二"
   if(today.getDay()==3)     day = "星期三"
   if(today.getDay()==4)     day = "星期四"
   if(today.getDay()==5)     day = "星期五"
   if(today.getDay()==6)     day = "星期六"
   document.fgColor = " FF0072";
   date1 = "<font class=z1>" + (today.getYear())  + "年" + (today.getMonth() + 1 ) + "月" + today.getDate() + "日  " + "</font>";
   date2 = "<font class=z1>" +  day + "</font>";
   document.write("" + date1.fontsize(3) + date2.fontsize(3) + "");
//----->
</SCRIPT>
                     </td>
                    <td width="239">
                     您是本站的第15193位访客 &nbsp; 欢迎光临!
                     </td>
                </tr>
            </table></div>
                    </td>
                    <td width="136" valign="top">
                    <table border="0" cellspacing="1" width="100%" id="table2">
                        <tr>
                            <td valign="top">
                            <p align="center"><font face="Verdana">&nbsp;<a href="http://www.
                            |&nbsp; <a href="../English">English</a></font></td>
                        </tr>
                    </table>
                    </td>
                </tr>
            </table>
            </td>
        </tr>
        <tr>
          <td><object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" border="0" width="980" height="244">
    <param name="movie" value="http://www.
    <param name="wmode" value="transparent">
</object></td>
        </tr>
    </table>
   

<head>
<script language="javascript">
<!--
function openwin() { window.open ("page.htm", "newwindow", "height=100, width=400, toolbar=
no, menubar=no, scrollbars=no, resizable=no, location=no, status=no"
//写成一行
}
//-->
</script>

<link rel=stylesheet href=skin/ type="text/css">
<SCRIPT language=JavaScript src="inc/sort.js"></SCRIPT>
<base target="_blank">
<!-- bgsound src=xyy.mid loop="-1" -->
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" bgcolor="#073550" onLoad="clearTimeout(theTimer);nextAd(1);">
<div id="ad" style="position:absolute; display:normal; z-index:100; width: 288px;">  <a href="http://www. src="images/2014.jpg" width="449" height="121" border="0"></a></div>
<script>
var x = 50,y = 60
var xin = true, yin = true
var step = 1
var delay = 20  // 滚动速度
var obj=document.getElementById("ad")
function floatAD() {
var L=T=0
var R= document.body.clientWidth-obj.offsetWidth
var B = document.body.clientHeight-obj.offsetHeight
obj.style.left = x + document.body.scrollLeft
obj.style.top = y + document.body.scrollTop
x = x + step*(xin?1:-1)
if (x < L) { xin = true; x = L}
if (x > R){ xin = false; x = R}
y = y + step*(yin?1:-1)
if (y < T) { yin = true; y = T }
if (y > B) { yin = false; y = B }
}
var itl= setInterval("floatAD()", delay)
obj.onmouseover=function(){clearInterval(itl)}
obj.onmouseout=function(){itl=setInterval("floatAD()", delay)}
</script>

<div align="center">
            <div align="center">
                <table border="0" cellpadding="0" cellspacing="0" width="980" bgcolor="#FFFFFF" height="260">
                    <tr>
                        <td width="209" valign="top">
                        <div align="center">
                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td height="36" background="images/bt_01.gif">
                                    <div align="center">
                                        <table border="0" cellpadding="0" cellspacing="0" width="90%" height="90%">
                                            <tr>
                                                <td valign="bottom" align="right">
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                    <img border="0" src="images/index_01.png" width="209" height="220"></td>
                                </tr>
                            </table>
                        </div>
                        </td>
                        <td width="472" valign="top">
                        <div align="center">
                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td height="37" background="images/bt_02.gif">
                        <div align="center">
                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td align="right">&nbsp;
                                    <a href="blog.asp">
                                    <!--img border="0" src="images/bjbk.gif"--></a>&nbsp; </td>
                                    <td width="68">
                                    <p align="center">
                                    <a href="Schoolclass.asp?channelID=2&classID=1">
                                    <img border="0" src="images/gif-0344.gif" width="38" height="13"></a></td>
                                </tr>
                            </table>
                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="214" background="images/bj_zj.gif">
                                    <div align="center">
                                        <table border="0" cellpadding="4" cellspacing="0" width="98%" height="98%">
                                            <tr>
                                                <td width="240">
                                                
<script language=JavaScript>
<!--
var imgUrl=new Array();
var imgLink=new Array();
var imgTz=new Array();

imgUrl[1]="/uppic/2014129104345914.jpg";
imgLink[1]="Schoolnew.asp?id=2190";
imgTz[1]="新春寄语";

imgUrl[2]="/uppic/201413142020858.jpg";
imgLink[2]="Schoolnew.asp?id=2167";
imgTz[2]="高中部2014元旦文...";

imgUrl[3]="/uppic/2013122395039965.jpg";
imgLink[3]="Schoolnew.asp?id=2164";
imgTz[3]="我校高中部第五届英语...";

imgUrl[4]="/uppic/2013121615523405.jpg";
imgLink[4]="Schoolnew.asp?id=2162";
imgTz[4]="威海大光华法制讲座";

imgUrl[5]="/uppic/201310228223516.jpg";
imgLink[5]="Schoolnew.asp?id=2095";
imgTz[5]="光华初中部“读书月活...";

-->
</script>
<script src="inc/index_1.js" language="javascript"></script>  

                                                </td>
                                                <td valign="top">
                                                <div align="center">
                                                
<div align="center">
<table border="0" cellpadding="0" width="95%"  height="25" cellspacing="1">
    <tr>
        <td width="15" class="lb_02">
        <img border="0" src="images/gif-0023.gif" width="10" height="9"></td>
        <td class="lb_02"><a href="Schoolnew.asp?id=2228" title="我校积极响应团委号召,踊跃参加植树活动">
        我校积极响应团委号召,踊跃...
        </FONT>
        </a></td>
    </tr>
</table>
</div>

<div align="center">
<table border="0" cellpadding="0" width="95%"  height="25" cellspacing="1">
    <tr>
        <td width="15" class="lb_02">
        <img border="0" src="images/gif-0023.gif" width="10" height="9"></td>
        <td class="lb_02"><a href="Schoolnew.asp?id=2222" title="大光华学校举行“妈妈跳绳庆三八”活动">
        大光华学校举行“妈妈跳绳庆...
        </FONT>
        </a></td>
    </tr>
</table>
</div>

<div align="center">
<table border="0" cellpadding="0" width="95%"  height="25" cellspacing="1">
    <tr>
        <td width="15" class="lb_02">
        <img border="0" src="images/gif-0023.gif" width="10" height="9"></td>
        <td class="lb_02"><a href="Schoolnew.asp?id=2221" title="威海大光华国际学校“三八节感恩活动”在行动">
        威海大光华国际学校“三八节...
        </FONT>
        </a></td>
    </tr>
</table>
</div>

<div align="center">
<table border="0" cellpadding="0" width="95%"  height="25" cellspacing="1">
    <tr>
        <td width="15" class="lb_02">
        <img border="0" src="images/gif-0023.gif" width="10" height="9"></td>
        <td class="lb_02"><a href="Schoolnew.asp?id=2218" title="大光华学子寒假社会实践之“爱心行动”">
        大光华学子寒假社会实践之“...
        </FONT>
        </a></td>
    </tr>
</table>
</div>

<div align="center">
<table border="0" cellpadding="0" width="95%"  height="25" cellspacing="1">
    <tr>
        <td width="15" class="lb_02">
        <img border="0" src="images/gif-0023.gif" width="10" height="9"></td>
        <td class="lb_02"><a href="Schoolnew.asp?id=2217" title="第五届“育人教书“先进事迹报告会暨学期工作部署大会">
        第五届“育人教书“先进事迹...
        </FONT>
        </a></td>
    </tr>
</table>
</div>

<div align="center">
<table border="0" cellpadding="0" width="95%"  height="25" cellspacing="1">
    <tr>
        <td width="15" class="lb_02">
        <img border="0" src="images/gif-0023.gif" width="10" height="9"></td>
        <td class="lb_02"><a href="Schoolnew.asp?id=2190" title="新春寄语">
        新春寄语</FONT>
        </a></td>
    </tr>
</table>
</div>

<div align="center">
<table border="0" cellpadding="0" width="95%"  height="25" cellspacing="1">
    <tr>
        <td width="15" class="lb_02">
        <img border="0" src="images/gif-0023.gif" width="10" height="9"></td>
        <td class="lb_02"><a href="Schoolnew.asp?id=2173" title="初中部举行师生才艺汇演">
        初中部举行师生才艺汇演</FONT>
        </a></td>
    </tr>
</table>
</div>


                                                </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                    </td>
                                    <td width="11"> </td>
                                    <td width="208" valign="top">
                                    <div align="center">
                                        <table border="0" cellpadding="0" cellspacing="0" width="97%" height="230">
                                            <tr>
                                                <td height="32">
                                                <p align="right">
                                                <a href="Schoolclass.asp?channelID=6&classID=3">
                                                更多</a>&gt;&gt;</td>
                                            </tr>
                                            <tr>
                                                <td valign="top">
                                                <div align="center">
                                                
                      </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        </td>
                    </tr>
                </table>
                <div align="center">
                    <table border="0" cellpadding="0" cellspacing="0" width="980" bgcolor="#FFFFFF" height="140">
                        <tr>
                            <td bgcolor="#EEF8FD" background="images/bj_js.jpg">
                            <div align="center">
                                <table border="0" cellpadding="2" width="100%" height="124">
                                    <tr>
                                        <td width="58">&nbsp; </td>
                                        <td>
                                        <div id=demo style=overflow:hidden;height:111px;width:831px;background:#ffffff;color:#ffffff>
                                        <table align=left cellpadding=0 cellspace=0 border=0>
                                        <tr>
                                        <td id=demo1 valign=top>
                                       
                                        <a href="teachershow.asp?fid=1"><img border="0" src="images/tt/1_b.jpg   " width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=3"><img border="0" src="images/tt/3_b.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=4"><img border="0" src="images/tt/4.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=8"><img border="0" src="images/tt/12.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=9"><img border="0" src="images/tt/42.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=10"><img border="0" src="images/tt/8.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=12"><img border="0" src="images/tt/10_b.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=13"><img border="0" src="images/tt/7.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=14"><img border="0" src="images/tt/8_b.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=15"><img border="0" src="images/tt/13.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=16"><img border="0" src="images/tt/15.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=17"><img border="0" src="images/tt/14.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=20"><img border="0" src="images/tt/17.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=22"><img border="0" src="images/tt/20.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=23"><img border="0" src="images/tt/27.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=24"><img border="0" src="images/tt/6_b.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=25"><img border="0" src="images/tt/38.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=26"><img border="0" src="images/tt/36.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=35"><img border="0" src="images/tt/gz.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=36"><img border="0" src="images/tt/gz0.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=37"><img border="0" src="images/tt/gz2.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=38"><img border="0" src="images/tt/gz1.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=39"><img border="0" src="images/tt/gz4.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=40"><img border="0" src="images/tt/gz5.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=44"><img border="0" src="images/tt/gz9.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=45"><img border="0" src="images/tt/gz10.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=46"><img border="0" src="images/tt/gz7.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=48"><img border="0" src="images/tt/gz13.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=50"><img border="0" src="images/tt/gz15.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=61"><img border="0" src="images/tt/gz26.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=62"><img border="0" src="images/tt/gz27.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=65"><img border="0" src="images/tt/gz29.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=66"><img border="0" src="images/tt/gz30.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=71"><img border="0" src="images/tt/56.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=82"><img border="0" src="images/tt/26.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=86"><img border="0" src="images/tt/57.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=87"><img border="0" src="images/tt/28.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=91"><img border="0" src="images/tt/23.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=114"><img border="0" src="images/tt/123.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=115"><img border="0" src="images/tt/124.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=117"><img border="0" src="images/tt/100.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=124"><img border="0" src="images/tt/107.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=125"><img border="0" src="images/tt/108.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=133"><img border="0" src="images/tt/116.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=135"><img border="0" src="images/tt/118.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=137"><img border="0" src="images/tt/130.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=139"><img border="0" src="images/tt/132.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=141"><img border="0" src="images/tt/134.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=144"><img border="0" src="images/tt/137.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=145"><img border="0" src="images/tt/138.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=146"><img border="0" src="images/tt/139.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=147"><img border="0" src="images/tt/140.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=149"><img border="0" src="images/tt/gz12.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=160"><img border="0" src="images/tt/gz42.jpg" width="78" height="105"></a>&nbsp;
                                        <a href="teachershow.asp?fid=179"><img border="0" src="images/tt/gz3.jpg" width="78" height="105"></a>&nbsp;
                                        </td>
                                        <td id=demo2 valign=top></td>
                                        </tr>
                                        </table>
                                        </div>
<!--滚动图片开始-->
<script>
var speed=30
demo2.innerHTML=demo1.innerHTML
function Marquee(){
if(demo2.offsetWidth-demo.scrollLeft<=0)
demo.scrollLeft-=demo1.offsetWidth
else{
demo.scrollLeft++
}
}
var MyMar=setInterval(Marquee,speed)
demo.onmouseover=function() {clearInterval(MyMar)}
demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
</script>
<!--滚动图片结束-->
                                        </td>
                                        <td width="68">
                                        <p align="center">
                                        <a href="PhotoBox/index.asp?mod=cdir&act=3">校园建筑</a><br>
                                        <a href="PhotoBox/index.asp?mod=cdir&act=1">学校设施</a><br>
                                        <a href="PhotoBox/index.asp?mod=cdir&act=2">生活配备</a><br>
                                        <a href="PhotoBox/index.asp?mod=cdir&act=4">校园生活</a><br>
                                        <br>
                                        + <a href="PhotoBox/index.asp">More</a> +</td>
                                    </tr>
                                </table>
                            </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
<!--动态标签开始-->
<SCRIPT language=javascript>
function secBoard(n)
  {
    for(i=0;i<secTable.cells.length;i++)
      secTable.cells

[i].className="sec11";
    secTable.cells[n].className="sec21";
    for(i=0;i<mainTable.tBodies.length;i++)
      mainTable.tBodies

[i].style.display="none";
    mainTable.tBodies


搜索更多相关主题的帖子: background IE浏览器 光华国际 content images 
2014-03-17 14:18
hu9jj
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
来 自:红土地
等 级:贵宾
威 望:400
帖 子:11857
专家分:43421
注 册:2006-5-13
收藏
得分:10 
浏览器的基本功能是相同的,只要没有使用什么特别的功能,所有的浏览器都能显示,只不过可能显示出来的格式会有不同,这就需要你在不同浏览器下反复测试和调整。

活到老,学到老!http://www.(该域名已经被ISP盗卖了)E-mail:hu-jj@
2014-03-18 08:46
tlliqi
Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19
等 级:贵宾
威 望:204
帖 子:15453
专家分:65956
注 册:2006-4-27
收藏
得分:10 
回复 2楼 hu9jj
十分正确
2014-03-18 17:49
快速回复:这是我学校的网站代码,只能支持IE浏览器,有哪位高手能告诉我怎么改, ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.026769 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved