我想問下點先可以係網頁彈d警句出來(e.g.:歡迎來到我的網頁)!仲有其他問題!10分!

2008-10-30 5:36 am
我用既係FrontPage完整版本,我想問以下既問題!
1.點先可以係網頁彈d警句出來(e.g.:歡迎來到我的網頁)!
2.滑鼠指標變左自己個d公仔
3.滑鼠男標表住d字
4.整個左邊有dmenu係到
5.會落雪,落花,落雨
10分!希望你可以幫我!

回答 (1)

2008-10-30 11:45 pm
✔ 最佳答案
1.(想增加、可加多一個相同的語法
中文字的地方、改寫你喜歡的字句
彈出的次序、是放在版面語法內
由上而下排列
同一方塊想隔行、可用 \n\n )
語法↓
<SCRIPT>
window.alert("改寫你喜歡的字句")
</SCRIPT>
2.語法↓
<style type="text/css">
body {cursor:url(你d公仔*.ani 圖網址)}
</style>
3.不太明你在問什麼
4.不知到dmenu是什麼
5.落雪的語法↓
<script language="JavaScript">
N = 200;
Y = new Array();
X = new Array();
S = new Array();
A = new Array();
B = new Array();
M = new Array();
V = (document.layers)?1:0;
iH=(document.layers)?window.innerHeight:window.document.body.clientHeight;
iW=(document.layers)?window.innerWidth:window.document.body.clientWidth;
for (i=0; i < N; i++){
Y[i]=Math.round(Math.random()*iH);
X[i]=Math.round(Math.random()*iW);
S[i]=Math.round(Math.random()*5+2);
A[i]=0;
B[i]=Math.random()*0.1+0.1;
M[i]=Math.round(Math.random()*1+1);
}if (V){for (i = 0; i < N; i++)
{document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0 BGCOLOR='#fffff0' CLIP='0,0,"+M[i]+","+M[i]+"'></LAYER>")}
}else{document.write('<div style="position:absolute;top:0px;left:0px">');
document.write('<div style="position:relative">');
for (i = 0; i < N; i++)
{document.write('<div id="si" style="position:absolute;top:0;left:0;width:'+M[i]+';height:'+M[i]+';background:#fffff0;font-size:'+M[i]+'"></div>')}
document.write('</div></div>');}
function snow(){var H=(document.layers)?window.innerHeight:window.document.body.clientHeight;
var W=(document.layers)?window.innerWidth:window.document.body.clientWidth;
var T=(document.layers)?window.pageYOffset:document.body.scrollTop;
var L=(document.layers)?window.pageXOffset:document.body.scrollLeft;
for (i=0; i < N; i++){sy=S[i]*Math.sin(90*Math.PI/180);
sx=S[i]*Math.cos(A[i]);
Y[i]+=sy;
X[i]+=sx;
if (Y[i] > H){Y[i]=-10;
X[i]=Math.round(Math.random()*W);
M[i]=Math.round(Math.random()*1+1);
S[i]=Math.round(Math.random()*5+2);}
if (V){document.layers['sn'+i].left=X[i];document.layers['sn'+i].top=Y[i]+T}
else{si[i].style.pixelLeft=X[i];si[i].style.pixelTop=Y[i]+T}
A[i]+=B[i];}setTimeout('snow()',10);}window.onLoad=snow()
</script>

2008-11-06 19:48:40 補充:
你想要多少句,你貼多少個語法↓


2008-11-06 20:02:35 補充:
↑第一題

2008-11-06 20:29:22 補充:
第三題是否滑鼠帶住D字?是的話,你可以go→http://lthung.org/index.php?action=teach_html&teachmain=teach_5&tid=zy0130fdh
參考: 自己


收錄日期: 2021-04-15 17:24:30
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20081029000051KK01627

檢視 Wayback Machine 備份