星期五, 10月 08, 2004

[html] 設定網頁 URL base 基準

script tip
自動變換 page 修改header

metad equiv="refresh" content="3;" url="welcome.htm"

page onload=" dynpic(); initM();"

var linkno = 10;
var date = new Date();
var rd = date.getMinutes();
var ra = rd % linkno;
var re = ++ra;


When present, the BASE element must appear in the HEAD section of an HTML document, before any element that refers to an external source. The path information specified by the BASE element only affects URIs in the document where the element appears.

For example, given the following BASE declaration and A declaration:

base href="http://www.aviary.com/products/intro.html"

沒有留言: