✔ 最佳答案
語法放置位置:
選項>>基本設定>>自我介紹~
如果想每篇日記有變化,例如字色,就將語法放係寫日記~
紅色可以改**
背景~
<body bgproperties="fixed" background=圖既url>
背景色~
<body bgcolor="#色碼">
字大小~
<font size="大小">字字</font>
字色~
<font color="#色碼">字字</font>
捲軸色~<style type="text/css">
<!--
body
{
scrollbar-face-color: #條bar面個色;
scrollbar-highlight-color: #軸面左角邊顏色;
scrollbar-shadow-color: #軸面右角邊顏色;
scrollbar-3dlight-color: #左立體邊顏色;
scrollbar-arrow-color: #箭咀個色;
scrollbar-track-color: #右立體邊顏色;
scrollbar-darkshadow-color: #軸軌個色;
}
-->
</STYLE>
link~
<a href="網址" target="_blank"><img src="圖既url" border=0></a>
放相,放圖~
<img src='圖既url'>
背景音樂~
<bgsound src="歌既url" loop="infinite">
或
<embed src="歌既url" loop='true' hidden='true' autostart='true'>
改字型~
<font face="字體名">字字</font>
分隔線變圖~
<script language="JavaScript">
function hr2img() {
//Convert ShowHappy <hr> horiz. line into custom images
//Written by Small Potato
imgsrc = "圖既url"; //URL of the image
diaryContent = document.firstChild.lastChild.lastChild.lastChild.firstChild.lastChild.lastChild.firstChild.innerHTML;
diaryContent = diaryContent.replace(/<HR align=left width="95%" color=#00ffff>/gi,'<img src="'+imgsrc+'">');
document.firstChild.lastChild.lastChild.lastChild.firstChild.lastChild.lastChild.firstChild.innerHTML = diaryContent;
}
hr2img();
</script>
一次過改曬~
<style type="text/css">
<!--
td { font-size: 9pt; color: #色碼(日記d字既顏色); text-decoration: none;}
.L { font-size: 10pt; color: #色碼(日記,日記主簡介,讀者留言既顏色); font-weight: 700; background-color: #色碼(條bar既顏色);}
a:hover { font-size: 8pt; color: #色碼(滑鼠接觸時路人留言既顏色); text-decoration: none;}
a { font-size: 8pt; color: #色碼(路人留言既顏色); text-decoration: underline;}
.ac { font-size: 8pt; font-weight: 700; color: #色碼(寫日記,申請日記,用戶列表,Powered By既顏色); text-decoration: none;}
body { font-size: 9pt; color: #色碼(人氣,Design & Scripting by既顏色);}
.dtd { font-size: 10pt; color: #色碼(日期,星期幾,天氣既顏色); font-weight: 700;}
.dtd2 { font-size: 12pt; color: #色碼(日記名既顏色); font-weight: 700;}
.stime { font-size: 8pt; color: #色碼(時間既顏色);}
-->
</style>
留言前面的圈圈改做圖~
<script language="JavaScript">
function changeimgsrc() {
//Change dot.gif into other imgs v1.2
//Written by Small Potato
//v1.2 debug, CSS->setAttribute
//v1.1 able to change size of img
dotimgsrc = "圖url";
for(i = 0; i < document.images.length; i++) {
if(document.images[i].src == "
http://diary.showhappy.net/dot.gif") {
document.images[i].src = dotimgsrc;
document.images[i].setAttribute('width', '15');
document.images[i].setAttribute('height', '15');
}
}
}
setTimeout("changeimgsrc()", 200);
</script>
留言加背景~
<CENTER>
<TABLE style="background-image: url('背景圖網址');};
filter:Alphaopacity=100);border-color:#框的顏色;border-style:dashed;border-width:1px"
cellpadding="4" cellspacing="1" width="140" height="10"><font
color="black"><TBODY><TR><TD>
</font></TD></TR></TBODY>
</CENTER>
delete直線(日記與留言個條)~
<script>
// remove line
document.childNodes[0].childNodes[1].childNodes[2].childNodes[0].childNodes[0].childNodes[0].childNodes[1].childNodes[0].style.borderRight='0px'
</script>