<script type="text/javascript"><!--
function initArray() {
for (var i = 0; i < initArray.arguments.length; i++) {
this[i] = initArray.arguments[i];}
this.length = initArray.arguments.length;}
var colors = new initArray("#FF0000","#FF9900","#FFFF00","#00FF00","#00FFFF","#FF00FF");
link = 0;
vlink = 2;
function linkDance() {
link = (link+1)%colors.length;
vlink = (vlink+1)%colors.length;
document.linkColor = colors[link];
document.vlinkColor = colors[vlink];
setTimeout("linkDance()",1000);}
linkDance();
// --></script>
貼此語法後網頁內所有連結之文字會自動變換顏色
括號內之色碼可隨意更改
("#FF0000","#FF9900","#FFFF00","#00FF00","#00FFFF","#FF00FF");
如不能顯示語法效果可貼去本站語法測試板試看
語法測試板 2
歡迎光臨 笨笨網站超級論壇 (http://www.bunbunhk.com/BBS/Discuz/) | Powered by Discuz! 6.0.0 |