14,974
edits
(→usage) |
|||
| Line 19: | Line 19: | ||
= client-side approach = | = client-side approach = | ||
== Frame or iframe == | == Frame or iframe == | ||
frame or [http://www.w3.org/TR/html401/present/frames.html#h-16.5 iframe tag] | |||
* 缺點是瀏覽器上的鏈結,非該篇網頁的靜態鏈結。 | |||
* 額外需要處理的議題:(1)點選連結,內容會直接顯示在 frame 內,如果 frame 太小,會需要額外處理。例如:frame內的連結,以新視窗開啟。(2)[http://webdesign.about.com/od/iframes/a/iframes-and-css.htm Iframes and CSS - Styling Iframes With CSS] | |||
* cross frame layers | |||
[https://www.w3schools.com/tags/tag_object.asp HTML object tag][http://www.w3.org/TR/html4/struct/objects.html#h-13.5] | |||
* code: {{kbd | key=<nowiki><object width="400" height="400" data="path/to/plain_text.txt"></object></nowiki>}} | |||
== Javascript == | == Javascript == | ||