Include the content from other webpages: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
(→‎javascript: add Page Headers And Footers)
(add How Do I Include One HTML File in Another?)
Line 33: Line 33:
* [[MovableType]]: template modules, or [http://www.sixapart.com/pronet/plugins/plugin/multiblog.html MultiBlog] plugin
* [[MovableType]]: template modules, or [http://www.sixapart.com/pronet/plugins/plugin/multiblog.html MultiBlog] plugin


= further reading =
* Boutell.Com, Inc. (2007). [http://www.boutell.com/newfaq/creating/include.html How Do I Include One HTML File in Another?] / Jennifer Kyrnin (n.d.). [http://webdesign.about.com/od/ssi/a/aa052002a.htm]


[[Category:Web_Dev]]
[[Category:Web_Dev]]

Revision as of 18:49, 17 May 2010

usage

  1. seperate the navigation and content into two parts
  2. compare the content from two webpages

approach

frame or iframe

  • frame or iframe tag, object tag
    • 缺點是瀏覽器上的鏈結,非該篇網頁的靜態鏈結。
    • cross frame layers


Apache


javascript

<script language="JavaScript" type="text/javascript" src="path/to.js"></script>
<noscript><a href="URL">Description</a><noscript>

PHP require / include function

PHP require_once(), include function ...

wiki softwares

other software

other software


further reading