将装饰的代码记录在此:
鼠标代码:<img src="javascript:document.body.style.cursor='url("' http://imgcache.qq.com/qzone/item/orig/6/4246.ani"')'" width="0" height="0" />
FLASH时钟代码:<embed src="http://pets-jp.net/banner/watch/images/toypoo-clover.swf" type="application/x-shockwave-flash" />
水珠代码:<EMBED style="LEFT: 250px; WIDTH: 550px; POSITION: absolute; TOP: 1px; HEIGHT: 600px" align=right src=http://www.china-holiday.com/images/flash/009.swf width=500 height=2000 type=application/octet-stream ;; quality="high" wmode="transparent">
左右悬挂图代码:
<DIV style="LEFT: 0px; POSITION: absolute; TOP: 20px" align=left><IMG src="http://bbs.5617.com/attachment/Type_gif/52_186903.gif
" align=left></DIV>
<DIV style="LEFT: 920px; POSITION: absolute; TOP: 20px" align=right><IMG src="http://bbs.5617.com/attachment/Type_gif/52_187061.gif" align=right></DIV>
精美日历代码:
<iframe border="0" frameborder="no" framespacing="0" src="http://www.xise.cn/qita/rili/cal4.htm" scrolling="no" width="164" height="174"></iframe>
底部状态栏特效代码:
<script language="javascript">
<!--
function statusMessageObject(p,d) {
this.msg = MESSAGE
this.out = " "
this.pos = POSITION
this.delay = DELAY
this.i = 0
this.reset = clearMessage
}
function clearMessage() {
this.pos = POSITION
}
var POSITION = 100
var DELAY = 5
var MESSAGE = "垅上草欢迎您的光临!请您多提意见,谢谢!"
var scroll = new statusMessageObject()
function scroller() {
for (scroll.i = 0; scroll.i < scroll.pos; scroll.i++) {
scroll.out += " "
}
if (scroll.pos >= 0)
scroll.out += scroll.msg
else scroll.out = scroll.msg.substring(-scroll.pos,scroll.msg.length)
window.status = scroll.out
scroll.out = " "
scroll.pos--
if (scroll.pos < -(scroll.msg.length)) {
scroll.reset()
}
setTimeout ('scroller()',scroll.delay)
}
function snapIn(jumpSpaces,position) {
var msg = scroll.msg
var out = ""
for (var i=0; i<position; i++)
{out += msg.charAt(i)}
for (i=1;i<jumpSpaces;i++)
{out += " "}
out += msg.charAt(position)
window.status = out
if (jumpSpaces <= 1) {
position++
if (msg.charAt(position) == ' ')
{position++ }
jumpSpaces = 100-position
} else if (jumpSpaces > 3)
{jumpSpaces *= .75}
else
{jumpSpaces--}
if (position != msg.length) {
var cmd = "snapIn(" + jumpSpaces + "," + position + ")";
scrollID = window.setTimeout(cmd,scroll.delay);
} else {
window.status=""
jumpSpaces=0
position=0
cmd = "snapIn(" + jumpSpaces + "," + position + ")";
scrollID = window.setTimeout(cmd,scroll.delay);
return false
}
return true
}
snapIn(100,0);
// -->
</script>
滚动广告代码:
<DIV style="RIGHT: 220px; POSITION: absolute; TOP: 235px">
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD>
<MARQUEE style="WIDTH: 437px; HEIGHT: 16px" scrollAmount=3><FONT color=#FF0000>欢迎做客垅上草的园子!我在这里静静地抒写自己的心情,用键盘记录值得珍藏的瞬间。当你偶尔经过此地时,请不妨驻足分享。</FONT></MARQUEE></TD></TR></TBODY></TABLE></DIV>