frame
Posted: Tue Dec 16, 2003 10:44 pm
When I use HTML in PHP file:
When I put a link in left.php file, such as <a href="file.php">A</a> it should target to "main" but it doesn't.
Then I set
the codes to
When I try it out again.. it doesn't work.
I even try to put the code <a href="file.php" target="main" inside the left.php.. still no work..
Any one know why?
?>
Code: Select all
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="80,*" cols="*" frameborder="NO" border="0" framespacing="0">
<frame src="top.php" name="top" scrolling="NO" noresize>
<frameset cols="80,*" frameborder="NO" border="0" framespacing="0">
<frame src="left.php" name="left" scrolling="NO" noresize>
<frame src="main.php" name="main">
</frameset>
</frameset>
<noframes><body>
</body></noframes>
</html>Then I set
the codes to
Code: Select all
<frame src="left.php" name="left" target="main" scrolling="NO" noresize>
<frame src="main.php" name="main" target="_self">I even try to put the code <a href="file.php" target="main" inside the left.php.. still no work..
Any one know why?
?>