IE7 problem with frame and base target pages
I have a central page with frame ( 2 cols).
In the left col, i have a tree menu. When i click at the select item one page will be displayed in the right col (base target frprincipal) . But it is not happen.
The page was displayed at left col.
Have any problem, with frames and base target in IE7 ?
<frameset cols="25%,*" >
<frame src="nostreeeng.htm" NORESIZE>
<frame name="frprincipal" SRC="sld001.htm">
</frameset>
[518 byte] By [
Z_ms] at [2008-2-13]
Ok
<><><><><><><><><><><><><><><><><><><><><>
Main File ( Index.html)
<html>
<Head>
</head>
<frameset cols="120,*" framespacing="0" frameborder="1">
<frame name="frmenu" src="menu.html" noresize scrolling="no">
<frame name="frprincipal" src="pag1.html" >
</frameset>
</html>
<><><><><><><><><><><><><><><><><><><><><><
Menu.html
<HTML>
<HEAD>
</HEAD>
<BODY background="../IMAGENS/backmenuz.jpg">
<base target="frprincipal">
<table>
<tr>
<td>
<A HREF="pag2.html"> Option 1</A><BR>
</td>
</tr>
</table>
</BODY>
</HTML>
</html>
<><><><><><><><><><><><><><><><><><><><><><
pag1.html
<HTML>
<HEAD>
<TITLE>Untitled</TITLE>
<META NAME="GENERATOR" CONTENT="MAX's HTML Beauty++ 2004">
</HEAD>
<BODY>
This is Page 1
</BODY>
</HTML>
<><><><><><><><><><><><><><><><><><><><><><
pag2.html
<HTML>
<HEAD>
<TITLE>Untitled</TITLE>
<META NAME="GENERATOR" CONTENT="MAX's HTML Beauty++ 2004">
</HEAD>
<BODY>
This is Page 2
</BODY>
</HTML>
<><><><><><><><><><><><><><><><><><><><><><
Hi,
The BASE tag should be within the HEAD element. If you change menu.html to have the base tag within the head as below then it will work fine.
Thanks
-Dave
<HTML>
<HEAD>
<base target="frprincipal">
</HEAD>
<BODY background="../IMAGENS/backmenuz.jpg">
<table>
<tr>
<td>
<A HREF="pag2.html"> Option 1</A><BR>
</td>
</tr>
</table>
</BODY>
</HTML>
</html>