longmatch
Programmer
- Nov 1, 2001
- 406
I just start to design a website using frameset with 3 frames, named title, menu, and main. I have hot link in menu frame. I would like to display my new page in main frame when I double click the link in the menu. I used target to do that. It always give me a new window, could not present the new page in main frame. WHY?
Please see the code.
Haijun
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
<FRAMESET ROWS= "20%, *" BORDER=4>
<Frame NAME="Title" SRC = "title.html" SCROLLING=no>
<frameset COLS="20%, *" BORDER=10>
<frame NAME="Menu" SRC="Menu.htm" SCROLLING = no>
<frame NAME="Main" SRC="MainPage.html">
</frameset>
</FRAMESET>
</HTML>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
<Body>
<TABLE WIDTH=75% BORDER=0 CELLSPACING=1 CELLPADDING=1>
<TR>
<TD><B><A HREF = "RegisterPage.asp" TARGET= "Main">NEW USER</A></B></TD>
</TR>
<TR>
<TD><B><A HREF = "LoginPage.asp">LOG IN</A></B></TD>
</TR>
<TR>
<TD><B><A HREF = "Logout.asp">LOG OUT</A></B></TD>
</TR>
<TR>
<TD></TD>
</TR>
</TABLE>
</BODY>
</HTML>
Please see the code.
Haijun
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
<FRAMESET ROWS= "20%, *" BORDER=4>
<Frame NAME="Title" SRC = "title.html" SCROLLING=no>
<frameset COLS="20%, *" BORDER=10>
<frame NAME="Menu" SRC="Menu.htm" SCROLLING = no>
<frame NAME="Main" SRC="MainPage.html">
</frameset>
</FRAMESET>
</HTML>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
<Body>
<TABLE WIDTH=75% BORDER=0 CELLSPACING=1 CELLPADDING=1>
<TR>
<TD><B><A HREF = "RegisterPage.asp" TARGET= "Main">NEW USER</A></B></TD>
</TR>
<TR>
<TD><B><A HREF = "LoginPage.asp">LOG IN</A></B></TD>
</TR>
<TR>
<TD><B><A HREF = "Logout.asp">LOG OUT</A></B></TD>
</TR>
<TR>
<TD></TD>
</TR>
</TABLE>
</BODY>
</HTML>