xanga語法大集合(轉)
音樂篇
點樣加個player
<embed src="url" true? loop="false">
----------------------------------------------------------------------------
將d .mpg檔(影片檔)放上xanga
<embed src="url" true? loop="false">
----------------------------------------------------------------------------
放MV
<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="網址">
或者呢個
<embed src="MV網址" width="240" height="80" autostart="-1"></embed>
width、height自行修改
----------------------------------------------------------------------------
整player有得禁play、stop button
<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">
<p align="right">
<font face="Verdana">
<select style="font-size: 8pt; background-color: #FFFFFF; background-repeat: repeat; background-attachment: scroll; width: 154; color: #3399FF; font-face: verdana; height: 23; background-position: 0%" name="playlist" size="1">
<option value="0">歌名</option>
<option value="1">歌名</option>
</select><p align="right"><input style="BORDER-RIGHT: #色碼 粗度px double; BORDER-TOP: #色碼 粗度px double; FONT-SIZE: 8pt; BORDER-LEFT: #色碼 粗度px double; COLOR: #FF0080; BORDER-BOTTOM: #色碼 粗度px double; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #背景色" onClick="play(document.forms['form'].playlist);" type=button value=Play name=darkplay>
<input style="BORDER-RIGHT: #色碼 粗度px double; BORDER-TOP: #色碼 粗度px double; FONT-SIZE: 8pt; BORDER-LEFT: #色碼 粗度px double; COLOR: #FF0080; BORDER-BOTTOM: #色碼 粗度px double; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #背景色" onClick="document.darkplayer.pause(); playstate=2;" type=button value=Pause name=darkpause>
<input style="BORDER-RIGHT: #色碼 粗度px double; BORDER-TOP: #色碼 粗度px double; FONT-SIZE: 8pt; BORDER-LEFT: #色碼 粗度px double; COLOR: #FF0080; BORDER-BOTTOM: #色碼 粗度px double; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #背景色" onClick="document.darkplayer.stop(); playstate=2;" type=button value=Stop name=darkstop></form>
<script language="javascript">
<!--
var playstate = 1;
shuffle = // set to 0 to always play first song in list
// set to 1 to randomly choose the first song to play
// unlimited songs, just copy and paste the song line and change the number
songs=new Array();
songs[0]=" 歌網址"
songs[1]=" 歌網址"
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>
DOUBLE就係兩條線
亦可以改DOTTED(點),SOLID(線)
背景色就係果個禁PLAY果度GE背景色
放係Input your own Header HTML
----------------------------------------------------------------------------
MUSIC BOX
<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:pink;color:purple" value="音樂網址">歌名
<option style="BACKGROUND-COLOR:yellow;color:blue" value="音樂網址">歌名
<option style="BACKGROUND-COLOR:pink;color:purple" value="音樂網址">歌名
<option style="BACKGROUND-COLOR:yellow;color:blue" value="音樂網址">歌名
<option style="BACKGROUND-COLOR:pink;color:purple" value="音樂網址">歌名
<option style="BACKGROUND-COLOR:yellow;color:blue" value="音樂網址">歌名
</select>
</form>
放係Input your own Header HTML
----------------------------------------------------------------------------
點樣整一個 mtv (係 *.wmv ) 入我個 header 度呀??
首先在look & feel裡 Custom Header click左 Input your own Header HTML ...
跟住放此語法在下面的"Your HTML"內
<EMBED src=音樂檔的位置>
----------------------------------------------------------------------------
Upload問題:如果唔想用日本Geocities
遊客無法瀏覽此圖片或下載點,請先註冊或登入會員。
可以試下Angelfire
遊客無法瀏覽此圖片或下載點,請先註冊或登入會員。
------------------------------------------------------------------------------
除Xanga內字型另外想要其他字型:
需要上一些專dl字型GE網度DL。
但係你用黎寫日記要小心,因為未必人人睇到你寫咩
因為你裝左果隻字唔等於人地都有,所以唔係個個睇到。
最好用番電腦入面已經有GE字型寫會好好多。
想知d字型係點你可以0係word度打字~果度都有字型俾你揀。
-------------------------------------------------------------------------------------
唔要Xanga內某些部分:
唔要posting calendar
<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>
放係website stats
----------------------------------------------------------------------------
唔要廣告
<!--AdRemover-->
<!--Screennaimless code created by Anti_fukin_social-->
<!--http://www.xanga.com/anti_fukin_social--></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">
<!--Finished-->
<!--End Of AdRemover-->
放係website stats度,最底。
------------------------------------------------------------------------------------------------
想唔要xanga最低果行"xanga - join - upgrade - skins - about - terms of use - privacy - help - contact us - sign in":::
<style type="text/css">
table.footer { display:none; }
</style>
放去website stats
------------------------------------------------------------------------------------------------
唔要左手面個人資料框
<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>
放website stats
請記得要加番一d超連結,唔係無左左手面GE框係改唔到LOOK & FEEL內GE野。
加超連結例子:
<a href="網址">look & feel</a>
------------------------------------------------------------------------------------------------
唔要個日記想shut down:
遊客無法瀏覽此圖片或下載點,請先註冊或登入會員。
可以shut down。
------------------------------------------------------------------------------------------------
點樣可以將左邊d野調去右邊
<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>
放ws
倒數篇
倒數器
<script language="javascript1.2">
var today = new Date;
var Future0 = new Date;
var BirthMonth = 你想邊月;
var BirthDate = 你想邊日;
var BirthYear = 你想邊年;
BirthMonth--;
Future0.setMonth(BirthMonth, BirthDate);
if (Date.parse(today) > Date.parse(Future0))
{
Future0.setFullYear(today.getYear()+1);
age = (today.getYear() - BirthYear) + 1;
}
else
{age = today.getYear() - BirthYear;}
if (age % 10 == 0)
ageend = 'th';
else if (age % 10 == 4)
ageend = 'th';
else if (age % 10 == 5)
ageend = 'th';
else if (age % 10 == 6)
ageend = 'th';
else if (age % 10 == 7)
ageend = 'th';
else if (age % 10 == 8)
ageend = 'th';
else if (age % 10 == 9)
ageend = 'th';
else if (age % 10 == 1)
ageend = 'st';
else if (age % 10 == 2)
ageend = 'nd';
else if (age % 10 == 3)
ageend = 'rd';
var faraevent = "<font color=#色碼><i>my birthday</font>";
today1 = Date.parse(today);
future1 = Date.parse(Future0);
secleft = future1 - today1;
miliday = 24 * 60 * 60 * 1000;
daysleft = secleft/miliday;
daysleftint = Math.round(daysleft);
if (daysleftint > 1)
document.write(" ", daysleftint, " <font color=#色碼>days until my ", age, ageend, " birthday</font>");
else if (daysleftint == 1)
document.write("<font color=#色碼>my <b>", age, ageend, "</b> birthday is</font> tomorrow");
else if (today1 == future1)
document.write("<font color=#色碼>my <b>", age, ageend, "</b> birthday is</font> today");
else
document.write("passed");
</script>
----------------------------------------------------------------------------
想偷數一件事紀念日
if (daysleftint > 1)
document.write(" ", daysleftint, " <font color=#xxxxxx>days until my ", age, ageend, " birthday</font>");
else if (daysleftint == 1)
document.write("<font color=#xxxxxx>my <b>", age, ageend, "</b> birthday is tomorrow </font>");
else if (today1 == future1)
document.write("<font color=#xxxxxx>my <b>", age, ageend, "</b> birthday is</font> today</font>");
else
document.write("passed");
</script>
你一共要改上面3句野‥
第1句係話仲有幾多日到你想倒數果個日子
第2句係話明天就係果個日子啦
而第3句就話係今日係果個日子啦
----------------------------------------------------
連結效果:
LINK時有背景
<style type="text/css">a:hover {background:url(圖網址); text-decoration: none;}</style>
放INPUT
-----------------------------------------------------------------------------------------------
就咁放大:
<style>
a:hover
{font size: 10pt;} </style>改數字放係Input your own Header HTML
------------------------------------------------------------------------------------------------
加外框同colour:
<style>
a:hover{border: 粗px dotted #色; font size: 大細pt;}
</style>可改double(雙線)、solid(單線)放係Input your own Header HTML
------------------------------------------------------------------------------------------------
陰影(禁到連結時)
<!--A:hover{color:#最面果隻色;filter:dropshadow(color=#反射後面果隻色,offx=2,offy =2,positive=true);height:16pt;text-decoration:none;}A{text-decoration:none;}-->
offx 係反射果度向橫GE大細
offy 係反射向下GE大細
height 係字GE高
放係Input your own Header HTML
------------------------------------------------------------------------------------------------
漸變
<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>
Opacity..最深係幾多
FinishOpacity...最淺係幾多
放係Input your own Header HTML
------------------------------------------------------------------------------------------------
同樣係陰影,但係人地入去到就見到GE陰影(有兩個方法)
1. 自己可以調教陰影斜位
<style>
a:hover, a:link, a:visited
{filter:blur; .alpha
{width: inherit; height: 1;
filter:shadow(color=#色,offx=2,offy=2,positive=true);}
</style>
offx 係反射果度向橫GE大細
offy 係反射向下GE大細
2.無得改高與斜
<style type="text/css">
<!-- a:link {filter:glow(color:#背景色, strength=強度);height:0px;width:inherit}
a:active {filter:glow(color:#背景色, strength=強度);height:0px;width:inherit}
a:visited {filter:glow(color:#背景色, strength=強度);height:0px;width:inherit}
a:hover {filter:glow(color:#背景色, strength=強度);height:0px;width:inherit} --></style>
放係Input your own Header HTML
-------------------------------------------------------------------------------------------------
防人地右CLICK篇
防人地右CLICK時...3種HTML
第一(放係Input your own Header HTML)
<script language="javascript">
if (navigator.appName.indexOf("Internet Explorer") != -1)
document.onmousedown = noSourceExplorer;
function noSourceExplorer(){if (event.button == 2 |
event.button == 10){alert(" 字 ")
;}}</script>
呢個呢~就係當人地右禁時,就會彈出一個警告WINDOWN GE JE~只係會出現一次(當然如果果條友不停禁就會不停有啦)
------------------------------------------------------------------------------------------------
第二(放係Input your own Header HTML)
<script language=javascript>
function click(){
if(event.button==2){earthquake()
alert("警告的字")
window.open("網址")
;}
}document.onmousedown=click// --]
function earthquake(){
window.moveTo(1000,5000)
}
</script>
而呢1個呢~就係當人地右禁時~就會有警告字句而且仲會彈多個WINDOWN出黎添...
如果你想佢不停咁彈好多個WINDOWN出黎呢..
------------------------------------------------------------------------------------------------
第3(放係Input your own Header HTML)
<body bgcolor="#FFFFFF" ondragstart="return false" onselectstart="return false" oncontextmenu="return false">
防人地右click+highlight既方法
等人地連文字都好難用ctrl+c去copy到..
當對方想右click你既時候..會咩野反應都冇架..
----------------------------------------
隨機背景圖
<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>
放INPUT YOUR OWN HTML。
有幾多張圖就改紅色地方。
Last 10個黎你日記:放去website stats
<!-- Script by Paul Chen -->
<div id="customTen" style="display:none">
<table class="left" cellSpacing="0" cellPadding="4" width="100%" border="1">
<tr><th class="left" vAlign="top" align="left">
Last 10 Visitors</th></tr><tr><td class="left" vAlign="top">
<div id="lastTen"></div></td></tr></table><br/></div>
<script> // Kaiyotee ::: Paul Chen
//************
var time = -5;
//************
if(location.pathname.toLowerCase()=="/home.aspx"){
a = document.getElementsByTagName('a');
for(j=0;j<a.length;j++){name="Guest";m=a[j].innerHTML;n=a[j].href;
if(n.indexOf(m)!=-1 && n.indexOf('private/home.aspx')!=-1){name=m;break;}}
var head = document.getElementsByTagName('head').item(0);
script = document.createElement('script');
script.src = "http://juicypork.t35.com/tlog/track.php?view="+name+"&offset="+time;
head.appendChild(script);}</script>
將5轉8
-----------------------------------------------------------
改XANGA字。
兩個CODE都可以用。放去website stats
1.
<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>
------------------------------------------------------------------------------------------------
2.
<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>
其他篇
改左個標題
<script type='text/javascript'>
document.title = ('你想要顯示既字');
//-->
</script>
放係Input your own Header HTML
------------------------------------------------------------------------------------------------
點樣可以整個瀏覽人數
遊客無法瀏覽此圖片或下載點,請先註冊或登入會員。
簡一個你鍾意o既樣
禁入去,再照住做,就得嫁啦
最後將語法放o係Header
------------------------------------------------------------------------------------------------
點樣可以係人地入黎自己個xanga個陣會彈一個welcome message出黎?
<script language="javascript">
<!--
alert(" 字 ");
//--></script>
放係Input your own Header HTML
------------------------------------------------------------------------------------------------
整Chattbox
遊客無法瀏覽此圖片或下載點,請先註冊或登入會員。
申請一個a/c..
再貼落jave xxxx度
-------------------------------------------------------------------------------------
想要用PW入日記
密碼進入:
<script language="javascript">
<!--
var keyword = " 密碼 "
function checkKey(){
var key = prompt(" 提示問題 "," 打密碼地方GE字 ")
if(keyword != key)
history.go(0)
}
checkKey()
//-->
</script>
一樣係放落INPUT。
呢個唔會有錯網頁要去…
即係一定要人地知密碼先會入到GE。
其實都幾好用…
<script LANGUAGE="javascript">
<!-- Begin
var monkey = prompt("請輸入所需要密碼"," 提示密碼 1234 ")
if (monkey == '1234'){
}
else {
self.location = 'http://www.yahoo.com'
}
// End -->
</script>
呢個就係錯左有網頁去GE。
岩左就會入日記度~
想要GE人都可以用。
放係Input your own Header HTML
------------------------------------------------------------------------------------------------
日記內容有框
<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>
透明度個數愈細就愈透
虛線就dashed..點點就dotted..雙線就double
點點就一定要係2px dotted
放係Input your own Header HTML
------------------------------------------------------------------------------------------------
框住日期的框
<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>
放INPUT
------------------------------------------------------------------------------------------------
自我介紹個背景:
<style type="text/css">
<!--
table.left th { background-image:url(' 圖址 ') }
table.left td { background-image:url(' 圖址 ') }
//-->
</style>
th係profile果個title背景
td 係profile果個框ge背景
放係Input your own Header HTML
------------------------------------------------------------------------------------------------
有框框住成個日記...仲有捲軸
<DIV align="center" valign="middle" style="BORDER-RIGHT: #色 2px dotted; BORDER-TOP: #色 2px dotted; FILTER: alpha(opacity=透明度); OVERFLOW: auto; BORDER-LEFT: #色 2px dotted; WIDTH: 705px; BORDER-BOTTOM: #色 2px dotted; HEIGHT: 650px; BACKGROUND-COLOR:#色">
放INPUT
------------------------------------------------------------------------------------------------
想改捲軸(拉上拉落果個野)既顏色:::
<style>
BODY {
SCROLLBAR-FACE-COLOR: #******;
SCROLLBAR-HIGHLIGHT-COLOR: #******;
SCROLLBAR-SHADOW-COLOR: #******;
SCROLLBAR-3DLIGHT-COLOR: #******;
SCROLLBAR-ARROW-COLOR: #******;
SCROLLBAR-TRACK-COLOR: #******;
SCROLLBAR-DARKSHADOW-COLOR: #******;
}
</style>
******打返個顏色碼
放INPUT
------------------------------------------------------------------------------------------------
想改subcription上面d名:::
<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, "***");
else if (str.match (/idname/i)) links[l].innerHTML = str.replace (/idname/i, "***");
}//-->
</script>
idname打返subcription本身對方個id
***打返你想改成既字
放去website stats..
------------------------------------------------------------------------------------------------
透明圖o既code
<IMG style="FILTER: alpha(opacity=xx)" src="圖片網址">
透明程度(0-100)
0 係最透,100係最唔透明
------------------------------------------------------------------------------------------------
SUB GE人順序A-Z排列:
登入左…o係subscription list最底果度會有Edit or Read Subscriptions
按入Edit → General Setings....
o係Order of subscriptions in module 度揀Alphabetical 就得 =]
------------------------------------------------------------------------------------------------
改晒成個面板都係透明
<style>
table{filter:Alpha(Opacity=50)}
</style>
改Opacity,愈細愈透放係Input your own Header HTML
------------------------------------------------------------------------------------------------
Profile框透明
<style type="text/css">
table.left { FILTER: alpha(opacity=85); }
</style>
改Opacity,愈細愈透放係Input your own Header HTML
------------------------------------------------------------------------------------------------
左面個框整窄D
<style type="text/css">
table.left { border: 粗px dashed #色; width:你想要GE闊px}
</style>
dashed可改dotted(點)、double(雙線)、solid(單線)
放係Input your own Header HTML
------------------------------------------------------------------------------------------------
整到要禁一幅圖先入到日記
<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{i}.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:1px 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>
麻煩將{}改做[],因為display唔到
之後成個放係header html
------------------------------------------------------------------------------------
滑鼠篇
想改cursor圖案:::
<style TYPE="text/css">p {align=justify}
BODY{cursor: url(圖1);}
a {cursor: url(圖2);}
</style>
圖1打返普通情況下你想改成既cursor個url
圖2打返係link上面既cursor個url
cursor不可能用jpg、gif圖(即係唔可以偷link,一定要自己搵網頁upload)
放係Input your own Header HTML
------------------------------------------------------------------------------------------------
滑鼠帶圖
<body onmousemove="C.style.left=document.body.scrollLeft+event.clientX+10;C.style.top=document.body.scrollTop+event.clientY+10"><font id="C" style="position:absolute" ><img border="0" src="圖片網址"></font>
clientX+10 及 clientY+10
數字係圖片距離滑鼠GE遠。
放係Input your own Header HTML
------------------------------------------------------------------------------------------------
框成個日記:
立體框:
<style>body {border-style: liquid ; border-top-width: 上邊粗px; border-bottom-width: 底邊粗px; border-left-width: 左邊粗px;
border-right-width: 右邊粗px; border-color: 色;}</style>
放係Input your own Header HTML
------------------------------------------------------------------------------------------------
有個框框住成個xanga:::
<script language="javascript1.2">
if (document.all)
document.body.style.cssText="border:框既粗度 solid #色碼"
</script>
放係Input your own Header HTML
------------------------------------------------------------------------------------------------
呢個就係一次過改哂4條邊GE色。
<style>
body{
border-right: 粗幼px dotted;
border-top: 粗幼px dotted;
border-left: 粗幼px dotted;
border-bottom: 粗幼px dotted;
border-color:色碼;
}</style>
------------------------------------------------------------------------------------------------
呢個就係4邊可以唔同色GE。
<style>
body{
border-left: 粗幼px dotted 色;
border-right: 粗幼px dotted 色;
border-top: 粗幼px dotted 色;
border-bottom: 粗幼px dotted 色;
}</style>
------------------------------------------------------------------------------------------------
圖片篇點可以整到d圖郁
<MARQUEE behavior=alternate width=500> <img src="圖片"> </MARQUEE>
------------------------------------------------------------------------------------------------
點樣可以令張圖上下左右咁郁咁郁?
<marquee direction="down" height=100 width=100 scrollamount="2">
<img src="圖片">
<img src="圖片">
<img src="圖片">
<img src="圖片">
<img src="圖片">
</marquee>
direction果度就係你想d圖向上(up)、向下(down)、左(left)、右(right)
height & width 就係走動範圍大細
scrollamount就係速度
-----------------------------------------------------------------------------------------------
點樣.整到d相透明
透明圖
<img style="FILTER: alpha(opacity=透明度)" onmouseout=makevisible(this,1) src="圖片的網址">
透明度: 1-100
打日記時字體其他效果:
請打日記時click "edit html"將code放入。
發光字
<style>#glowtext{filter:glow(color=white,strength=3);
width:100%;}</style><SCRIPT LANGUAGE="javascript">
function glowit(which){if (document.all.glowtext[which].filters[0].strength==9)
document.all.glowtext[which].filters[0].strength=6
else
document.all.glowtext[which].filters[0].strength=9
}function glowit2(which){if (document.all.glowtext.filters[0].strength==9)
document.all.glowtext.filters[0].strength=6
else
document.all.glowtext.filters[0].strength=9}function startglowing(){if (document.all.glowtext&&glowtext.length){for (i=0;i<glowtext.length;i++)eval(setInterval("glowit(+i+)",150))}else if (glowtext)setInterval("glowit2(0)",150)}if (document.all)window.onload=startglowing
</SCRIPT><span id="glowtext"><font size="5" color="red">
打字之地方
</font></span>
------------------------------------------------------------------------------------------------
陰影字。
<span style="height:1;filter:shadow(color= white);"><font color=skyblue size=5>字</font></span>
size=5 等如字型大小
color= 位置改顏色
------------------------------------------------------------------------------------------------
d字由左至右郁<marquee direction=right><font size=4 color=blue>字</font></marquee>right 可轉left(左)
------------------------------------------------------------------------------------------------
變粗::<strong> 字 </strong>
轉色::<font color=色碼> 字 </font>
變大::<font size=大細1-7> 字 </font>
------------------------------------------------------------------------------------------------
工具列、狀態列走字:
左右移動:
<script language="javascript">
var x = 0
var speed = 100
var text = "字句"
var course = 127
var text2 = text
function Scrollforward() {
window.status = text2.substring(0, text2.length)
if (course < text2.length) {
setTimeout("Scrollback()", speed)
}else {text2 = " " + text2
setTimeout("Scrollforward()", speed);
}}function Scrollback() {
window.status = text2.substring(x, text2.length)
if (text2.length - x == text.length) {text2 = text
x = 0
setTimeout("Scrollforward()", speed);}else {x++
setTimeout("Scrollback()", speed);}}Scrollforward()
</script>
var speed = 100 係速度。
放係Input your own Header HTML
------------------------------------------------------------------------------------------------
慢慢向左去~
<SCRIPT Language="javascript">
msg = " plz dun copy anythings ";
timeID = 20;stcnt = 26;wmsg = new Array(63);wmsg[0]=msg;blnk = " ";for (i=1; i<62; i++){b = blnk.substring(0,i);wmsg="";for (j=0; j<msg.length; j++) wmsg=wmsg+msg.charAt(j)+b;}function wiper(){if (stcnt > -1) str = wmsg[stcnt]; else str = wmsg[0];if (stcnt-- < -10) stcnt=11;status = str;clearTimeout(timeID);timeID = setTimeout("wiper()",100);}wiper()</SCRIPT>
放係Input your own Header HTML
|