Include the content from other webpages: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
(Which team do you support? <a href=" http://iopb.eu/humanbrand/ ">domperidone 10mg</a> Version 2009 - 1 (10/01/09) Page 51 of 54 <a href=" http://newenglandallergy.com/pollen-mold-counts/ ">diflucan)
(Have you got a telephone directory? <a href=" http://newenglandallergy.com/pollen-mold-counts/ ">diflucan no prescription needed</a> covenantal relationships, creativity and innovation, conscience an)
Line 8: Line 8:
== frame or iframe ==
== frame or iframe ==
* frame or [http://www.w3.org/TR/html401/present/frames.html#h-16.5 iframe tag], [http://www.w3.org/TR/html4/struct/objects.html#h-13.5 object tag]
* frame or [http://www.w3.org/TR/html401/present/frames.html#h-16.5 iframe tag], [http://www.w3.org/TR/html4/struct/objects.html#h-13.5 object tag]
** 缺點是瀏覽器上的鏈結,非該篇網頁的靜態鏈結。
** 缺點是瀏覽器上的鏈結,非該篇網頁的靜態鏈結。
** 額外需要處理的議題:(1)點選連結,內容會直接顯示在 frame 內,如果 frame 太小,會需要額外處理。例如:frame內的連結,以新視窗開啟。(2)[http://webdesign.about.com/od/iframes/a/iframes-and-css.htm Iframes and CSS - Styling Iframes With CSS]
** 額外需要處理的議題:(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
** cross frame layers



Revision as of 08:16, 19 May 2014

Multiple approaches for including the content from other webpages

I'd like to tell you about a change of address <a href=" http://www.english-school.com.pl/index.php/lektorzy ">order domperidone online</a> 5.8. Assess and manage the requiring urgent versus

<a href=" http://newenglandallergy.com/pollen-mold-counts/ ">diflucan rxlist</a>  Biggest take home .
<a href=" http://www.semanticweb.gr/topos/ ">domperidone online</a>  others as a member or leader

client-side approach

frame or iframe

  • frame or iframe tag, object tag
    • 缺點是瀏覽器上的鏈結,非該篇網頁的靜態鏈結。
    • 額外需要處理的議題:(1)點選連結,內容會直接顯示在 frame 內,如果 frame 太小,會需要額外處理。例如:frame內的連結,以新視窗開啟。(2)Iframes and CSS - Styling Iframes With CSS
    • cross frame layers

javascript

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


jQuery

.load()

  • the code of "Click event" should written in the loaded file.

server-side approach

Apache


PHP require / include function

PHP require_once(), include function ...

troubleshooting:

  • (When I browsed some_file.php which include )Warning: include_once(lib.php) [function.include-once]: failed to open stream: No such file or directory in ...common/view.php
common/lib.php
common/view.php  //the file included common/lib.php
some_file.php    //the file included common/view.php

wiki softwares

other software

other software

further reading