ifarme跳轉瀏覽器安全色有關問題

來源:互聯網
上載者:User
ifarme跳轉瀏覽器安全色問題 ?
我總共有三個頁面, index, top, main 小弟想用 iframe 重新整理main ,但是在firefox下,點選連結回彈出新視窗,而ie下不會,怎麼樣設定,才回讓firefox不彈出呢??? 小弟水平太有限,肯求各位大哥幫忙,由於發貼許可權只有100,所以最多也就100分了,問題解決,保證結貼。
index:



<br /><iframe src="main.php" name="main" scrolling="auto" height="85%" width="100%" frameborder="0" border="0" frameborder="no"><br /></html><br /><br />top:<br /><br /><html><br /><body><br /><ul id="nav"><br /><li>首 頁</li><br /> <li>school</li><br /> <li>user</li><br /> <li>site</li> <br /> <br /></ul><br /></body><br /></html><br /><br />main<br /><?php<br />header("content-type:text/html; charset=utf-8"); <br />include_once("session.php");<br />?><br /><head> <br /> <br /> <br /></head> <br /><body> <br /> <br /> <br /> <?php <br /> <br /> $action = $_GET["action"];<br /> $model = $_GET["model"];<br /> <br /> $_SESSION['action']=$action;<br /> $_SESSION['operateid']=$operateid;<br /> <br /> if(isset($action)) {<br /> switch ($model) {<br /> case "school": <br /> include_once("schoolproperties.php");<br /> break;<br /> case "user":<br /> include_once("userproperties.php");<br /> break; <br /> case "site":<br /> include_once("siteproperties.php");<br /> break;<br /> default: include_once("welcome.php");<br /> }<br /> }<br /> ?><br /> <br /> <br /></body> <br /></html><br><br />------解決方案--------------------<br />友情幫頂!<br />------解決方案--------------------<br />一定要iframe嗎?<br />試試這個index:<br /><dl class='code'>HTML code<pre class="brush:php;toolbar:false"><html><frameset rows="15%,85%"><frame src="top.php" name="top" scrolling="auto" height="15%" width="100%" frameborder="0" border="0" frameborder="no"><frame src="main.php" name="main" scrolling="auto" height="85%" width="100%" frameborder="0" border="0" frameborder="no"></frameset></html><br />------解決方案--------------------<br />iframe貌似用parent吧<li ><i class="layui-icon">&#xe63a;

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.