2012年5月23日 星期三

內置框架完全透視

讓內置框架可以透視網頁背景

步驟一、先在你的網頁中內置框架;複製語法貼於<body> </body>之間

<iframe name="content" frameborder="0"  width="400" height="300" scrolling="yes"   src="home.html" allowtransparency="true"></iframe>


**參數解說:
  1.  name="content"  :框架名稱
  2.  height="300" width="400" :設定框架的高度及寛度
  3. scrolling="yes" :框架是否有捲軸
  4. src="home.html"  :框架首次顯示的內容網頁

步驟二、複製語法貼於要顯示於內置框架的網頁<head></head>之間

<style type="text/css"
<!-- body{background-color:transparent}
-->
</style>



-->
若你有很多頁想顯示在這個內置框架中,那就必須在每一頁都加上步驟二的語法

< 語法參考來源>OECSPACE 網站