加入我的最愛  |   設定為首頁  |   圖片上載  論壇音樂模式    非音樂模式   
 
I-See 論壇

I-See 論壇 註冊 登錄 會員 勳章中心 MSN宣傳系統 虛擬形象 音樂盒中心 隨機圖片中心 Flash 遊戲 會員相冊 新手手冊 娛樂設施 幫助 簡體中文 界面風格




 發新回覆
發新主題 發新投票
標題: **勁 多 XANGA 語 法``=]
載入中 ...
JODI
初生嬰兒

*[[小祖]]``


會員編號 348005
精華 0
積分 257
帖子 26
威望 0 點
I-See幣 13363 錢
GAME幣 100 個
MSN宣傳 0 次
性別  女
配偶 未婚
閱讀權限 40
註冊 2007-7-18
註冊天數 6335
來自 mami個肚
狀態 離線
  只顯示 JODI 的帖子
發表於 2007-7-18 04:19 PM  資料  主頁 短消息  加為好友 
**勁 多 XANGA 語 法``=]

登入時彈出的Welcome Message,擺header
CODE:  [Copy to clipboard]
--------------------------------------------------------------------------------

<script language="JavaScript">
<!--
alert(" 字 ");
//--></script>
*******************************************************

離開時彈出的ByeBye Message,擺ws
CODE:  [Copy to clipboard]
--------------------------------------------------------------------------------

<script language="JavaScript">
function UserExit(){
alert("字");
}</script>
<body  >
**如果想字隔行,可以係字與字之間打入/n  **





*[[小祖]]``為你[愛過]♥[哭過]♥ [痛過] ♥[笑過] ♥[瘋過] ♥[癡過]♥[恨過]♥[苦過]♥[傻過]。


xanga"
www.xanga.com/Jodi_li/
記得留cm牙``=]
I-See Forum @ All rights reserved.
頂部
JODI
初生嬰兒

*[[小祖]]``


會員編號 348005
精華 0
積分 257
帖子 26
威望 0 點
I-See幣 13363 錢
GAME幣 100 個
MSN宣傳 0 次
性別  女
配偶 未婚
閱讀權限 40
註冊 2007-7-18
註冊天數 6335
來自 mami個肚
狀態 離線
  只顯示 JODI 的帖子
發表於 2007-7-18 04:19 PM  資料  主頁 短消息  加為好友 
設網頁名(一)
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>

勁震板
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>
*******************************************************





*[[小祖]]``為你[愛過]♥[哭過]♥ [痛過] ♥[笑過] ♥[瘋過] ♥[癡過]♥[恨過]♥[苦過]♥[傻過]。


xanga"
www.xanga.com/Jodi_li/
記得留cm牙``=]
I-See Forum @ All rights reserved.
頂部
JODI
初生嬰兒

*[[小祖]]``


會員編號 348005
精華 0
積分 257
帖子 26
威望 0 點
I-See幣 13363 錢
GAME幣 100 個
MSN宣傳 0 次
性別  女
配偶 未婚
閱讀權限 40
註冊 2007-7-18
註冊天數 6335
來自 mami個肚
狀態 離線
  只顯示 JODI 的帖子
發表於 2007-7-18 04:20 PM  資料  主頁 短消息  加為好友 
字體轉色
CODE:  [Copy to clipboard]
--------------------------------------------------------------------------------

<font color=色碼> 字 </font>
*******************************************************

字體變大
CODE:  [Copy to clipboard]
--------------------------------------------------------------------------------

<font size=大細1-7> 字 </font>


CODE:  [Copy to clipboard]
--------------------------------------------------------------------------------

<IMG SRC="圖片網址">
*******************************************************
CODE:  [Copy to clipboard]
--------------------------------------------------------------------------------

圖片較大小
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="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 = '彈去第二個既網址'
}
// End -->
</script>
**如果打錯密碼就會去左第二個網址**




鎖Right Click+彈警告,擺ws
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 ,擺ws
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(一) ,擺ws
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;">

移除廣告
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;">
*******************************************************





*[[小祖]]``為你[愛過]♥[哭過]♥ [痛過] ♥[笑過] ♥[瘋過] ♥[癡過]♥[恨過]♥[苦過]♥[傻過]。


xanga"
www.xanga.com/Jodi_li/
記得留cm牙``=]
I-See Forum @ All rights reserved.
頂部
JODI
初生嬰兒

*[[小祖]]``


會員編號 348005
精華 0
積分 257
帖子 26
威望 0 點
I-See幣 13363 錢
GAME幣 100 個
MSN宣傳 0 次
性別  女
配偶 未婚
閱讀權限 40
註冊 2007-7-18
註冊天數 6335
來自 mami個肚
狀態 離線
  只顯示 JODI 的帖子
發表於 2007-7-18 04:21 PM  資料  主頁 短消息  加為好友 
移除Xanga底的一行超連結
CODE:  [Copy to clipboard]
--------------------------------------------------------------------------------

<style type="test/css">
table.footer { display:none; }
</style>


*********************************************************



移除Posting Calendar
CODE:  [Copy to clipboard]
--------------------------------------------------------------------------------

<script language="javascript"><!--
// original by sean, 遊客無法瀏覽此圖片或下載點,請先註冊或登入會員。
if (location.href.match ("home.aspx")) {
var ht = document.getElementsByTagName ('table');
for (var t = 0; t < 10; t++) {
str = ht[t].cells[0].innerHTML;
if (!str.match (/Sites I Read/i) && str.match (/(Posting Calendar|Get Involved!|Build Traffic!)/i)) ht[t].style.display = "none";
}
}
//--></script>
*******************************************************

移除個人資料框
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
<a href="http://edit.xanga.com/signin.aspx?ReturnUrl=%2fclaf.aspx">look & feel</a>

**消除個人資料框後(即Step 1)要加返條link (即Step 2)先可以入look and feel改野**

隱藏左邊
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>


隨機背景圖
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>
**var swapspeed=2(亦即第4句)中修改變換的時間,數值愈大,更換背景既時間就愈慢


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>
*******************************************************





*[[小祖]]``為你[愛過]♥[哭過]♥ [痛過] ♥[笑過] ♥[瘋過] ♥[癡過]♥[恨過]♥[苦過]♥[傻過]。


xanga"
www.xanga.com/Jodi_li/
記得留cm牙``=]
I-See Forum @ All rights reserved.
頂部
JODI
初生嬰兒

*[[小祖]]``


會員編號 348005
精華 0
積分 257
帖子 26
威望 0 點
I-See幣 13363 錢
GAME幣 100 個
MSN宣傳 0 次
性別  女
配偶 未婚
閱讀權限 40
註冊 2007-7-18
註冊天數 6335
來自 mami個肚
狀態 離線
  只顯示 JODI 的帖子
發表於 2007-7-18 04:25 PM  資料  主頁 短消息  加為好友 
外框卷軸,擺ws
CODE:  [Copy to clipboard]
--------------------------------------------------------------------------------

<style>
body{
scrollbar-arrow-color: #顏色;
scrollbar-3dlight-color: #顏色;
scrollbar-highlight-color: #顏色;
scrollbar-face-color: #顏色;
scrollbar-track-color: #顏色;
scrollbar-shadow-color: #顏色;
scrollbar-darkshadow-color: #顏色;
}
</style> 
*******************************************************

外框變色卷軸,擺ws
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>
*******************************************************

卷軸由右邊轉去左邊,擺ws
CODE:  [Copy to clipboard]
--------------------------------------------------------------------------------

<body ONCONTEXTMENU="return false" dir="rtl"><DIV DIR="LTR">
**呢個除左令卷軸左右掉轉外,板面亦都會一起掉轉**

*******************************************************

個人資料增添卷軸,擺ws
CODE:  [Copy to clipboard]
--------------------------------------------------------------------------------

<script type="text/javascript">


圖片透明
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個款

Subscriptions增添卷軸,擺ws
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增添卷軸,擺ws
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 -->

日記外框(一)
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]
--------------------------------------------------------------------------------

<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>

字體變粗
CODE:  [Copy to clipboard]
--------------------------------------------------------------------------------





*[[小祖]]``為你[愛過]♥[哭過]♥ [痛過] ♥[笑過] ♥[瘋過] ♥[癡過]♥[恨過]♥[苦過]♥[傻過]。


xanga"
www.xanga.com/Jodi_li/
記得留cm牙``=]
I-See Forum @ All rights reserved.
頂部
JODI
初生嬰兒

*[[小祖]]``


會員編號 348005
精華 0
積分 257
帖子 26
威望 0 點
I-See幣 13363 錢
GAME幣 100 個
MSN宣傳 0 次
性別  女
配偶 未婚
閱讀權限 40
註冊 2007-7-18
註冊天數 6335
來自 mami個肚
狀態 離線
  只顯示 JODI 的帖子
發表於 2007-7-18 04:27 PM  資料  主頁 短消息  加為好友 
StateChangeHandler Player
CODE:  [Copy to clipboard]
--------------------------------------------------------------------------------

<OBJECT ID="Player" height="0" width="0" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<PARAM NAME="uiMode" VALUE="invisible">
<PARAM 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="PlayPauseButton" onClick="PlayPause(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="PlayHTML"><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>





*[[小祖]]``為你[愛過]♥[哭過]♥ [痛過] ♥[笑過] ♥[瘋過] ♥[癡過]♥[恨過]♥[苦過]♥[傻過]。


xanga"
www.xanga.com/Jodi_li/
記得留cm牙``=]
I-See Forum @ All rights reserved.
頂部
JODI
初生嬰兒

*[[小祖]]``


會員編號 348005
精華 0
積分 257
帖子 26
威望 0 點
I-See幣 13363 錢
GAME幣 100 個
MSN宣傳 0 次
性別  女
配偶 未婚
閱讀權限 40
註冊 2007-7-18
註冊天數 6335
來自 mami個肚
狀態 離線
  只顯示 JODI 的帖子
發表於 2007-7-18 04:28 PM  資料  主頁 短消息  加為好友 
改哂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",
"Posting Calendar",
"Get Involved!",
"Subscribe to ",
"read my profile",
"sign my guestbook",
"Occupation",
"Go To Date",
"Next 5",
"Previous 5");

var newWords = new Array(
"State:",
"Name:",
"Country:",
"Birthday:",
"Gender:",
"Interests:",
"Expertise:",
"Email:",
"Website:",
"MSN:",
"email it",
"Subscriptions",
"My Blogrings",
"Posting Calendar",
"Get Involved!",
"Subscribe to ",
"read my profile",
"sign my guestbook",
"Occupation",
"Go To Date",
"Next 5",
"Previous 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>

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>





*[[小祖]]``為你[愛過]♥[哭過]♥ [痛過] ♥[笑過] ♥[瘋過] ♥[癡過]♥[恨過]♥[苦過]♥[傻過]。


xanga"
www.xanga.com/Jodi_li/
記得留cm牙``=]
I-See Forum @ All rights reserved.
頂部
JODI
初生嬰兒

*[[小祖]]``


會員編號 348005
精華 0
積分 257
帖子 26
威望 0 點
I-See幣 13363 錢
GAME幣 100 個
MSN宣傳 0 次
性別  女
配偶 未婚
閱讀權限 40
註冊 2007-7-18
註冊天數 6335
來自 mami個肚
狀態 離線
  只顯示 JODI 的帖子
發表於 2007-7-18 04:29 PM  資料  主頁 短消息  加為好友 
日記背景
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>

修改日期板面
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>
******************************************


改Friend 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係xxxxxxx,你又想改佢個名做xxxx
    咁*idname*就係打xxxxxxx,而*你想改ge名*就係打xxxx喇

*******************************************************

改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"
www.xanga.com/Jodi_li/
記得留cm牙``=]
I-See Forum @ All rights reserved.
頂部
JODI
初生嬰兒

*[[小祖]]``


會員編號 348005
精華 0
積分 257
帖子 26
威望 0 點
I-See幣 13363 錢
GAME幣 100 個
MSN宣傳 0 次
性別  女
配偶 未婚
閱讀權限 40
註冊 2007-7-18
註冊天數 6335
來自 mami個肚
狀態 離線
  只顯示 JODI 的帖子
發表於 2007-7-18 04:30 PM  資料  主頁 短消息  加為好友 
日記外框+素材
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: #F3A1DF;(here)
    scrollbar-3dlight-color: #F3A1DF;
    scrollbar-darkshadow-color: #660066;
    scrollbar-face-color: #F3A1DF;
    scrollbar-highlight-color: #F3A1DF;
    scrollbar-shadow-color: #F3A1DF;
    scrollbar-arrow-color: #DB1FAD;(here - 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>

修改日期板面
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>
******************************************


改Friend 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係xxxxxxx,你又想改佢個名做xxxx
    咁*idname*就係打xxxxxxx,而*你想改ge名*就係打xxxx喇

*******************************************************

改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"
www.xanga.com/Jodi_li/
記得留cm牙``=]
I-See Forum @ All rights reserved.
頂部
JODI
初生嬰兒

*[[小祖]]``


會員編號 348005
精華 0
積分 257
帖子 26
威望 0 點
I-See幣 13363 錢
GAME幣 100 個
MSN宣傳 0 次
性別  女
配偶 未婚
閱讀權限 40
註冊 2007-7-18
註冊天數 6335
來自 mami個肚
狀態 離線
  只顯示 JODI 的帖子
發表於 2007-7-18 04:32 PM  資料  主頁 短消息  加為好友 
大家借左1定要回牙``=)





*[[小祖]]``為你[愛過]♥[哭過]♥ [痛過] ♥[笑過] ♥[瘋過] ♥[癡過]♥[恨過]♥[苦過]♥[傻過]。


xanga"
www.xanga.com/Jodi_li/
記得留cm牙``=]
I-See Forum @ All rights reserved.
頂部
載入中 ...
 發新回覆
發新主題 發新投票


載入中 ...


當前時區 GMT+8, 現在時間是 2024-11-20 09:31 PM

  Powered by Discuz!  © Comsenz Inc.
Processed in 0.068869 second(s), 7 queries , Gzip enabled

清除 Cookies - 聯繫我們 - I-See 論壇 - Archiver - WAP