史萊姆論壇

史萊姆論壇 (http://forum.slime.com.tw/)
-   論壇程式討論區 (http://forum.slime.com.tw/f79.html)
-   -   關於自訂框架頁 (http://forum.slime.com.tw/thread246982.html)

jessezero 2009-04-28 11:49 PM

關於自訂框架頁
 
主要的網頁開發工具為DW CS4。
欲切割的框架頁架構如下圖所示。
http://www.badongo.com/t/800/5815835.jpg

source code如下
語法:

<frameset rows="150,600,55" cols="1024" frameborder="no">
  <frame id="top" src="top-Page.html" name="topFrame" noresize="noresize" marginwidth="0" marginheight="0" title="topFrame" scrolling="no">
<frameset cols="250,774" frameborder="no">
  <frame id="left" src="left-page.html" name="leftFrame" frameborder="no" noresize="noresize" marginwidth="10" marginheight="0" title="leftFrame" scrolling="no">
  <frame id="main" src="main-Page.html" name="mainFrame" frameborder="no" title="mainFrame" scrolling="auto">
</frameset>
<frameset cols="1024" frameborder="no">
  <frame  id="boottom" src="bottom-page.html" name="bottomFrame" noresize="noresize" id="bottomFrame" title="bottomFrame" scrolling="no">
</frameset>
</frameset>

框架頁完成後,會以iFrame方式包框架頁,再將iFrame設為置中,達到框架頁網頁置中的功能。

上面的code打好後,在frontpage上運作正常,於瀏覽器(ie,firefox)也運作正常,但是如果使用DW來開含有這段程式碼的.html,DW就會顯示"頁框組並不包含列和欄的數值。預設值為2個列",並在source code中自動加入以下紅色部分的code,並在框架頁bottom底下多插了一個frame......。
引用:

<frameset rows="*,*" cols="1024" frameborder="no">
<frame id="boottom" src="bottom-page.html" name="bottomFrame" noresize="noresize" id="bottomFrame" title="bottomFrame" scrolling="no">
<frame src="UntitledFrame-3"><frame src="UntitledFrame-4"></frameset>

請問大大,小弟最原始的code有什麼地方需要修正的嗎?為什麼每次用DW去開,DW會一直show出"頁框組並不包含列和欄的數值。預設值為2個列",而且還在bottom底下多插了個frame?
懇請大大解惑。

ISAM 2009-05-13 01:35 AM

引用:


<frameset rows="150,600,55" cols="1024" frameborder="no">
 
  <frame id="top" src="top-Page.html" name="topFrame" noresize="noresize" marginwidth="0" marginheight="0" title="topFrame" scrolling="no">
  <frameset cols="250,774" frameborder="no">
       <frame id="left" src="left-page.html" name="leftFrame" frameborder="no" noresize="noresize" marginwidth="10" marginheight="0" title="leftFrame" scrolling="no">
       <frame id="main" src="main-Page.html" name="mainFrame" frameborder="no" title="mainFrame" scrolling="auto">
    </frameset>
<frameset cols="1024" frameborder="no">
  <frame id="boottom" src="bottom-page.html" name="bottomFrame" noresize="noresize" id="bottomFrame" title="bottomFrame" scrolling="no">
</frameset>
 
 </frameset>
  

 
 
多要求分割, 使它找不到Partner做伙

  


所有時間均為台北時間。現在的時間是 08:06 PM

Powered by vBulletin® 版本 3.6.8
版權所有 ©2000 - 2024, Jelsoft Enterprises Ltd.

『服務條款』

* 有問題不知道該怎麼解決嗎?請聯絡本站的系統管理員 *


SEO by vBSEO 3.6.1