我想在php中用<iframe id="frm" name="frm"src="hhh.php"></iframe>
但是这个页面不会显示并且别的连接的页面也要显示在这个里面框架里
<a target="frm" href="hhh.php">Logistics</a>
但是连接也是没有用的页面也不会显示
但是这个页面不会显示并且别的连接的页面也要显示在这个里面框架里
<a target="frm" href="hhh.php">Logistics</a>
但是连接也是没有用的页面也不会显示
一、
-------
<?php
xxxxxx-----php代码
?>
<iframe id="frm" name="frm"src="hhh.php"></iframe>
<?php
xxxxxx-----php代码
?>
--------------
二、
---------
<?php
xxxxxx-----php代码
echo ("<iframe id=\"frm\" name=\"frm\"src=\"hhh.php\"></iframe>");
?>
-------------------
其实还可以借助模板技术等
<?php
echo "<a target='frm' href='hhh.php'>Logistics</a>";
echo "<br>";
echo "<iframe id='frm' name='frm'src='hhh.php'></iframe>";
?>
但是这个页面不会显示<===========【哦,不显示啊。display:none】并且别的连接的页面也要显示在这个里面框架里<==========【咦,又要显示了?display:】
<a target="frm" href="hhh.php">Logistics</a>
但是连接也是没有用的页面也不会显示【有不要显示了?-。- display:none】=========================================你到底要干嘛啊 (︶︿︶)
{
document.all.frm.style.display=none;
}
else
{
document.all.frm.style.display="";
}