]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - locale/zh/pgsrc/Help%2FTranscludePlugin
Merge OldTextFormattingRules into TextFormattingRules; Rename _GroupInfo --> DebugGro...
[SourceForge/phpwiki.git] / locale / zh / pgsrc / Help%2FTranscludePlugin
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;
5   flags="";
6   charset=UTF-8
7 Content-Transfer-Encoding: binary
8
9 TranscludePlugin 用來嵌入整個(外部)網頁到 wiki 頁面.
10
11 ==== Plugin Arguments
12
13 =src= |
14   要 transclude 的網頁 URL.
15 =height= |
16   初始化 transclusion 框架的高度.
17   如果,可能的話,在 transcluded 頁面載入後,可以透過 javascript 改變框架大小,
18   讓它能塞下整個 transcluded 頁面. (參閱下面可以得到更多.)
19
20 ==== Bugs / Caveats
21
22 o 頁面是利用 =<iframe>= 標籤達到 transclude 的目的. 舊的瀏覽器不支援
23   ''iframe''. 這種情況下,使用者將會看到超連結.
24
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.)
30
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
33   amused.)
34
35 ==== Example
36
37 {{{
38 <<Transclude src="http://phpwiki.sourceforge.net/demo/ChangeLog" >>
39 }}}
40
41 將會得到
42
43 <<Transclude src="http://phpwiki.sourceforge.net/demo/ChangeLog" >>