1 Date: Fri, 10 Sep 2010 13:48:49 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4 pagename=Help%2FTranscludePlugin;
7 Content-Transfer-Encoding: binary
9 TranscludePlugin 用來嵌入整個(外部)網頁到 wiki 頁面.
16 初始化 transclusion 框架的高度.
17 如果,可能的話,在 transcluded 頁面載入後,可以透過 javascript 改變框架大小,
18 讓它能塞下整個 transcluded 頁面. (參閱下面可以得到更多.)
22 o 頁面是利用 =<iframe>= 標籤達到 transclude 的目的. 舊的瀏覽器不支援
23 ''iframe''. 這種情況下,使用者將會看到超連結.
25 o When possible, JavaScript code is used to adjust the height of the
26 _iframe_ so that it fits the entire transcluded page.
27 Unfortunately, this seems possible only when the transcluded page
28 comes from the same server as the wiki page. (This restriction is
29 due to security checks built in to the JavaScript language.)
31 o The recursion detection code does not currently work. Be careful to
32 avoid recursive transclusions, or you'll be sorry (or at least
38 <<Transclude src="http://phpwiki.sourceforge.net/demo/ChangeLog" >>
43 <<Transclude src="http://phpwiki.sourceforge.net/demo/ChangeLog" >>