"使用者:Rocio/測試頁面" 修訂間的差異
出自 淡水維基館
小 (→跑馬燈) |
小 (→垂直) |
||
行 40: | 行 40: | ||
</marquee> | </marquee> | ||
</option> | </option> | ||
+ | |||
<option> | <option> | ||
<marquee direction="up" height="300px" behavior="slide"> | <marquee direction="up" height="300px" behavior="slide"> | ||
<gallery caption="淡水歷史建築"> | <gallery caption="淡水歷史建築"> | ||
檔案:公司田溪程氏古厝-2.jpg|公司田溪程氏古厝 | 檔案:公司田溪程氏古厝-2.jpg|公司田溪程氏古厝 | ||
− | 檔案:木下靜涯故居.jpg|[[木下靜涯故居]] | + | 檔案:木下靜涯故居.jpg|'''[[木下靜涯故居]]''' |
− | 檔案:日本警官宿舍1.JPG|日本警官宿舍 | + | 檔案:日本警官宿舍1.JPG|<center>日本警官宿舍</center> |
+ | </gallery> | ||
+ | </marquee> | ||
+ | </option> | ||
+ | |||
+ | <option> | ||
+ | <marquee direction="up" height="300px" behavior="slide"> | ||
+ | <gallery caption="瓦窯坑 [[錦繡莊]]"> | ||
+ | 檔案:錦繡莊莊門.jpg|[[錦繡莊]]莊門 | ||
+ | 檔案:錦繡莊莊門(背面).jpg|[[錦繡莊]]莊門(背面) | ||
+ | 檔案:錦繡莊古砲台遺跡1.jpg|錦繡莊古砲台遺跡 | ||
+ | 檔案:錦繡莊石刻-水源.jpg|'''錦繡莊石刻-水源''' | ||
</gallery> | </gallery> | ||
</marquee> | </marquee> |
於 2014年8月8日 (五) 22:03 的修訂
跑馬燈
- HTML marquee 跑馬燈參數:
方向設定:direction="參數值";可設定 up(向上)、dun(向下)、left(向左)、right(向右)。 對齊設定:align="參數值";可設定 top(靠上對齊)、midden(垂直至中)、botton(靠下對齊)。(有些瀏覽器不支援,最好直接在內容設定) 速度設定:scrollamount="參數值" ;可設定為數字,通常設定 1~10 的範圍,數字越大跑得越快。 間隔時間:scrolldelay="數值";顯示內容每次移動的間隔時間(省略時的預設值:85毫秒/ms)。 長度設定:height="參數值";數字,自行設定。 寬度設定:width="參數值";數字,自行設定。 行為設定:behavior="參數值";可設定 alternate(來回跑)、slide(跑入後停止)。 背景顏色:bgcolor="參數值";可設定為顏色的色碼,不設定則沒有顏色。
水平
垂直
- 進入後停止 (也許...可以搭配choose,每次隨機出現"一組"照片,可能是古蹟組,或者某一景點一系列,如錦繡莊)。
<marquee direction="up" height="300px" behavior="slide">
</marquee>
- 反覆
<marquee direction="up" height="300px" scrollamount="3">
</marquee>
網站banner
測試頁面
- 主題頁面:淡水古蹟