xln
13-10-05, 10:06 PM
Hi.
I'm a beginner of dp,I want to create a frameset page in dotproject.I wrote a file index.php just like this:
-----------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<head>
<title>dotproject</title>
<meta http-equiv="Content-Type" content="text/html; charset='utf-8' ?>" />
<link rel="stylesheet" type="text/css"/>
</head>
<?php
echo '<frameset cols="200,*" rows="*" border="1" frameborder="1" framespacing="1" id="leftFrameset" >' . "\n";
echo ' <frame src="left.php? name="nav" frameborder="0" id="leftFrame" />' . "\n";
echo ' <frame src="main.html?" name="main" id="rightFrame" frameborder="1" />' . "\n";
?>
<noframes>
<body bgcolor="#FFFFFF"></body>
</noframes>
</frameset>
</html>
-----------------------------------------------
If I run this file in IE lonely(not in dotproject),it will display a frameset(with a left frame and a main frame page) ,but it will not display anything if I run it in dotproject. Why?
Please give me a hand. Thx very much.
I'm a beginner of dp,I want to create a frameset page in dotproject.I wrote a file index.php just like this:
-----------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<head>
<title>dotproject</title>
<meta http-equiv="Content-Type" content="text/html; charset='utf-8' ?>" />
<link rel="stylesheet" type="text/css"/>
</head>
<?php
echo '<frameset cols="200,*" rows="*" border="1" frameborder="1" framespacing="1" id="leftFrameset" >' . "\n";
echo ' <frame src="left.php? name="nav" frameborder="0" id="leftFrame" />' . "\n";
echo ' <frame src="main.html?" name="main" id="rightFrame" frameborder="1" />' . "\n";
?>
<noframes>
<body bgcolor="#FFFFFF"></body>
</noframes>
</frameset>
</html>
-----------------------------------------------
If I run this file in IE lonely(not in dotproject),it will display a frameset(with a left frame and a main frame page) ,but it will not display anything if I run it in dotproject. Why?
Please give me a hand. Thx very much.