查看單個文章
舊 2009-04-28, 11:49 PM   #1
jessezero
註冊會員
榮譽勳章

勳章總數0
UID - 278656
在線等級: 級別:0 | 在線時長:2小時 | 升級還需:3小時
註冊日期: 2007-09-03
文章: 2
精華: 0
現金: 3 金幣
資產: 3 金幣
預設 關於自訂框架頁

主要的網頁開發工具為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?
懇請大大解惑。
jessezero 目前離線  
送花文章: 1, 收花文章: 1 篇, 收花: 3 次
回覆時引用此帖
有 3 位會員向 jessezero 送花:
leowang (2009-04-29),magicwoo (2009-04-29),qdenise (2009-04-29)
感謝您發表一篇好文章