| 好多xG語法  包你一定有用" 
 
 QUOTE: 用Crtl+F搵你想搵ge Code
 **如果冇講明擺邊就姐係擺Website Stats
 
 
 
 
 
 QUOTE:
 紅色=一個大的分類Topic
 橙色=大Topic之下的一個小種類
 綠色=解釋
 
 
 01. 登入篇 ... #1
 02. 密碼篇 ... #1
 03. 鎖Click篇 ... #1
 04. 移除篇 ... #1
 05. 隱藏篇 ... #2
 06. 板面篇 ... #2
 07. 震動篇 ... #3
 08. 字型篇 ... #3
 09. 貼圖篇 ... #3
 10. 背景篇 ... #3
 11. 卷軸篇 ... #4
 12. 滑鼠篇 ... #5
 13. 日記框篇 ... #6
 14. 日期篇 ... #6
 15. 改字篇 ... #7
 16. 超連結篇 ... #7
 17. 透明篇 ... #7
 18. 音樂篇 ... #8~10
 19. 播放器篇 ... #11
 20. 其他篇 ... #11
 
 *******************************************************
 01. 登入篇 ;;;
 
 強逼登入先可以睇到 ;;;
 Step 1
 
 
 CODE: [Copy to clipboard]
 <!-- Part I of Block Users Script submitted by xanga.com/sherrys_designs -->
 <script LANGUAGE="JavaScript">
 function redirect () {
 location.href = 'http://www.xanga.com/signin.aspx';
 }
 </SCRIPT>
 
 
 
 **放Header
 Step 2
 
 
 CODE: [Copy to clipboard]
 <!-- Part II of Block Users Script submitted by xanga.com/sherrys_designs -->
 <script language="javascript">
 function getXName() {
 for (var i = 0; i < document.links.length; i++) {
 if (document.links.href.substring(0,38)=="http://www.xanga.com/private/home.aspx") {
 var link = document.links;
 var text = document.all ? link.innerText : link.text ? link.text : '';
 return text;
 break;
 }}
 return null;
 }
 
 xName = getXName();
 
 if (xName == 'USERNAME' || xName == 'USERNAME' || xName == null) {
 alert("你想整既字");
 redirect();
 }
 
 </script>
 
 
 
 **放Website Stats,Step 1同Step 2都要做齊
 呢個code可以防止某d人入黎
 例如冇signin既人同埋你想block既人,係USERNAME度打你想block個人就ok
 佢會彈左句Sorry, you are either blocked from this site or not logged in.出黎
 
 *******************************************************
 
 登入時彈出的Welcome Message ;;;
 
 
 CODE: [Copy to clipboard]
 <script language="JavaScript">
 <!--
 alert(" 字 ");
 //--></script>
 
 
 
 *******************************************************
 
 離開時彈出的ByeBye Message ;;;
 
 
 CODE: [Copy to clipboard]
 <script language="JavaScript">
 function UserExit(){
 alert("字");
 }</script>
 <body  onUnload="UserExit()">
 
 
 
 **如果想字隔行,可以係字與字之間打入/n
 
 *******************************************************
 
 02. 密碼篇 ;;;
 
 輸入密碼進入(一) ;;;
 
 
 CODE: [Copy to clipboard]
 <SCRIPT LANGUAGE="JavaScript">
 function password() {
 var testV = 1;
 var pass1 = prompt('請輸入密碼(密碼是welcome):','');
 while (testV < 3) {
 if (!pass1)
 history.go(-1);
 if (pass1 == "welcome") {
 alert('密碼正確!');
 break;
 }
 testV+=1;
 var pass1 =
 prompt('密碼錯誤!請重新輸入:');
 }
 if (pass1!="password" & testV ==3)
 history.go(-1);
 return " ";
 }
 document.write(password());
 </SCRIPT>
 
 
 
 **打錯密碼會有提示
 
 *******************************************************
 
 輸入密碼進入(二) ;;;
 
 
 CODE: [Copy to clipboard]
 <script language="JavaScript">
 <!--
 var keyword = "welcome"
 function checkKey(){
 var key = prompt(" 提示問題 "," 打密碼地方GE字 ")
 if(keyword != key)
 history.go(0)
 }
 checkKey()
 //-->
 </script>
 
 
 
 **一定要知密碼先入到,錯左唔會有提示亦唔會去左第二個網頁
 
 *******************************************************
 
 輸入密碼進入(三) ;;;
 
 
 CODE: [Copy to clipboard]
 <script LANGUAGE="JavaScript">
 <!-- Begin
 var monkey = prompt("請輸入所需要密碼"," 提示密碼 welcome ")
 if (monkey == 'welcome'){
 }
 else {
 self.location = 'http://www.yahoo.com'
 }
 // End -->
 </script>
 
 
 
 **如果打錯密碼就會去左Yahoo
 
 *******************************************************
 
 03. 鎖Click篇 ;;;
 
 鎖Right Click+彈警告 ;;;
 
 
 CODE: [Copy to clipboard]
 <script language="JavaScript">
 if (navigator.appName.indexOf("Internet Explorer") != -1)
 document.onmousedown = noSourceExplorer;
 function noSourceExplorer(){if (event.button == 2 |
 event.button == 10){alert(" 字 ")
 ;}}</script>
 
 
 
 *******************************************************
 
 鎖Right Click+彈警告+彈多個Window ;;;
 
 
 CODE: [Copy to clipboard]
 <script language=Javascript>
 function click(){
 if(event.button==2){earthquake()
 alert("警告的字")
 window.open("網址")
 ;}
 }document.onmousedown=click// --]
 function earthquake(){
 window.moveTo(1000,5000)
 }
 </script>
 
 
 
 *******************************************************
 
 鎖Right Click+防Hight Light(一) ;;;
 
 
 CODE: [Copy to clipboard]
 <body bgcolor="#FFFFFF" ondragstart="return false" onselectstart="return false" oncontextmenu="return false">
 
 
 
 *******************************************************
 
 鎖Right Click+防Hight Light(二) ;;;
 
 
 CODE: [Copy to clipboard]
 <body onselectstart="return false;" ondragstart="return false;" oncontextmenu="return false;">
 
 
 
 *******************************************************
 
 04. 移除篇 ;;;
 
 移除廣告 ;;;
 
 
 CODE: [Copy to clipboard]
 </table></td></tr></tr></td></table>
 <ilayer name=""><div id="" style="width:1; height:1; BACKGROUND: #; FILTER: alpha(opacity=0); overflow:auto">
 <ilayer name=""><div id="" style="width:1; height:1; BACKGROUND: #; FILTER: alpha(opacity=0); overflow:auto">
 <center></table></td></tr></tr></td></table>
 <ilayer name=""><div id="" style="width:1; height:1; BACKGROUND: #; FILTER: alpha(opacity=0); overflow:auto">
 <ilayer name=""><div id="" style="width:1; height:1; BACKGROUND: #; FILTER: alpha(opacity=0); overflow:auto">
 
 
 
 整走移除廣告後剩餘的空位 ;;;
 
 
 CODE: [Copy to clipboard]
 <div style="position:static; margin-top: -110px;">
 
 
 
 **放Header
 
 *******************************************************
 
 移除Xanga底的一行超連結 ;;;
 
 
 CODE: [Copy to clipboard]
 <style type="text/css">
 table.footer { display:none; }
 </style>
 
 
 
 *******************************************************
 
 移除個人資料框 ;;;
 Step 1
 
 
 CODE: [Copy to clipboard]
 <style type="text/css">
 .#rblEprops{display:none;}
 #pnlEnabled table, #htmleditor, #lblTimeZone, #pnlEprops, #rblEprops
 /* width of the comment page */
 {width:340px;}
 .leftmoduletitlebar, .leftmoduleborder, .leftmoduleinterior, table.left, table.left TH, table.left TD, table.navigation, table.footer
 {display: none;} </style>
 
 
 
 Step 2
 
 
 CODE: [Copy to clipboard]
 <a href="http://edit.xanga.com/signin.aspx?ReturnUrl=%2fclaf.aspx">look & feel</a>
 
 
 
 **消除個人資料框後(即Step 1)要加返條link (即Step 2)先可以入look and feel改野
 
 05. 隱藏篇 ;;;
 
 隱藏左邊 ;;;
 
 
 
 
 CODE: [Copy to clipboard]
 <script type="text/javascript">
 //
 // ============================
 // "Minimize your modules"
 // version 2.0, July, 2005
 // ============================
 //
 // ©2005 EasterEgg
 
 // If you change the value of displayTopModule to 1, the top module will be displayed
 // by default. Set it's value to 0 if you don't want this.
 //
 
 displayTopModule = 1;
 
 allTables = document.getElementsByTagName('table');
 leftSideModules = new Array();
 for (i=0; i<allTables.length; ++i)
 {
 if (allTables.className == 'left')
 {
 allTables.id = 'leftsidemod' + leftSideModules.length;
 leftSideModules.push(allTables);
 }
 
 }
 function toggleDisplayOrHide(anElement,idNr)
 {
 extraRow = document.getElementById(idNr).getElementsByTagName('TR')[2];
 if (anElement.style.display == 'none')
 {
 anElement.style.display = ''
 if (extraRow)
 document.getElementById(idNr).getElementsByTagName('TR')[2].style.display = '';
 }
 else
 {
 anElement.style.display = 'none';
 if (extraRow)
 document.getElementById(idNr).getElementsByTagName('TR')[2].style.display = 'none';
 }
 }
 headerLinkColor = '';
 topStyleSheet = document.getElementsByTagName('style')[0];
 if (document.URL.indexOf('weblogs'))
 topStyleSheet = document.getElementsByTagName('style')[1];
 if (topStyleSheet)
 {
 searchStr = 'table.left TH { color: ';
 searchStrPos = topStyleSheet.innerHTML.indexOf(searchStr);
 if (searchStrPos)
 {
 searchStrPos = searchStrPos + searchStr.length;
 headerLinkColor = topStyleSheet.innerHTML.substring(searchStrPos, searchStrPos + 7);
 }
 }
 for (n = 0; n<leftSideModules.length; ++n)
 {
 if (navigator.userAgent.indexOf('Opera') == -1)
 {
 temp1 = leftSideModules[n].getElementsByTagName('TH')[0].innerHTML;
 temp2 = '<a href=\"#\" onclick=\"javascript:toggleDisplayOrHide(document.getElementById(' +
 '\'' + leftSideModules[n].id + '\').getElementsByTagName(\'TR\')[1],\'' +
 leftSideModules[n].id + '\'); return false;\" style=\"text-decoration: none; color: ' +
 headerLinkColor + ';\">' + temp1 + '</a>';
 leftSideModules[n].getElementsByTagName('TH')[0].innerHTML = temp2;
 if ((n == 0) && (displayTopModule == 1))
 leftSideModules[n].getElementsByTagName('TR')[1].style.display = ''
 else
 leftSideModules[n].getElementsByTagName('TR')[1].style.display = 'none';
 if (leftSideModules[n].getElementsByTagName('TR')[2])
 leftSideModules[n].getElementsByTagName('TR')[2].style.display = 'none';
 }
 }
 </script>
 
 
 
 *******************************************************
 
 06. 板面篇 ;;;
 
 自設網頁名(一) ;;;
 
 
 CODE: [Copy to clipboard]
 <script language=javascript>
 document.title=("你想要顯示既字")
 </script>
 
 
 
 *******************************************************
 
 自設網頁名(二) ;;;
 
 
 CODE: [Copy to clipboard]
 <table border="0" width="100%" cellpadding="0" cellspacing="0"><tr><td valign="bottom" align="right"><script language=javascript>
 document.title=("打返想改既名")
 </script>
 
 
 
 *******************************************************
 
 自設網頁名(三) ;;;
 
 
 CODE: [Copy to clipboard]
 <body ONDRAGSTART="window.event.returnValue=false" ONCONTEXTMENU="window.event.returnValue=false" onSelectStart="event.returnValue=false" >
 
 
 <script language=javascript >
 title_new="修改網頁名"
 step=0
 
 function flash_title()
 {
 step++
 if (step==7) {step=1}
 if (step==1) {document.title=' '+title_new+' '}
 if (step==2) {document.title=' '+title_new+' '}
 if (step==3) {document.title=' '+title_new+' '}
 if (step==4) {document.title=' '+title_new+' '}
 if (step==5) {document.title=' '+title_new+' '}
 if (step==6) {document.title=' '+title_new+' '}
 }
 flash_title()
 </script>
 
 
 
 *******************************************************
 
 按圖進入 ;;;
 
 
 CODE: [Copy to clipboard]
 <script type='text/javascript'>
 // intro splash page by micron
 // for more xanga scripts and help go to createblog.com
 
 // change this url to an image of your choice
 var image = '圖片網址';
 
 function enterSite() {
 document.getElementById('splash').style.display = 'none';
 var content = document.getElementsByTagName("center");
 for (var i=0; i<content.length;i++) {
 content.style.display = 'block';
 }
 return false;
 }
 
 if (document.title.slice(-10) == 'Xanga Site') {
 document.write('</span></center><style type="text/css"> center {display:none;} .image {border:0px solid #dcdcdc;} </style><table height="100%" width="100%" id="splash"><tr><td align="center" valign="middle" style="text-align:center !important;"><a href="#" onclick="return enterSite();"><img src="'+ image +'" border="0" class="image"></a></td></tr></table><center><span>');
 }
 </script>
 
 
 
 **放Header所有Code之上
 
 *******************************************************
 
 板面左右掉轉 ;;;
 
 
 CODE: [Copy to clipboard]
 <script language="Javascript">
 // original by sean 遊客無法瀏覽此圖片或下載點,請先註冊或登入會員。
 var tds = document.getElementsByTagName("td");
 for (var i = 0; i < tds.length; i++){
 if (tds.width == "200"){
 tds.parentNode.appendChild(tds.cloneNode(true));
 tds.parentNode.removeChild(tds);
 break;
 }}
 </script>
 
 
 
 *******************************************************
 
 更改個人資料框闊度 ;;;
 
 
 CODE: [Copy to clipboard]
 <style type="text/css">
 table.left { border: 粗px dashed #色; width:你想要的闊度px}
 </style>
 
 
 
 **dashed可改dotted(點)、double(雙線)、solid(單線)
 
 *******************************************************
 
 
 格仔分隔線 ;;;
 CODE: [Copy to clipboard]
 <script language = JavaScript>
 <!--
 // customize by changing the values below
 // various colors, in quotes, seperated by commas
 var blinkColors = new Array("#6699ff", "#999999", "#ff409f", "#ffffff");
 // the border color
 var blinkBorderColor = "#000000";
 // the border width, in pixels
 var blinkBorderWidth = 1;
 // the # of rows
 var blinkRows = 1;
 // the # of columns
 var blinkCols = 50;
 // the width of the entire box, in pixels
 var blinkWidth = 600;
 // the height of each row, in pixels
 var blinkRowHeight = 10;
 // the speed of blinking, in milliseconds
 var blinkRate = 10;
 
 // do not edit below this line
 st = setTimeout;
 document.write("<table id='blinkbox' border=0 width='"+ blinkWidth +"' bgcolor='"+ blinkBorderColor +"' cellspacing='"+ blinkBorderWidth +"'>");
 for(r = 0; r < blinkRows; r++)
 {
 document.write("<TR>");
 for(c = 0; c < blinkCols; c++)
 {
 document.write("<TD height='"+ blinkRowHeight +"'></TD>");
 }
 document.write("</TR>");
 }
 document.write("</table>");
 // ... and this makes it blink
 function blinkIt()
 {
 changecell = Math.floor(Math.random() * (blinkRows * blinkCols));
 changecolor = Math.floor(Math.random() * blinkColors.length);
 bb = document.getElementById("blinkbox");
 bbtd = bb.getElementsByTagName("td");
 bbtd[changecell].style.backgroundColor = blinkColors[changecolor];
 st("blinkIt()", blinkRate);
 }
 blinkIt();
 //-->
 </script>
 
 框內飛字 ;;;
 
 <center><table>
 <TR>
 <td>
 <fieldset>
 <marquee direction="left" height=30 width=35 scrollamount="2"><font
 color=black
 family="arial" size=2>
 生日快樂</font>
 </marquee>
 </fieldset>
 </td>
 <td>
 <fieldset>
 <marquee direction="down" height=30 width=35 scrollamount="1"><font
 color=FF00CC
 family="arial" size=2>
 生日快樂</font>
 </marquee>
 </fieldset>
 </td>
 <td>
 <fieldset>
 <marquee direction="right" height=30 width=35 scrollamount="1"><font
 color=FFFF66
 family="arial" size=2>
 生日快樂</font>
 </marquee>
 </fieldset>
 </td>
 <td>
 <fieldset>
 <marquee direction="left" height=30 width=35 scrollamount="1"><font
 color=66FF66
 family="arial" size=2>
 生日快樂</font>
 </marquee>
 </fieldset>
 </td>
 <td>
 <fieldset>
 <marquee direction="up" height=30 width=35 scrollamount="1"><font
 color=3399FF
 family="arial" size=2>
 生日快樂</font>
 </marquee>
 </fieldset>
 </td>
 <td>
 <fieldset>
 <marquee direction="down" height=30 width=35 scrollamount="1"><font
 color=9900FF
 family="arial" size=2>
 生日快樂</font>
 </marquee>
 </fieldset>
 </td>
 <td>
 </TABLE></center>
 
 07. 震動篇 ;;;
 
 勁震板 ;;;
 
 
 CODE: [Copy to clipboard]
 <SCRIPT Language="JavaScript">
 netscape = (navigator.appName == "Netscape");
 n4 = netscape && (parseInt(navigator.appVersion) >= 4);
 explorer = (navigator.appName == "Microsoft Internet Explorer");
 ie4 = explorer && (parseInt(navigator.appVersion) >= 4);
 var time=0,max_time=5;
 function shake(n) {
 if (n4 || ie4) {
 for (i = 10; i > 0; i--) {
 for (j = n; j > 0; j--) {
 self.moveBy(0,i);
 self.moveBy(i,0);
 self.moveBy(0,-i);
 self.moveBy(-i,0);
 }
 }
 }
 }
 
 function shake2() {
 if(max_time==0) {
 shake(2);
 setTimeout('shake2()',400);
 }
 else if(time<max_time) {
 time++;
 shake(2);
 setTimeout('shake2()',400);
 }
 }
 shake2();
 </SCRIPT>
 
 
 
 *******************************************************
 
 雙向震動板 ;;;
 
 
 CODE: [Copy to clipboard]
 <script language = "JavaScript">
 <!--
 function shake( )
 {
 for (i = 10; i > 0; i--)
 {
 self.moveBy(0,i)
 self.moveBy(i,0)
 self.moveBy(0,-i)
 self.moveBy(-i,0)
 }
 }
 shake( );
 //-->
 </script>
 
 
 
 *******************************************************
 
 直向震動板 ;;;
 
 
 CODE: [Copy to clipboard]
 <script language = "JavaScript">
 <!--
 function shake( )
 {
 for (i = 10; i > 0; i--)
 {
 self.moveBy(0,i)
 self.moveBy(0,-i)
 }
 }
 shake( );
 //-->
 </script>
 
 
 
 *******************************************************
 
 08. 字型篇 ;;;
 
 字體變粗 ;;;
 
 
 CODE: [Copy to clipboard]
 <strong> 字 </strong>
 
 
 
 *******************************************************
 
 字體轉色 ;;;
 
 
 CODE: [Copy to clipboard]
 <font color=色碼> 字 </font>
 
 
 
 *******************************************************
 
 字體變大 ;;;
 
 
 CODE: [Copy to clipboard]
 <font size=大細1-7> 字 </font>
 
 
 
 *******************************************************
 
 09. 貼圖篇 ;;;
 
 圖 ;;;
 
 
 CODE: [Copy to clipboard]
 <IMG SRC="圖片網址">
 
 
 
 *******************************************************
 
 圖片較大小 ;;;
 
 
 CODE: [Copy to clipboard]
 <img src="圖片網址" height=高度 width=闊度>
 
 
 
 *******************************************************
 
 圖片置中 ;;;
 
 
 CODE: [Copy to clipboard]
 <p align=centre>
 <IMG SRC="圖片網址">
 </p>
 
 
 
 *******************************************************
 
 圖片移動(一) ;;;
 
 
 CODE: [Copy to clipboard]
 <marquee direction="right"><img src="圖片link"></marquee>
 
 
 
 **呢個係向右行,想向左就改right做left
 
 *******************************************************
 
 圖片移動(二) ;;;
 
 
 CODE: [Copy to clipboard]
 <marquee behavior="alternate"><img src="圖片link"></marquee>
 
 
 
 **呢個d圖係左右左右左右咁樣郁
 
 *******************************************************
 
 圖片移動(三) ;;;
 
 
 CODE: [Copy to clipboard]
 <marquee behavior="alternate" direction="up" width="80%"><marquee direction="right"><img src="圖片link"></marquee></MARQUEE>
 
 
 
 **呢個d圖係向右行既,但係向右得黎就上下上下咁,好似跳跳下咁
 
 *******************************************************
 
 圖片移動(四) ;;;
 
 
 CODE: [Copy to clipboard]
 <marquee behavior="alternate"><marquee width="200"><img src="圖片link"></marquee></marquee>
 
 
 
 **呢個就係行下停下行下停下咁
 
 *******************************************************
 
 圖片移動(Mouse掂到張圖時會Hold住) ;;;
 
 
 CODE: [Copy to clipboard]
 <marquee scrollamount='100' scrolldelay='1' direction= 'left' width='300' height='100' id=xiaoqing onmouseover=xiaoqing.stop() onmouseout=xiaoqing.start()><IMG src="圖址"><IMG src="圖址"></marquee>
 
 
 
 *******************************************************
 
 圖片走馬燈 ;;;
 
 
 CODE: [Copy to clipboard]
 <script language="JavaScript1.2">
 <!--
 var marqueewidth=470;
 var marqueeheight=40;
 var speed=10;
 var marqueecontents='<IMG src="圖片網止" height=圖片高度 width=圖片闊度 border=0> ';
 if (document.all) document.write('<marquee scrollAmount='+speed+' style="width:'+marqueewidth+'">'+marqueecontents+'</marquee>');
 function regenerate() {window.location.reload();}
 function regenerate2(){
 if (document.layers){
 setTimeout("window.onresize=regenerate",450);
 intializemarquee();
 }
 }
 function intializemarquee(){
 document.cmarquee01.document.cmarquee02.document.write('<nobr>'+marqueecontents+'</nobr>');
 document.cmarquee01.document.cmarquee02.document.close();
 thelength=document.cmarquee01.document.cmarquee02.document.width;
 scrollit();
 }
 function scrollit(){
 if (document.cmarquee01.document.cmarquee02.left>=thelength*(-1)){
 document.cmarquee01.document.cmarquee02.left-=speed;
 setTimeout("scrollit()",100);
 } else {
 document.cmarquee01.document.cmarquee02.left=marqueewidth;
 scrollit();
 }
 }
 window.onload=regenerate2;
 //-->
 </script>
 
 
 
 *******************************************************
 
 圖片透明 ;;;
 
 
 CODE: [Copy to clipboard]
 <img style="FILTER: alpha(opacity=50)" onmouseout=makevisible(this,1) src="圖片的網址">
 
 
 
 **opacity=透明度由1-100,呢個Code只需要貼係你想透明既地方,如Header,Website Stats或Public Profile
 
 *******************************************************
 
 圖片模糊 ;;;
 
 
 CODE: [Copy to clipboard]
 <img src="圖片網址" style="filter:Alpha(Opacity=80,style=2)">
 
 
 
 **呢個會令到圖四邊模糊,style可以較1,2,3因為有3個款
 
 *******************************************************
 
 10. 背景篇 ;;;
 
 隨機背景圖 ;;;
 
 
 CODE: [Copy to clipboard]
 <script language=javascript>
 <!--
 var pic=new Array(5)
 pic[0]="圖1網址"
 pic[1]="圖2網址"
 pic[2]="圖3網址"
 pic[3]="圖4網址"
 pic[4]="圖5網址"
 
 var newdate=new Date()
 var getpic=newdate.getSeconds()%pic.length
 document.write('<body background='+pic[getpic]+'>')
 //-->
 </script>
 
 
 
 **如果唔夠"圖1,2,3,4 ... 網址"擺就可以如此類推加落去
 
 *******************************************************
 
 隨機背景圖+自訂位置 ;;;
 
 
 CODE: [Copy to clipboard]
 <script language=javascript>
 var pic=new Array(5)
 pic[0]="圖1網址"
 pic[1]="圖2網址"
 pic[2]="圖3網址"
 pic[3]="圖4網址"
 pic[4]="圖5網址"
 
 
 var newdate=new Date()
 var getpic=newdate.getSeconds()%pic.length
 document.write('<STYLE>')
 document.write('body{ background-image: url('+pic[getpic]+');')
 document.write(' background-repeat: no-repeat; ')
 document.write('background-attachment: fixed; ')
 document.write('background-position: 50% 50% }')
 document.write('</STYLE>')
 </script>
 
 
 
 **語法中最底部background-position: 50% 50%的50% 50%是控制圖片顯示位置,可修改
 若設定為background-position: 0% 0%則是升到、最高、最左。如此類推
 
 *******************************************************
 
 日記內容背景 ;;;
 
 
 CODE: [Copy to clipboard]
 <style type="text/css">
 table.blogbody {
 family-font: verdana;
 border: 粗度px dotted #顏色;
 BACKGROUND-IMAGE: url(圖片網址);
 FILTER: alpha(opacity=透明度);
 }
 <style>
 
 
 
 *******************************************************
 
 個人資料背景 ;;;
 
 
 CODE: [Copy to clipboard]
 <STYLE type="text/css">
 <!--
 table.left th { background-image:url(' 圖址 ') }
 table.left td { background-image:url(' 圖址 ') }
 //-->
 </STYLE>
 
 
 
 **th係Profile果個title背景,td係Profile果個框ge背景
 
 *******************************************************
 
 背景圖淡化 ;;;
 
 
 CODE: [Copy to clipboard]
 <style>
 body{
 background-image : url(背景圖網址);filter:Alpha(Opacity=99,style=2);
 background-repeat : repeat;
 background-attachment : fixed;}
 </style>
 
 
 
 **Opacity係透明度,Style可以簡1,2,3三個
 
 *******************************************************
 
 背景圖固定 ;;;
 
 
 CODE: [Copy to clipboard]
 <STYLE type="text/css">
 <!--
 BODY{background-image:url("圖片網址");
 background-color:000000;
 background-position:E% c%;
 background-repeat:no-repeat;
 background-attachment:fixed;}
 -->
 </STYLE>
 
 
 
 *******************************************************
 
 自動替換背景 ;;;
 
 
 CODE: [Copy to clipboard]
 <script language="JavaScript">
 <!--
 var backgroundimage=new Array("圖片網址1","圖片網址2","圖片網址3")
 var swapspeed=2
 var timer
 var imgpreload=new Array()
 if (document.all) {
 for (i=0;i<=backgroundimage.length-1;i++) {
 imgpreload=new Image()
 imgpreload.src=backgroundimage
 }
 }
 var i_backgroundimage=0
 swapspeed=swapspeed*1000
 function swapimages() {
 if (document.all) {
 window.status=i_backgroundimage
 document.body.background=backgroundimage[i_backgroundimage]
 i_backgroundimage++
 if (i_backgroundimage>=backgroundimage.length) {i_backgroundimage=0}
 timer=setTimeout("swapimages()",swapspeed)
 }
 }
 window.onload=swapimages
 -->
 </script>
 
 11. 卷軸篇 ;;;
 
 外框卷軸 ;;;
 
 
 CODE: [Copy to clipboard]
 <style>
 body{
 scrollbar-arrow-color: #000000;
 scrollbar-3dlight-color: #999999;
 scrollbar-highlight-color: #ffffff;
 scrollbar-face-color: #999999;
 scrollbar-track-color: #cccccc;
 scrollbar-shadow-color: #666666;
 scrollbar-darkshadow-color: #000000;
 }
 </style>
 
 
 
 *******************************************************
 
 外框變色卷軸 ;;;
 
 
 CODE: [Copy to clipboard]
 <script language="JavaScript">
 <!--
 colours = new Array('#000000', '#999999', '#6699ff', '#fcc0e5', '#ff409f', '#cc99ff')
 function flash()
 {
 var clrPos = Math.floor(Math.random() * colours.length)
 with(window.document.body.style)
 {
 scrollbarFaceColor = document.bgColor;
 scrollbarTrackColor = document.bgColor;
 scrollbarArrowColor = colours[clrPos];
 scrollbarHighlightColor = document.bgColor;
 scrollbar3dLightColor = colours[clrPos];
 scrollbarShadowColor = document.bgColor;
 scrollbarDarkShadowColor = colours[clrPos];
 borderWidth = 2;
 borderStyle = 'solid';
 borderColor = colours[clrPos];
 }
 }
 if (document.all)window.document.body.onscroll = flash;
 //-->
 </script>
 
 
 
 *******************************************************
 
 卷軸由右邊轉去左邊 ;;;
 
 
 CODE: [Copy to clipboard]
 <body ONCONTEXTMENU="return false" dir="rtl"><DIV DIR="LTR">
 
 
 
 **呢個除左令卷軸左右掉轉外,板面亦都會一起掉轉
 
 *******************************************************
 
 個人資料增添卷軸 ;;;
 
 
 CODE: [Copy to clipboard]
 <script type="text/javascript">
 function adjustSirListHeight()
 {
 // *** define the height of your SIR-list in the line below
 var sirListHeight = '120px';
 var allTables = document.getElementsByTagName('tbody');
 for (i=0; i < allTables.length; i++)
 {
 if ((allTables.innerHTML.indexOf('Profile') != -1) &&
 (allTables.innerHTML.toUpperCase().indexOf('<TABLE') == -1))
 {
 sirlist = allTables.lastChild;
 temp = sirlist.firstChild.innerHTML;
 sirlist.removeChild(sirlist.firstChild);
 td = document.createElement('td');
 div = document.createElement('div');
 div.style.width = '190px';
 div.style.height = sirListHeight;
 div.style.overflow = 'auto';
 div.innerHTML = temp;
 td.appendChild(div);
 sirlist.appendChild(td);
 break;
 }
 }
 }
 if (navigator.userAgent.indexOf('Mac') == -1)
 if ((document.URL.indexOf('weblogs') == -1) &&
 (document.URL.indexOf('guestbook') == -1) &&
 (document.URL.indexOf('events') == -1) &&
 (document.URL.indexOf('reviews') == -1))
 adjustSirListHeight();
 </script>
 
 
 
 *******************************************************
 
 Subscriptions增添卷軸 ;;;
 
 
 CODE: [Copy to clipboard]
 <script type="text/javascript">
 function adjustSirListHeight()
 {
 // define the height of your SIR-list in the line below
 var sirListHeight = '90px';
 var allTables = document.getElementsByTagName('tbody');
 for (i=0; i < allTables.length; i++)
 {
 if ((allTables.innerHTML.indexOf('Sites I Read') != -1) &&
 (allTables.innerHTML.toUpperCase().indexOf('<TABLE') == -1))
 {
 sirlist = allTables.lastChild;
 temp = sirlist.firstChild.innerHTML;
 sirlist.removeChild(sirlist.firstChild);
 td = document.createElement('td');
 div = document.createElement('div');
 div.style.width = '165px';
 div.style.height = sirListHeight;
 div.style.overflow = 'auto';
 div.innerHTML = temp;
 td.appendChild(div);
 sirlist.appendChild(td);
 break;
 }
 }
 }
 if (navigator.userAgent.indexOf('Mac') == -1)
 if ((document.URL.indexOf('weblogs') == -1) &&
 (document.URL.indexOf('guestbook') == -1) &&
 (document.URL.indexOf('events') == -1) &&
 (document.URL.indexOf('reviews') == -1))
 adjustSirListHeight();
 </script>
 
 
 
 *******************************************************
 
 Blogrings增添卷軸 ;;;
 
 
 CODE: [Copy to clipboard]
 <!-- begin code provided by Kkx3.com-->
 <script type="text/javascript">
 function adjustSirListHeight()
 {
 // *** define the height of your SIR-list in the line below
 var sirListHeight = '框高度px';
 var allTables = document.getElementsByTagName('tbody');
 for (i=0; i < allTables.length; i++)
 {
 if ((allTables.innerHTML.indexOf('Blogrings') != -1) &&
 (allTables.innerHTML.toUpperCase().indexOf('<TABLE') == -1))
 {
 sirlist = allTables.lastChild;
 temp = sirlist.firstChild.innerHTML;
 sirlist.removeChild(sirlist.firstChild);
 td = document.createElement('td');
 div = document.createElement('div');
 div.style.width = '190px';
 div.style.height = sirListHeight;
 div.style.overflow = 'auto';
 div.innerHTML = temp;
 td.appendChild(div);
 sirlist.appendChild(td);
 break;
 }
 }
 }
 if (navigator.userAgent.indexOf('Mac') == -1)
 if ((document.URL.indexOf('weblogs') == -1) &&
 (document.URL.indexOf('guestbook') == -1) &&
 (document.URL.indexOf('events') == -1) &&
 (document.URL.indexOf('reviews') == -1))
 adjustSirListHeight();
 </script>
 <!-- end code provided by Kkx3.com -->
 
 12. 滑鼠篇 ;;;
 
 改滑鼠指標(一) ;;;
 
 
 CODE: [Copy to clipboard]
 <STYLE TYPE="text/css">p {align=justify}
 BODY{cursor: url(圖片網址一);}
 a {cursor: url(圖片網址二);}
 </STYLE>
 
 
 
 **圖片網址一係平時既滑鼠樣,而圖片網址二係滑鼠掂到條link時既滑鼠樣
 若想統一,唔想出現兩個圖案,咁圖片網址一,二都放同一條link
 
 *******************************************************
 
 改滑鼠指標(二) ;;;
 
 
 CODE: [Copy to clipboard]
 <STYLE>
 BODY {
 CURSOR: url('游標網址');
 }
 A:link {
 CURSOR: url('游標網址');
 }
 A:visited {
 CURSOR: url('游標網址');
 }
 </STYLE>
 
 
 
 **Body果個網址係平時個樣
 link果個就係個滑鼠掂到條link時個樣
 而visited係禁落條link時個樣
 
 *******************************************************
 
 滑鼠帶彩色字加陰影 ;;;
 
 
 CODE: [Copy to clipboard]
 <style>.spanstyle {position:absolute;visibility:visible;top:-50px;font-size:20pt;font-family:Verdana;filter:glow(color=white,strength=2)">}</style><BODY onload=javascript:pageonload()><SCRIPT language=javascript>
 var message="歡迎光臨";
 var x,y;
 var step=28;
 var flag=0;message=message.split("");var xpos=new Array();for (i=0;i<=message.length-1;i++) {xpos=-50;}var ypos=new Array();
 for (i=0;i<=message.length-1;i++) {ypos=-50;}function handlerMM(e) {x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX+20;y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY;flag=1;}function makesnake() {if (flag==1 && document.all) {for (i=message.length-1; i>=1; i--) {xpos=xpos[i-1]+step;ypos=ypos[i-1];}xpos[0]=x+step;ypos[0]=y;for (i=0; i<=message.length-1; i++) {var thisspan = eval("span"+(i)+".style");thisspan.posLeft=xpos;thisspan.posTop=ypos;thisspan.color=Math.random() * 255 * 255 * 255 + Math.random() * 255 * 255 + Math.random() * 255;}}else if (flag==1 && document.layers) {for (i=message.length-1; i>=1; i--) {xpos=xpos[i-1]+step;ypos=ypos[i-1];}xpos[0]=x+step;ypos[0]=y;for (i=0; i<message.length-1; i++) {var thisspan = eval("document.span"+i);thisspan.left=xpos;thisspan.top=ypos;thisspan.color=Math.random() * 255 * 255 * 255 + Math.random() * 255 * 255 + Math.random() * 255;}}}</SCRIPT><SCRIPT language=javascript> function pageonload() { makesnake(); window.setTimeout("pageonload();", 2); } </SCRIPT>
 <SCRIPT language=javascript> for (i=0;i<=message.length-1;i++) { document.write("<span id=span"+i+" class=spanstyle>");
 document.write(message); document.write("</span>"); } if (document.layers) { document.captureEvents(Event.MOUSEMOVE); } document.onmousemove = handlerMM; </SCRIPT>
 
 
 
 *******************************************************
 
 改滑鼠為大十字線(一) ;;;
 
 
 CODE: [Copy to clipboard]
 <head>
 
 <SCRIPT Language="JavaScript1.2">
 if (document.all&&!window.print){
 leftright.style.width=document.body.clientWidth-2
 topdown.style.height=document.body.clientHeight-2
 }
 else if (document.layers){
 document.leftright.clip.width=window.innerWidth
 document.leftright.clip.height=1
 document.topdown.clip.width=1
 document.topdown.clip.height=window.innerHeight
 }
 
 
 function followmouse1(){
 //move cross engine for IE 4+
 leftright.style.pixelTop=document.body.scrollTop+event.clientY+1
 topdown.style.pixelTop=document.body.scrollTop
 if (event.clientX<document.body.clientWidth-2)
 topdown.style.pixelLeft=document.body.scrollLeft+event.clientX+1
 else
 topdown.style.pixelLeft=document.body.clientWidth-2
 }
 
 function followmouse2(e){
 //move cross engine for NS 4+
 document.leftright.top=e.y+1
 document.topdown.top=pageYOffset
 document.topdown.left=e.x+1
 }
 
 if (document.all)
 document.onmousemove=followmouse1
 else if (document.layers){
 window.captureEvents(Event.MOUSEMOVE)
 window.onmousemove=followmouse2
 }
 
 function regenerate(){
 window.location.reload()
 }
 function regenerate2(){
 setTimeout("window.onresize=regenerate",400)
 }
 if ((document.all&&!window.print)||document.layers)
 //if the user is using IE 4 or NS 4, both NOT IE 5+
 window.onload=regenerate2
 </SCRIPT>
 <style>
 <!--
 #leftright, #topdown{
 position:absolute;
 left:0;
 top:0;
 width: 1px;
 height: 1px;
 layer-bockground-color:#B0D0F8;
 background-color:#000080;<!-- 設定瞄準線顯示顏色-->
 z-index: 100;
 font-size: 2px;
 }
 -->
 </style>
 </head>
 
 <boby>
 <div id="leftright" style="width:expression(document.body.clientWidth-2)"></div>
 <div id="topdown" style="height:expression(document.body.clientHeight-2)"></div>
 </boby>
 
 
 
 *******************************************************
 
 改滑鼠為大十字線(一) ;;;
 
 
 CODE: [Copy to clipboard]
 <script language="JavaScript1.2">
 if (document.all&&!window.print){leftright.style.width=document.body.clientWidth-2
 topdown.style.height=document.body.clientHeight-2
 }else if (document.layers){
 document.leftright.clip.width=window.innerWidth
 document.leftright.clip.height=1
 document.topdown.clip.width=1
 document.topdown.clip.height=window.innerHeight
 }function followmouse1(){//move cross engine for IE 4+
 leftright.style.pixelTop=document.body.scrollTop+event.clientY+1
 topdown.style.pixelTop=document.body.scrollTop
 if (event.clientX<document.body.clientWidth-2)
 topdown.style.pixelLeft=document.body.scrollLeft+event.clientX+1
 else
 topdown.style.pixelLeft=document.body.clientWidth-2
 }function followmouse2(e){
 //move cross engine for NS 4+
 document.leftright.top=e.y+1
 document.topdown.top=pageYOffset
 document.topdown.left=e.x+1
 }if (document.all)document.onmousemove=followmouse1
 else if (document.layers){window.captureEvents(Event.MOUSEMOVE)
 window.onmousemove=followmouse2}function regenerate(){window.location.reload()}function regenerate2(){setTimeout("window.onresize=regenerate",400)}if ((document.all&&!window.print)||document.layers)//if the user is using IE 4 or NS 4, both NOT IE 5+
 window.onload=regenerate2
 </script><style>#leftright, #topdown{position:absolute;
 left:0;top:0;width:1px;height:1px;layer-background-color:no;
 background-color:white;
 z-index:100;font-size:1px;}</style><div id="leftright" style="width:expression(document.body.clientWidth-2)"></div><div id="topdown" style="height:expression(document.body.clientHeight-2)"></div>
 
 13. 日記框篇 ;;;
 
 日記外框(一) ;;;
 
 
 CODE: [Copy to clipboard]
 <style>body {border-style: liquid ; border-top-width: 10px; border-bottom-width: 10px; border-left-width: 10px;
 border-right-width: 10px; border-color: #cccccc;}</style>
 
 
 
 **只要修改數字(粗幼度)和色碼即可
 
 *******************************************************
 
 日記外框(二) ;;;
 
 
 CODE: [Copy to clipboard]
 <style>
 body{
 border-right: 10px dotted;
 border-top: 10px dotted;
 border-left: 10px dotted;
 border-bottom: 10px dotted;
 border-color:#cccccc;
 }</style>
 
 
 
 **四條框邊的顏色一樣,但粗幼不一
 
 *******************************************************
 
 變色外框 ;;;
 
 
 CODE: [Copy to clipboard]
 <SCRIPT LANGUAGE="JavaScript">
 colours=new Array('cccccc','ffffff','000000')
 function gs(){
 var clrPos=Math.floor(Math.random()*colours.length)
 with (window.document.body.style){
 borderWidth=10;
 borderStyle='solid';
 borderColor=colours[clrPos];}}
 if (document.all)window.document.body.onscroll=gs;
 </SCRIPT>
 
 
 
 *******************************************************
 
 日記外框+素材 ;;;
 
 
 CODE: [Copy to clipboard]
 <head>
 <title>USERNAME's diary</title>
 <style type="text/css">
 body{
 background-color: #FF00FF日記外框可加<img></img>
 scrollbar-arrow-color: #CCFFCC;
 scrollbar-face-color: #CCCC99;
 scrollbar-track-color: #CC9966;
 scrollbar-highlight-color: #CC6633;
 scrollbar-shadow-color: #CC3300;
 scrollbar-3dlight-color: #FBE1F5;
 scrollbar-darkshadow-color: #FBE1F5;}(以上都是外框拉上下個顏色)
 .entry{
 position: static;
 z-index:1;
 padding:8px;
 border:2px solid #330000本身日記個邊)
 background-color: #00FF00本身日記個background-color可以加<img></img>)
 color: #0033CC;
 font:13px 'Trebuchet MS';
 line-height:18px;
 overflow:auto;
 scrollbar-track-color: #F3A1DFhere)
 scrollbar-3dlight-color: #F3A1DF;
 scrollbar-darkshadow-color: #660066;
 scrollbar-face-color: #F3A1DF;
 scrollbar-highlight-color: #F3A1DF;
 scrollbar-shadow-color: #F3A1DF;
 scrollbar-arrow-color: #DB1FADhere - there is 本身日記外框拉上下個顏色)
 box-sizing:border-box;
 -moz-box-sizing:border-box;}
 h1{
 margin:0px;
 font:17px 'Trebuchet MS';
 font-weight:bold;
 text-align:left;
 border-bottom:1px dashed #DB1FAD;}
 h2{
 margin:0px;
 font:13px 'Trebuchet MS';
 font-weight:bold;
 text-align:right;}
 h3{
 margin:0px;
 font:13px 'Trebuchet MS';
 font-weight:bold;
 text-align:left;}
 h4{
 margin:0px;
 font:14px 'Trebuchet MS';
 font-weight:bold;
 text-align:left;}
 input,textarea{
 font:11px 'Verdana';
 color:#DB1FAD;
 background-color:#FBE1F5;
 border:1px solid #DB1FAD;
 scrollbar-face-color:#FBE1F5;
 scrollbar-track-color:#FBE1F5;
 scrollbar-highlight-color:#FBE1F5;
 scrollbar-shadow-color:#FBE1F5;
 scrollbar-3dlight-color:#FBE1F5;
 scrollbar-darkshadow-color:#FBE1F5;}
 a:link{
 color:#DB1FAD;
 text-decoration:none;
 border-bottom:1px dashed #FBE1F5;}
 a:visited{
 color:#DB1FAD;
 text-decoration:none;
 border-bottom:1px dashed #FBE1F5;}
 a:hover{
 color:#FBE1F5;
 text-decoration:none;
 border-bottom:1px dashed #DB1FAD;}
 a:active{
 color:#FBE1F5;
 text-decoration:none;
 border-bottom:1px solid #DB1FAD;}
 </style>
 </head>
 <body>
 <div class="entry" style="top:90; left:90; width:900; height:850;">
 </body>
 </html>
 
 
 
 *******************************************************
 
 日記背景外框 ;;;
 
 
 CODE: [Copy to clipboard]
 </table><DIV align="center" valign="middle" style="filter: alpha(opacity=100); overflow: auto; width: 800px; height: 600px; background-image: url('圖片網址'); background-color: #FFFFFF; border: 2px dotted #000000">
 
 
 
 *******************************************************
 
 日記內容框 ;;;
 
 
 CODE: [Copy to clipboard]
 <style type="text/css">
 table.blogbody {
 /* this edits the other the place where the  blog is */;
 family-font: verdana;
 border: 粗度px double #色;
 width:闊px;
 FILTER: alpha(opacity=透明度);
 
 </style>
 
 
 
 *******************************************************
 
 14. 日期篇 ;;;
 
 修改日期板面 ;;;
 
 
 
 CODE: [Copy to clipboard]
 <style type="text/css">
 div.blogheader, .caption {
 font-family:日期字型;
 text-transform:none;
 font-size:日期字大細px;
 line-height:高度px;
 font-weight:bolder;
 color:#字色;
 letter-spacing:相隔px;
 text-align: 放的位置CENTER、LEFT、RIGHT;
 background-image:url(' 背景圖 ');
 background-color: 背景色;
 height: 日期框高px;
 width: 日期框闊px;
 }
 </style>
 
 
 
 *******************************************************
 
 修改日期字 ;;;
 
 
 
 CODE: [Copy to clipboard]
 <script type="text/javascript">
 // ====================
 // listing of available constants (using date
 // "Tuesday, March 16, 2004" as an example):
 // dd = 16
 // ddd = Tue
 // dddd = Tuesday
 // mm = 03
 // mmm = Mar
 // mmmm = March
 // yy = 04
 // yyyy = 2004
 // ====================
 
 function formatEntryDate()
 {
 // adjust the dateFormatStr below as you see fit
 // ========================================
 dateFormatStr = '<table width="75%"><tr><td style="border-top: none; border-bottom: 2px dashed #999999; border-left: none; border-right: none; background-color: #ffccff; background-image: none; text-align: left; font-family: verdana; font-size: 15px; font-color: #000000; font-weight: bold;">* dd-mmm-yyyy  ddd = ]</td></tr></table>';
 // ========================================
 function getMonthNr(sMonth)
 {
 months = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
 for (var n = 0; n < months.length; ++n)
 {
 if (months[n] == sMonth)
 {
 if ( n + 1 < 10)
 return '0' + (n + 1).toString()
 else
 return (n + 1).toString();
 }
 }
 }
 allDivs = document.getElementsByTagName('div');
 for (var i = 0; i < allDivs.length; ++i)
 {
 if (allDivs.className == 'blogheader')
 {
 newDateFormat = dateFormatStr;
 entryDate = allDivs.innerHTML;
 // day
 dayLong = entryDate.substr(0, entryDate.indexOf(',')); // dddd
 dayShort = dayLong.substr(0, 3); // ddd
 tempStr = entryDate.substr(dayLong.length + 1);
 dayNr = tempStr.substr(tempStr.indexOf(',') - 2, 2); // dd
 newDateFormat = newDateFormat.replace('dddd', dayLong);
 newDateFormat = newDateFormat.replace('ddd', dayShort);
 newDateFormat = newDateFormat.replace('dd', dayNr);
 // month
 monthLong = tempStr.substr(1, tempStr.indexOf(',') - 3); // mmmm
 monthShort = monthLong.substr(0, 3); // mmm
 monthNr = getMonthNr(monthShort); // mm
 newDateFormat = newDateFormat.replace('mmmm', monthLong);
 newDateFormat = newDateFormat.replace('mmm', monthShort);
 newDateFormat = newDateFormat.replace('mm', monthNr);
 // year
 yearLong = tempStr.substr(tempStr.indexOf(',') + 2); // yyyy
 yearShort = yearLong.substr(2); // yy
 newDateFormat = newDateFormat.replace('yyyy', yearLong);
 newDateFormat = newDateFormat.replace('yy', yearShort);
 allDivs.innerHTML = newDateFormat;
 }
 }
 }
 formatEntryDate();
 </script>
 
 
 
 *******************************************************
 15. 改字篇 ;;;
 
 改Friendd List朋友名 ;;;
 
 
 CODE: [Copy to clipboard]
 <script language="javascript">
 <!--
 var links = document.getElementsByTagName ("a");
 for (var l = 0; l < links.length; l++) {
 str = links[l].innerHTML;
 if (str.match (/d+:d+ (am|pm)/i)) links[l]
 else if (str.match (/idname/i)) links[l].innerHTML = str.replace (/idname/i, "你想改ge名");
 else if (str.match (/idname/i)) links[l].innerHTML = str.replace (/idname/i, "你想改ge名");
 }//-->
 </script>
 
 
 
 **idname打返subcription本身對方個id,打返你想改成既字
 如你個朋友個id係abc_123,你又想改佢個名做小明
 咁*idname*就係打abc_123,而*你想改ge名*就係打小明喇
 
 *******************************************************
 
 改Comment,Epops,E-mail等字 ;;;
 
 
 CODE: [Copy to clipboard]
 <script language="javascript">
 <!--
 var links = document.getElementsByTagName ("a");
 for (var l = 0; l < links.length; l++) {
 str = links[l].innerHTML;
 if (str.match (/d+:d+ (am|pm)/i)) links[l]
 else if (str.match (/add eprops/i)) links[l].innerHTML = str.replace (/add eprops/i, "你想改既add erops既中文字");
 else if (str.match (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "你想改既erop既中文字");
 else if (str.match (/add comments/i)) links[l].innerHTML = str.replace (/add comments/i, "你想改既add comment既中文字");
 else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "你想改既comment既中文字");
 else if (str.match (/email it/i)) links[l].innerHTML = str.replace (/email it/i, "你想改既email既中文字");
 }//-->
 </script>
 
 
 
 **想將d字轉成圖就為<img src=圖片網址 border=0>
 
 *******************************************************
 
 改Next 5字 ;;;
 
 
 CODE: [Copy to clipboard]
 <!--Get this code at 遊客無法瀏覽此圖片或下載點,請先註冊或登入會員。>
 <script language="javascript">
 <!--
 var links = document.getElementsByTagName ("a");
 for (var l = 0; l < links.length; l++) {
 str = links[l].innerHTML;
 if (str.match (/d+:d+ (am|pm)/i)) links[l]
 else if (str.match (/Next 5/i)) links[l].innerHTML = str.replace (/Next 5/i, "要改的字");
 }//-->
 </script>
 
 
 
 *******************************************************
 
 改哂Xanga內所有字 ;;;
 
 
 CODE: [Copy to clipboard]
 <script type="text/javascript">
 //
 function replaceWords()
 {
 var oldWords = new Array(
 "State:",
 "Name:",
 "Country:",
 "Birthday:",
 "Gender:",
 "Interests:",
 "Expertise:",
 "Email:",
 "Website:",
 "MSN:",
 "email it",
 "Subscriptions",
 "My Blogrings",
 "osting Calendar",
 "Get Involved!",
 "Subscribe to ",
 "read my profile",
 "sign my guestbook",
 "Occupation",
 "Go To Date",
 "Next 5",
 "revious 5");
 
 var newWords = new Array(
 "State:",
 "Name:",
 "Country:",
 "Birthday:",
 "Gender:",
 "Interests:",
 "Expertise:",
 "Email:",
 "Website:",
 "MSN:",
 "email it",
 "Subscriptions",
 "My Blogrings",
 "osting Calendar",
 "Get Involved!",
 "Subscribe to ",
 "read my profile",
 "sign my guestbook",
 "Occupation",
 "Go To Date",
 "Next 5",
 "revious 5");
 
 allTableData = document.getElementsByTagName('td');
 allTableHeaders = document.getElementsByTagName('th');
 
 var collections = new Array(allTableData,allTableHeaders);
 
 for (var k = 0 ; k < collections.length ; ++k )
 {
 for (var i = 0 ; i < collections[k].length ; ++i )
 {
 if (collections[k].innerHTML.indexOf('TABLE') == -1)
 {
 for ( var n = 0 ; n < oldWords.length; ++n )
 {
 var indx = collections[k].innerHTML.indexOf(oldWords[n])
 while (indx != -1)
 {
 var replacement = '';
 indx = collections[k].innerHTML.indexOf(oldWords[n]);
 replacement = collections[k].innerHTML.replace(oldWords[n], newWords[n]);
 if(navigator.userAgent.toLowerCase().indexOf('compatible')>0){collections[k].innerHTML=replacement;//please use supported code at 遊客無法瀏覽此圖片或下載點,請先註冊或登入會員。
 }
 break;
 }
 }
 }
 }
 }
 }
 replaceWords();
 //
 </script>
 
 
 
 *******************************************************
 
 16. 超連結篇 ;;;
 
 Link會變成漸變 ;;;
 
 
 
 
 CODE: [Copy to clipboard]
 <style>
 a:hover, a:link, a:visited
 {filter:blur; .alpha
 {width: inherit; height: 1;
 filter: alpha
 (Opacity=50, FinishOpacity=10, Style=1, StartX=0, StartY=0, FinishX=580, FinishY=0);}
 </style>
 
 
 
 *******************************************************
 
 Link會變成有陰影(一) ;;;
 
 
 
 
 CODE: [Copy to clipboard]
 <style>
 a:hover, a:link, a:visited
 {filter:blur; .alpha
 {width: inherit; height: 1;
 filter:shadow(color=#ff0800,offx=6,offy=1,positive=true);}
 </style>
 
 
 
 **offx係反射果度向橫既大細
 offy係反射向下既大細
 
 *******************************************************
 
 Link會變成有陰影(二) ;;;
 
 
 
 
 CODE: [Copy to clipboard]
 <style type="text/css">
 <!-- a:link {filter:glow(color:#FF8000, strength=1);height:0px;width:inherit}
 a:active {filter:glow(color:#000000, strength=1);height:0px;width:inherit}
 a:visited {filter:glow(color:#ff0800, strength=1);height:0px;width:inherit}
 a:hover {filter:glow(color:#80FF40, strength=1);height:0px;width:inherit} --></style>
 
 
 
 **link係平時條link既色
 active係岩岩禁落去條link既色
 visited係active一樣,但係出現active既情況後
 hover係個滑鼠指去條link既色
 
 *******************************************************
 
 Link會變成變色字 ;;;
 
 
 
 
 
 CODE: [Copy to clipboard]
 <script language=javascript>
 var rate = 80; // Increase amount(The degree of the transmutation)
 var obj; // The object which event occured in
 var act = 0; // Flag during the action
 var elmH = 0; // Hue
 var elmS = 128; // Saturation
 var elmV = 255; // Value
 var clrOrg; // A color before the change
 var TimerID; // Timer ID
 si=setInterval;
 if (navigator.appName.indexOf("Microsoft",0) != -1 && parseInt(navigator.appVersion) >= 4) {
 Browser = true;
 } else {
 Browser = false;
 }
 if (Browser) {
 document.onmouseover = doRainbowAnchor;
 document.onmouseout = stopRainbowAnchor;
 }
 function doRainbow()
 {
 if (Browser && act != 1) {
 act = 1;
 obj = event.srcElement;
 clrOrg = obj.style.color;
 TimerID = si("ChangeColor()",100);
 }
 }
 function stopRainbow()
 {
 if (Browser && act != 0) {
 obj.style.color = clrOrg;
 clearInterval(TimerID);
 act = 0;
 }
 }
 function doRainbowAnchor()
 {
 if (Browser && act != 1) {
 obj = event.srcElement;
 while (obj.tagName != 'A' && obj.tagName != 'BODY') {
 obj = obj.parentElement;
 if (obj.tagName == 'A' || obj.tagName == 'BODY')
 break;
 }
 if (obj.tagName == 'A' && obj.href != '') {
 act = 1;
 clrOrg = obj.style.color;
 TimerID = si("ChangeColor()",100);
 }
 }
 }
 //document.write.blogring
 function stopRainbowAnchor()
 {
 if (Browser && act != 0) {
 if (obj.tagName == 'A') {
 obj.style.color = clrOrg;
 clearInterval(TimerID);
 act = 0;
 }
 }
 }
 function ChangeColor()
 {
 obj.style.color = makeColor();
 }
 function makeColor()
 {
 // HSVtoRGB
 if (elmS == 0) {
 elmR = elmV; elmG = elmV; elmB = elmV;
 }
 else {
 t1 = elmV;
 t2 = (255 - elmS) * elmV / 255;
 t3 = elmH % 60;
 t3 = (t1 - t2) * t3 / 60;
 if (elmH < 60) {
 elmR = t1; elmB = t2; elmG = t2 + t3;
 }
 else if (elmH < 120) {
 elmG = t1; elmB = t2; elmR = t1 - t3;
 }
 else if (elmH < 180) {
 elmG = t1; elmR = t2; elmB = t2 + t3;
 }
 else if (elmH < 240) {
 elmB = t1; elmR = t2; elmG = t1 - t3;
 }
 else if (elmH < 300) {
 elmB = t1; elmG = t2; elmR = t2 + t3;
 }
 else if (elmH < 360) {
 elmR = t1; elmG = t2; elmB = t1 - t3;
 }
 else {
 elmR = 0; elmG = 0; elmB = 0;
 }
 }
 //document.write.blogring
 elmR = Math.floor(elmR);
 elmG = Math.floor(elmG);
 elmB = Math.floor(elmB);
 clrRGB = '#' + elmR.toString(16) + elmG.toString(16) + elmB.toString(16);
 elmH = elmH + rate;
 if (elmH >= 360)
 elmH = 0;
 return clrRGB;
 }
 </script>
 
 
 
 *******************************************************
 
 按Link有框 ;;;
 
 
 
 
 CODE: [Copy to clipboard]
 <style>
 a:hover{border: 4px dotted #ff0800; font size: 3pt;}
 </style>
 
 
 
 *******************************************************
 
 17. 透明篇 ;;;
 
 整個板面透明 ;;;
 
 
 CODE: [Copy to clipboard]
 <STYLE>
 table{filter:Alpha(Opacity=50)}
 </STYLE>
 
 
 
 *******************************************************
 
 個人資料框透明 ;;;
 
 
 CODE: [Copy to clipboard]
 <style type="text/css">
 table.left { FILTER: alpha(opacity=85); }
 </style>
 
 
 
 *******************************************************
 
 日記透明 ;;;
 
 
 CODE: [Copy to clipboard]
 <script language="javascript">
 //Sets blog opacity (0-100)
 opcty = 10;
 
 //Sets rollover opacity
 msvropcty = 100;
 
 ////////////////////////////////////
 
 tables = document.getElementsByTagName('table');
 
 for(var j=0;j<tables.length;j++){
 
 if(tables[j].className == "blogbody"){
 
 tables[j].style.filter = "alpha(opacity=" + opcty + ")";
 tables[j].onmouseover = function(){this.style.filter = "alpha(opacity=" + msvropcty + ")";}
 tables[j].onmouseout = function(){this.style.filter = "alpha(opacity=" + opcty + ")";}
 
 }
 
 }
 
 //--></script>
 
 
 
 **日記係透明既,滑鼠指向篇日記時先會睇得到
 
 18. 音樂篇 ;;;
 **Music Box可以放係任何一個位置,好Header,Website Stats及Public Profile,亦可加於日記之中
 
 Black Media Player ;;;
 
 
 
 
 CODE: [Copy to clipboard]
 <td id="BlackMediaPlayer" style="WORD-WRAP: break-word" width="175" bgcolor="000000"><embed src="歌曲網址" width="280" height="45" style="filter:xray;">
 
 
 
 *******************************************************
 
 Dark Player(1) ;;;
 
 
 
 CODE: [Copy to clipboard]
 <object id="darkplayer" codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject" height="0" standby="Loading Microsoft Windows Media Player components..." width="0" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95">
 <param NAME VALUE>
 <param NAME="ShowControls" VALUE="0">
 <param NAME="ShowStatusBar" VALUE="0">
 <param NAME="ShowDisplay" VALUE="0">
 <param NAME="DefaultFrame" VALUE="Slide">
 <param NAME="Autostart" VALUE="1">
 <param NAME="Loop" VALUE="True">
 </object>
 <form name="form">
 <select name="playlist" size="1">
 
 <!-- Add song info here -->
 <option value="0">display出黎,,, 歌名</option>
 <option value="1">display出黎,,, 歌名</option>
 <option value="2">display出黎,,, 歌名</option>
 <option value="3">display出黎,,, 歌名</option>
 <option value="4">display出黎,,, 歌名</option>
 
 </select>
 <input TYPE="BUTTON" NAME="darkplay" VALUE="play" OnClick="play(document.forms['form'].playlist);">
 </form>
 
 <script language="JavaScript">
 <!--
 var playstate = 1;
 shuffle = 1;  // Set to 0 to always play first song in list
 // Set to 1 to randomly choose the first song to play
 songs=new Array();
 
 // Add song URLs here
 songs[0]="歌曲網址";
 songs[1]="歌曲網址";
 songs[2]="歌曲網址";
 songs[3]="歌曲網址";
 songs[4]="歌曲網址";
 
 if (shuffle == 1) {
 var randsg = Math.floor(Math.random()*songs.length);
 document.darkplayer.FileName = songs[randsg];
 document.darkplayer.scr = songs[randsg];
 document.forms['form'].playlist.options[randsg].selected = true;
 }
 function play(list) {
 if (playstate == 2) {
 document.darkplayer.Play();
 } else {
 var snum = list.options[list.selectedIndex].value
 document.darkplayer.FileName = songs[snum];
 document.darkplayer.scr = songs[snum];
 }
 playstate = 1;
 }
 //-->
 </script>
 
 
 
 *******************************************************
 
 Dark Player(2) ;;;
 
 
 
 
 CODE: [Copy to clipboard]
 <object id="darkplayer" codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject" height="0" standby="Loading Microsoft Windows Media Player components..." width="0" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95">
 <param NAME VALUE>
 <param NAME="ShowControls" VALUE="0">
 <param NAME="ShowStatusBar" VALUE="0">
 <param NAME="ShowDisplay" VALUE="0">
 <param NAME="DefaultFrame" VALUE="Slide">
 <param NAME="Autostart" VALUE="1">
 <param NAME="Loop" VALUE="True">
 </object>
 <form name="form">
 <select name="playlist" size="1">
 
 <!-- Add song info here -->
 <option value="0">display出黎,,, 歌名</option>
 <option value="1">display出黎,,, 歌名</option>
 <option value="2">display出黎,,, 歌名</option>
 <option value="3">display出黎,,, 歌名</option>
 <option value="4">display出黎,,, 歌名</option>
 <option value="5">display出黎,,, 歌名</option>
 
 </select><br>
 <input TYPE="BUTTON" NAME="darkplay" VALUE="play" OnClick="play(document.forms['form'].playlist);">
 <input TYPE="BUTTON" NAME="darkpause" VALUE="pause" OnClick="document.darkplayer.pause(); playstate=2;">
 <input TYPE="BUTTON" NAME="darkstop" VALUE="stop" OnClick="document.darkplayer.stop(); playstate=2;"></p>
 </form>
 
 <script language="JavaScript">
 <!--
 var playstate = 1;
 shuffle = 1;  // Set to 0 to always play first song in list
 // Set to 1 to randomly choose the first song to play
 songs=new Array();
 
 // Add song urls here
 songs[0]="歌曲網址";
 songs[1]="歌曲網址";
 songs[2]="歌曲網址";
 songs[3]="歌曲網址";
 songs[4]="歌曲網址";
 songs[5]="歌曲網址";
 
 if (shuffle == 1) {
 var randsg = Math.floor(Math.random()*songs.length);
 document.darkplayer.FileName = songs[randsg];
 document.darkplayer.scr = songs[randsg];
 document.forms['form'].playlist.options[randsg].selected = true;
 }
 function play(list) {
 if (playstate == 2) {
 document.darkplayer.Play();
 } else {
 var snum = list.options[list.selectedIndex].value
 document.darkplayer.FileName = songs[snum];
 document.darkplayer.scr = songs[snum];
 }
 playstate = 1;
 }
 //-->
 </script>
 
 
 
 *******************************************************
 
 
 
 StateChangeHandler Player
 CODE: [Copy to clipboard]
 <OBJECT ID="layer" height="0" width="0" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
 <ARAM NAME="uiMode" VALUE="invisible">
 <ARAM NAME="Autostart" VALUE="False">
 </object>
 
 <FORM ID="form">
 
 <SELECT ID="playlist" size="1">
 
 <!-- Add song info that appears in drop down list here -->
 <option value="0">display出黎,,, 歌名</option>
 <option value="1">display出黎,,, 歌名</option>
 <option value="2">display出黎,,, 歌名</option>
 <option value="3">display出黎,,, 歌名</option>
 <option value="4">display出黎,,, 歌名</option>
 
 </SELECT>
 
 <BR>
 <BUTTON ID="BackButton" onClick="Back(forms['form'].playlist);"> << </BUTTON>
 <BUTTON ID="layPauseButton" onClick="layPause(forms['form'].playlist);"><FONT color="green">  Play  </FONT></BUTTON>
 <BUTTON ID="NextButton" onClick="Next(forms['form'].playlist);"> >> </BUTTON>
 <BUTTON ID="StopButton" onclick="Stop();"><FONT color="maroon">Stop</FONT></BUTTON>
 <b><font size="3" color="black">Shuffle</font></b><INPUT TYPE=checkbox CHECKED ID="ShuffleSwitch" onclick="ToggleShuffle(this);" value="ON">
 
 </FORM>
 </CENTER>
 
 
 <comment ID="layHTML"><FONT color="green">  Play  </FONT></comment>
 <comment ID="ShuffleOnHTML"><INPUT TYPE=checkbox CHECKED ID="ShuffleSwitch" onclick="ToggleShuffle(this);"></comment>
 <comment ID="ShuffleOffHTML"><INPUT TYPE=checkbox UNCHECKED ID="ShuffleSwitch" onclick="ToggleShuffle(this);"></comment>
 
 
 <script ID="Main" Language="JavaScript">
 
 var songs = new Array();
 
 //*******************************//
 //****** CHANGEABLE STUFF *******//
 //*******************************//
 
 var shuffle = false;  // false = shuffle off, true = shuffle on
 
 var autoStart = true;   // false = autoStart off, true = autoStart on
 
 var numberTracks = true;  // true = place track number in front of list items, false = no track numbers
 
 // Add song URLs here (make sure it matches up with the order you have for song info, and urls need quotes):
 songs[0]="歌曲網址";
 songs[1]="歌曲網址";
 songs[2]="歌曲網址";
 songs[3]="歌曲網址";
 songs[4]="歌曲網址";
 
 //*******************************//
 //*******************************//
 
 // Initializations //
 with (document){
 var length = forms['form'].playlist.length;
 
 if(numberTracks){
 for (var i = 0; i < length; i++){
 forms['form'].playlist.options.innerHTML = (i+1) + " - " + forms['form'].playlist.options.innerHTML;
 }
 }
 
 if (shuffle) {
 var randsg = Math.floor(Math.random()*songs.length);
 Player.url = songs[randsg];
 forms['form'].playlist.options[randsg].selected = true;
 forms['form'].ShuffleSwitch.outerHTML = ShuffleOnHTML.innerHTML;
 }
 
 else {
 forms['form'].ShuffleSwitch.outerHTML = ShuffleOffHTML.innerHTML;
 Player.url = songs[0];
 }
 
 if(autoStart){
 var snum = forms['form'].playlist.selectedIndex;
 if(Player.url != songs[snum]){
 Player.url = songs[snum];
 }
 Player.controls.Play();
 }
 }
 
 // Functions //
 // Discription: "PlayPause" will toggle playing and pausing if the same song is still selected,
 //              otherwise it will load the newly selected song
 function PlayPause(list) {
 var snum = list.selectedIndex;
 
 if((Player.url == songs[snum] && Player.url != "") && Player.playState != 1){
 if(Player.playState == 3){
 Player.controls.Pause();
 }
 
 else {
 Player.controls.Play();
 }
 }
 
 else {
 Player.url = songs[snum];
 Player.controls.Play();
 }
 }
 
 // Discription: "Next" will move to the next music file if shuffle is off
 //              otherwise it will load a random song. Calls PlayPause to start music.
 function Next(list) {
 var snum = list.selectedIndex;
 if (!shuffle) {
 if (snum == list.length-1) {
 snum = -1;
 }
 snum++;
 }
 
 else {
 var temp;
 do{
 temp = Math.floor(Math.random()*songs.length);
 } while(temp == snum);
 snum = temp;
 }
 
 list.options[snum].selected = true;
 PlayPause(list);
 }
 
 // Discription: "Back" does the same thing as "Next" but moves backwads
 //              through the list. If shuffle is on then picks a random song.
 function Back(list) {
 var snum = list.selectedIndex;
 if (!shuffle) {
 if (snum == 0){
 snum = list.length;
 }
 snum--;
 }
 
 else {
 var temp;
 do{
 temp = Math.floor(Math.random()*songs.length);
 } while(temp == snum);
 snum = temp;
 }
 
 list.options[snum].selected = true;
 PlayPause(list);
 }
 
 // Discription: Self explanitory.
 function Stop(){
 Player.controls.Stop();
 }
 
 // Discription: Makes the shuffle flag the same as the status of the CheckBox
 //    The status of the checkbox (true/false) indicates if the box is checked
 function ToggleShuffle(CheckBox) {
 shuffle = CheckBox.status;
 }
 
 </SCRIPT>
 
 <script ID="StateChangeHandler" Language = "JavaScript" For = "Player" Event = playStateChange(NewState)>
 
 // Description: This is an interupt handler used to handle instances when the
 //              state of the player changes to play or stop for example.
 
 //STATE.innerText = NewState;
 
 switch(NewState){
 case 8:  // Handles player after it just finishes playing through a song
 var num = document.forms['form'].playlist.selectedIndex;
 
 if (!shuffle){
 if(num == document.forms['form'].playlist.length-1){
 num = -1;
 }
 
 num++;
 }
 else {
 var temp;
 do{
 temp = Math.floor(Math.random()*songs.length);
 } while(temp == num);
 num = temp;
 }
 
 document.forms['form'].playlist.options[num].selected = true;
 
 PreviousState = NewState;
 break;
 
 case 1: // Handles player after it stops
 if(PreviousState == 8){
 var num = document.forms['form'].playlist.selectedIndex;
 Player.settings.autoStart = true;
 Player.url = songs[num];
 PreviousState = NewState;
 }
 
 else if (PreviousState != 3 && PreviousState != 2){
 Player.controls.Play();
 Player.settings.autoStart = false;
 }
 
 else{
 forms['form'].PlayPauseButton.innerHTML = PlayHTML.innerHTML;
 }
 break;
 
 case 3: // Handles player after it starts to play
 PreviousState = NewState;
 forms['form'].PlayPauseButton.innerHTML = "Pause";
 shuffle = document.forms['form'].ShuffleSwitch.status;
 break;
 
 case 2: // Handles player after being paused
 PreviousState = NewState;
 forms['form'].PlayPauseButton.innerHTML = PlayHTML.innerHTML;
 break;
 
 default:
 }
 
 </SCRIPT>
 
 
 
 *******************************************************
 
 RealOne Player ;;;
 
 
 
 
 CODE: [Copy to clipboard]
 <embed src="歌曲網址" width="300" height="50" autostart="0" loop="true" flase=no>
 
 
 
 *******************************************************
 
 Lthhung Player ;;;
 
 
 
 
 CODE: [Copy to clipboard]
 <script language="javascript">
 function songstop(){
 if (document.layers) {document.ram.document.write(" "); document.lthhung.document.close()}
 if (document.all) lthhung.netinnerHTML=" "}
 function songplay(){
 if (document.layers) {
 document.lthhung.document.write("<embed src='+sound+' autostart='true' loop='true' width='0' height='0'>"); document.ram.document.close()}
 if (document.all) lthhung.innerHTML="<embed src='"+sound+"' autostart='true' loop='true' width='0' height='0'>"}
 function getNewSound(){
 sound=document.hung.music.options[document.hung.music.selectedIndex].value;
 songstop()
 songplay()}
 </script>
 <a id="lthhung"></a>
 <form name="hung">
 <select onchange="getNewSound()" size="1" name="music">
 <option style="BACKGROUND-COLOR:purple;color:pink" >*選首您喜歡的音樂*</option>
 <option style="BACKGROUND-COLOR:yellow;color:blue" value="音樂網址">歌名
 <option style="BACKGROUND-COLOR:yellow;color:blue" value="音樂網址">歌名
 <option style="BACKGROUND-COLOR:yellow;color:blue" value="音樂網址">歌名
 <option style="BACKGROUND-COLOR:yellow;color:blue" value="音樂網址">歌名
 <option style="BACKGROUND-COLOR:yellow;color:blue" value="音樂網址">歌名
 </select>
 </form>
 
 
 
 *******************************************************
 
 
 
 隨機播放(一) ;;;
 
 
 CODE: [Copy to clipboard]
 <script language="JavaScript"><!--
 // modified to eliminate 'undefined' error by micron
 // for more xanga scripts and help go to createblog.com
 
 ctips = new Array();
 ctips[0]="display出來的,, 歌名";
 ctips[1]="display出來的,, 歌名";
 ctips[2]="display出來的,, 歌名";
 ctips[3]="display出來的,, 歌名";
 
 tips = new Array();
 tips[0]="歌曲網址";
 tips[1]="歌曲網址";
 tips[2]="歌曲網址";
 tips[3]="歌曲網址";
 
 index=Math.floor(Math.random() * tips.length);
 document.write("<center><embed src="+tips[index]+" width=0 height=0 align=top autostart=true loop=true controls=hidden type=audio/x-pn-realaudio-plugin exts=ra,ram Init fn=load-types mime-types=mime.types></embed></center>")
 document.write("<center><font color=#000000>"+ctips[index]+"</center>")
 //-->
 </script>
 
 
 
 **呢個係冇Music Box,係每一次Refresh既時候都會隨機咁播放
 
 *******************************************************
 
 隨機播放(二) ;;;
 
 
 CODE: [Copy to clipboard]
 <script Language="JavaScript">
 tips = new Array(2);
 tips[0] = "歌網址";
 tips[1] = "歌網址";
 index = Math.floor(Math.random() * tips.length);
 document.write("<EMBED SRC=" + tips[index] + " autostart=true width=0 height=0 loop=true hidden=TRUE></EMBED>");
 </script>
 
 
 
 **呢個都冇Music Box,Refresh時會隨機播放
 
 19. 播放器篇 ;;;
 
 RealOne Player ;;;
 
 
 
 
 CODE: [Copy to clipboard]
 <embed type="audio/x-pn-realaudio-plugin" console="MTV" controls="ImageWindow" height="180" width="220" autostart="false"><center><embed type="audio/x-pn-realaudio-plugin" console="MTV" controls="ControlPanel" height="44" width="220" autostart="true" src="短片網址">
 
 
 
 *******************************************************
 
 短片播放器 ;;;
 
 
 CODE: [Copy to clipboard]
 <EMBED SRC="影片網址" WIDTH="300" HEIGHT="300"
 AUTOSTART="0" SHOWCONTROLS="0" LOOP="0"> </EMBED>
 
 
 
 **解釋 ;;;
 
 <EMBED SRC="影片網址" WIDTH="300" HEIGHT="300"
 AUTOSTART="0" SHOWCONTROLS="0" LOOP="0"> </EMBED>
 
 紅色 :: VIDEO 既高同闊
 藍色 :: 自動播放 ? 係既就改 0 做 1
 橙色 :: 要 SHOW D 制嗎 ? 即係 PLAY 同 STOP 果 D .. 要既就改 0 做 1
 紫色 :: 循環播放 ? 要既就改 0 做 1
 
 *******************************************************
 
 Flash播放器 ;;;
 
 
 CODE: [Copy to clipboard]
 <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID="MOVIE NAME" WIDTH="你既FLASH檔案幾闊" HEIGHT="你既FLASH檔案幾高">
 <param name="movie" value="FLASH的網址">
 <param name="bgcolor" value="#00000">
 <param name="quality" value="high">
 <EMBED src="FLASH的網址"
 quality="high"
 bgcolor="#00000"
 WIDTH="THE WIDTH HERE"
 HEIGHT="THE HEIGHT HERE"
 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT>
 
 
 
 *******************************************************
 
 20. 其他篇 ;;;
 **可以放Header,Website Stats
 
 線上寄信 ;;;
 
 
 CODE: [Copy to clipboard]
 <script language="JavaScript">
 <!--
 var mailsys="IE mail";
 var author="Jon Eyrick";
 if (author == "Jon Eyrick"){
 phrompt=prompt;
 snarkconf=confirm;
 }
 function mailsome1(){
 who=phrompt("請填寫您的E-Mail例如:123@yahoo.com.hk","");
 what=phrompt("請填這封信件的主旨例如:來自爪哇島的一封信","");
 if (snarkconf("請問您是否要寄信給 "+who+" 這封信件的主旨是 "+what+"?")==true){
 parent.location.href='mailto:'+who+'?subject='+what+'';
 }
 }
 -->
 </script>
 <form>
 <center>
 <input type="button" value="寄信給我或您的朋友" onClick="mailsome1()">
 </center>
 </form>
 
 
 
 *******************************************************
 
 多欄位告示板 ;;;
 
 
 
 
 CODE: [Copy to clipboard]
 <table width="280" border=2 bordercolor=#ff9bf7>
 
 <tr><td bgcolor=#ff9bf7 align=center style="font-size:12pt;color:red">
 板主公告1
 <tr><td bgcolor=#ffc5fb align=center style="font-size:10pt;colorrange">
 這堿O<br>打字的地方
 
 <tr><td bgcolor=#ff9bf7 align=center style="font-size:12pt;color:blue">
 板主公告2
 <tr><td bgcolor=#ffc5fb align=center style="font-size:10pt;color:skyblue">
 這堿O<br>打字的地方
 
 <tr><td bgcolor=#ff9bf7 align=center style="font-size:12pt;color:purple">
 板主公告3
 <tr><td bgcolor=#ffc5fb align=center style="font-size:10pt;color:white">
 這堿O<br>打字的地方
 
 </td></tr></table>
 
 
 
 *******************************************************
 
 板主公告板 ;;;
 
 
 
 CODE: [Copy to clipboard]
 <!-- begin code provided by createblog.com -->
 <!-- Script by Paul Chen -->
 <td id="customRight" style="display:none" vAlign="top" width="200">
 <!-- module:start -->
 <table class="left" cellSpacing="0" cellPadding="4" width="100%" border="1">
 <tr><th class="left" vAlign="top" align="center">
 板主公告板
 </th></tr>
 <tr><td class="left" vAlign="top">
 一二三一二三一二三一二三
 </td></tr>
 </table>
 <br/>
 <!-- module:end -->
 </td>
 <script>
 extra=false;
 j=document.getElementById('MoreoverModule1_lblModuleTitle')
 if(j){extra=true}
 index=0;
 var mytds = document.getElementsByTagName('td');
 var i = 0;
 for(i=0;i<mytds.length-1;i++){
 if(mytds.width=="200"){
 index++;
 if(index==(extra ? 2 : 1)){break;}}
 }
 var sidebar = (extra ? mytds: mytds.parentNode)
 var tsibpc = document.getElementById('customRight');
 var rightSide = tsibpc.cloneNode(true);
 rightSide.style.display = "block";
 sidebar.appendChild(rightSide);
 </script>
 <!-- end code provided by createblog.com -->
 
 
 
 *******************************************************
 
 落雪效果 ;;;
 
 
 CODE: [Copy to clipboard]
 <SCRIPT Language="JavaScript">
 //Xanga version edited by cychoi @ xangascript.info
 //Configure below to change URL path to the snow image
 var snowsrc="img.gif" //指定這個特效所用的圖片
 // Configure below to change number of snow to render
 var no = 12; //指定顯示圖片數量
 
 var ns4up = (document.layers) ? 1 : 0; // browser sniffer
 var ie4up = (document.all) ? 1 : 0;
 
 var dx, xp, yp; // coordinate and position variables
 var am, stx, sty; // amplitude and step variables
 var i, doc_width = 800, doc_height = 600;
 
 if (ns4up) {
 doc_width = self.innerWidth;
 doc_height = self.innerHeight;
 } else if (ie4up) {
 doc_width = document.body.clientWidth;
 doc_height = document.body.clientHeight;
 }
 
 dx = new Array();
 xp = new Array();
 yp = new Array();
 am = new Array();
 stx = new Array();
 sty = new Array();
 
 for (i = 0; i < no; ++ i) {
 dx = 0; // set coordinate variables
 xp = Math.random()*(doc_width-50); // set position variables
 yp = Math.random()*doc_height;
 am = Math.random()*20; // set amplitude variables
 stx = 0.02 + Math.random()/10; // set step variables
 sty = 0.7 + Math.random(); // set step variables
 if (ns4up) { // set layers
 if (i == 0) {
 document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><a href=\"http://dynamicdrive.com/\"><img src='"+snowsrc+"' border=\"0\"></a></layer>");
 } else {
 document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><img src='"+snowsrc+"' border=\"0\"></layer>");
 }
 } else if (ie4up) {
 if (i == 0) {
 pos = "POSITION";
 abs = "absolute";
 posabs = pos + ":" + abs + ";";
 document.write("<d" + "iv id=\"dot"+ i +"\" style=\"" + posabs + " Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='"+snowsrc+"' border=\"0\"></a></div>");
 } else {
 document.write("<div id=\"dot"+ i +"\" style=\"" + posabs + " Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"></div>");
 }
 }
 }
 
 function snowNS() { // Netscape main animation function
 for (i = 0; i < no; ++ i) { // iterate for every dot
 yp += sty;
 if (yp > doc_height-50) {
 xp = Math.random()*(doc_width-am-30);
 yp = 0;
 stx = 0.02 + Math.random()/10;
 sty = 0.7 + Math.random();
 doc_width = self.innerWidth;
 doc_height = self.innerHeight;
 }
 dx += stx;
 document.layers["dot"+i].top = yp;
 document.layers["dot"+i].left = xp + am*Math.sin(dx);
 }
 setTimeout/**/("snowNS()", 10);
 }
 
 function snowIE() { // IE main animation function
 for (i = 0; i < no; ++ i) { // iterate for every dot
 yp += sty;
 if (yp > doc_height-50) {
 xp = Math.random()*(doc_width-am-30);
 yp = 0;
 stx = 0.02 + Math.random()/10;
 sty = 0.7 + Math.random();
 doc_width = document.body.clientWidth;
 doc_height = document.body.clientHeight;
 }
 dx += stx;
 document.all["dot"+i].style.pixelTop = yp;
 document.all["dot"+i].style.pixelLeft = xp + am*Math.sin(dx);
 }
 setTimeout/**/("snowIE()", 10);
 }
 
 if (ns4up) {
 snowNS();
 } else if (ie4up) {
 snowIE();
 }
 </script>
 
 
 
 *******************************************************
 
 
 |