×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

多谢!下面是源码。提示总在首页出现,但是我怀疑第一次随便点到哪一页,都会有这个问题。页面上有3FRAMES: TOP, LEFT, MAIN。见内:

本文发表在 rolia.net 枫下论坛frame 'top "上:
<html>
<head>
<title>Welcome to OTC!</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" href="style_top.css" type="text/css">
<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function openframe(mainfm)
{
mainframe=open(mainfm,"main")
}
// -->
</script>
</head>

<body>
<table width="100%" border="0">
<tr>
<td height="70" width="24%"> <img src="offical_smaller.gif" width="153" height="87">
</td>
<td height="70" width="55%">
<div align="right">
<img src="title.gif" width="529" height="55" align="middle">
</div>
</td>
<td height="70" width="21%">
</td>
</tr>
</table>
<table width="100%">
<tr>
<td width=8%>
<p class="mainmenu" >
<a href="home_left.htm" target="left" onclick=openframe("home_first.htm")>
Home</a></p>
</td>
<td width=14%>
<p class="mainmenu">
<a href="introduction_left.htm" target="left" onclick=openframe("introduction_mission.htm")>
Introduction</a></p>
</td>
<td width=12%>
<p class="mainmenu">
<a href="research_left.htm" target="left" onclick=openframe("research_project.htm")>
Research</a></p>
</td>
<td width=12%>
<p class="mainmenu">
<a href="members_left.htm" target="left" onclick=openframe("members_facaulty.htm")>
Members</a></p>
</td>
<td width=9%>
<p class="mainmenu">
<a href="news_left.htm" target="left" onclick=openframe("news_visitor.htm")>
News</a></p>
</td>
<td width=12%>
<p class="mainmenu">
<a href="seminar_left.htm" target="left" onclick=openframe("seminar_first.htm")>
Seminar</a></p>
</td>
<td width=14%>
<p class="mainmenu">
<a href="conference_left.htm" target="left" onclick=openframe("conference_mcmaster.htm")>
Conference</a></p>
</td>
<td width=10%>
<p class="mainmenu">
<a href="partner_left.htm" target="left" onclick=openframe("partner_first.htm")>
Partner</a></p>
</td>
<td>
<p class="mainmenu">
<a href="links_left.htm" target="left" onclick=openframe("links_continous.htm")>
Links</a></p>
</td>
</tr>
</table>
</body>

另2个FRAME的CODE 和这个差不多

请指教更多精彩文章及讨论,请光临枫下论坛 rolia.net
Report

Replies, comments and Discussions:

  • 枫下家园 / 电脑用户 / 请教熟悉网页制作的朋友:我刚用DREAMWEAVER英文版做好的网页在老外的机器上运行。开始没一页上都问是否要装简体中文。可我的网页上半个中文字都没有。
    我查了CODE,发现dreamweaver里默认的是<meta http-equiv="Content-Type" content="text/html; charset=gb2312">。后来我把charset改成国标,以后只在第一页出现是否装中文的提示了。要想完全消除提示,我该怎么办?
    • up
    • Try get rid of that line.
      • 聪明猫,删掉这句和把charset设为iso8859-1有什么区别?
        • 高手在吗?
        • by default, the browser treats pages as ISO-8859-1. But still some exception... so it's a good way to set every page as ISO-8859-1 encoding.
          • 已经全部改成ISO8859-1了,但是进入第一页时还是问我是否装载中文字体。我的网页是在家里的中文WIN98下做的。还有别的什么可能?谢谢
            • up
            • 会不会跟你的字体有关系,比如用了宋体?
              • 全是英文,没有输入中文,怎么会是宋体?
            • 把有提示那页的源码贴上来
              • 多谢!下面是源码。提示总在首页出现,但是我怀疑第一次随便点到哪一页,都会有这个问题。页面上有3FRAMES: TOP, LEFT, MAIN。见内:
                本文发表在 rolia.net 枫下论坛frame 'top "上:
                <html>
                <head>
                <title>Welcome to OTC!</title>
                <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
                <link rel="stylesheet" href="style_top.css" type="text/css">
                <script language="JavaScript">
                <!--
                function MM_reloadPage(init) { //reloads the window if Nav4 resized
                if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
                document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
                else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
                }
                MM_reloadPage(true);

                function openframe(mainfm)
                {
                mainframe=open(mainfm,"main")
                }
                // -->
                </script>
                </head>

                <body>
                <table width="100%" border="0">
                <tr>
                <td height="70" width="24%"> <img src="offical_smaller.gif" width="153" height="87">
                </td>
                <td height="70" width="55%">
                <div align="right">
                <img src="title.gif" width="529" height="55" align="middle">
                </div>
                </td>
                <td height="70" width="21%">
                </td>
                </tr>
                </table>
                <table width="100%">
                <tr>
                <td width=8%>
                <p class="mainmenu" >
                <a href="home_left.htm" target="left" onclick=openframe("home_first.htm")>
                Home</a></p>
                </td>
                <td width=14%>
                <p class="mainmenu">
                <a href="introduction_left.htm" target="left" onclick=openframe("introduction_mission.htm")>
                Introduction</a></p>
                </td>
                <td width=12%>
                <p class="mainmenu">
                <a href="research_left.htm" target="left" onclick=openframe("research_project.htm")>
                Research</a></p>
                </td>
                <td width=12%>
                <p class="mainmenu">
                <a href="members_left.htm" target="left" onclick=openframe("members_facaulty.htm")>
                Members</a></p>
                </td>
                <td width=9%>
                <p class="mainmenu">
                <a href="news_left.htm" target="left" onclick=openframe("news_visitor.htm")>
                News</a></p>
                </td>
                <td width=12%>
                <p class="mainmenu">
                <a href="seminar_left.htm" target="left" onclick=openframe("seminar_first.htm")>
                Seminar</a></p>
                </td>
                <td width=14%>
                <p class="mainmenu">
                <a href="conference_left.htm" target="left" onclick=openframe("conference_mcmaster.htm")>
                Conference</a></p>
                </td>
                <td width=10%>
                <p class="mainmenu">
                <a href="partner_left.htm" target="left" onclick=openframe("partner_first.htm")>
                Partner</a></p>
                </td>
                <td>
                <p class="mainmenu">
                <a href="links_left.htm" target="left" onclick=openframe("links_continous.htm")>
                Links</a></p>
                </td>
                </tr>
                </table>
                </body>

                另2个FRAME的CODE 和这个差不多

                请指教更多精彩文章及讨论,请光临枫下论坛 rolia.net
                • 能不能把装载FRAME那页的代码也贴一下?要是各位大虾没看出,我想明天试着帮你看一下。
                  • 请检查一下最外层的装载其它FRAMES的那页中字符集的设定,要是还不解决,就搜索你的网站目录下所有文件,找到gb2312就改掉它。祝顺利。
                • 检查你的css文件!
                • 会不会是
                  CACHE的问题,把这个文件改个名字再看一下,
                  把IE的TEMP文件删掉,再试试看,会不会是你
                  的DREAMWARE生成的那些CODE的问题,把那
                  部分去掉再试,总是有原因,慢慢试,别着急,
                  离天亮还有段时间。
              • (一作揖)多谢各位。我明天按诸位的方法去试,明晚通报。 再次感谢!!
                • I suggest you to use another machine for testing.....