喜悦国际村 » XML/HTML/CSS/Js » [求助]如何刷新有框架的窗口

页: [1]
xhmaxhma2005-5-3 06:22 AM
[求助]如何刷新有框架的窗口

index.htm(分左右两个iframe)
代码如下:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
</head>
<frameset rows="*" cols="180,*" frameborder="1" border="0" framespacing="0">
  <frame src="menu.htm" name="menu" scrolling="no" noresize>
  <frame src="blank.htm" name="info" scrolling="no">
</frameset>
<noframes>
<link href="../css/style.css" type="text/css" rel="stylesheet">
<body>
</body>
</noframes>
</html>


login.htm(无框架页面)
代码如下:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
</head>
<link href="../css/style.css" rel="stylesheet" type="text/css">
<body bgcolor="#000000">
<!--         标题文字           -->
<p align="center">
<font color="#FF0000">
  <b>Administrator</b>
</font>
</p>
<!--       管理员登录框         -->
<div align="center">
<form name="login" method="post" action="login.htm">
  <table>
   <tr>
    <td><font color="#FFFFFF">Administrator</font></td>
        <td><input type="text" name="name" ></td>
   </tr>
   <tr>
    <td><font color="#FFFFFF">Password</font></td>
        <td><input type="password" name="password" ></td>
   </tr>
   <tr>
        <td colspan="2" align="center">
         <input type="submit" name="login" value="login">
         <input type="reset" name="reset" value="reset">
        </td>
   </tr>
  </table>
</form>
</div>
</body>
</html>

提问: 在menu.htm左边框架里有个登出链接,如何使点击后使index.htm刷新,并回到login.htm页?:D

ALPS2005-5-3 10:51 AM
_top


查看完整版本: [求助]如何刷新有框架的窗口


Powered by Discuz! Archiver 6.1.0  © 2001-2006 Comsenz Inc.
Processed in 0.006093 second(s), 2 queries