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

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




 發新回覆
發新主題 發新投票
標題: [轉貼]qooza的語法
載入中 ...
fy2-020418
初級會員
Rank: 1


會員編號 410488
精華 0
積分 3531
帖子 274
威望 0 點
I-See幣 40415 錢
GAME幣 125 個
MSN宣傳 569 次
性別  男
配偶 未婚
閱讀權限 60
註冊 2008-3-24
註冊天數 6117
狀態 離線
  閱讀全部
發表於 2009-1-2 06:26 PM  資料  短消息  加為好友 
[轉貼]qooza的語法

1.Windows Media Player 播放器
<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject" width=350  height=280 align="middle" standby="Loading Microsoft?Windows?Media Player components..." id="MediaPlayer1">
<param name="transparentAtStart" value="True">
<param name="transparentAtStop" value="True">
<param name="AnimationAtStart" value="Ture">
<param name="AutoStart" value="True">
<param name="AutoRewind" value="true">
<param name="DisplaySize" value="0">
<param name="AutoSize" value="false">
<param name="ShowDisplay" value="false">
<param name="ShowStatusBar" value="ture">
<param name="ShowControls" value="ture">
<param name="FileName" value="網址位置">
<param name="Volume" value="0">
</object>
2.Real及mp3播放器
<embed src="網址" width="240" height="80" autostart="0"></embed>
3.背景音樂(這語法不會顯示播放器出來)
<EMBED src="音樂網址" width="0" height="0" autostart="true" loop="-1">
4.歡迎方塊
<SCRIPT>
window.alert("改寫你喜歡的字句")
</SCRIPT>
5.告別視窗
<script language="JavaScript">
function UserExit(){
alert("拜拜\n\n你條尾");
}</script>
<body  >
6.飄雪效果
<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=Math.round(Math.random()*iH);
X=Math.round(Math.random()*iW);
S=Math.round(Math.random()*5+2);
A=0;
B=Math.random()*0.1+0.1;
M=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+","+M+"'></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+';height:'+M+';background:#fffff0;font-size:'+M+'"></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*Math.sin(90*Math.PI/180);
sx=S*Math.cos(A);
Y+=sy;
X+=sx;
if (Y > H){Y=-10;
X=Math.round(Math.random()*W);
M=Math.round(Math.random()*1+1);
S=Math.round(Math.random()*5+2);}
if (V){document.layers['sn'+i].left=X;document.layers['sn'+i].top=Y+T}
else{si.style.pixelLeft=X;si.style.pixelTop=Y+T}
A+=B;}setTimeout('snow()',10);}window.onLoad=snow()
</script>
7.小型地震
<script>
function shake(n) {
if (self.moveBy){
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);
}} } }shake(5);</script>
8.定時轉換背景圖
<SCRIPT Language="JavaScript">
var backgroundimage=new Array("圖片網址","圖片網址","圖片網址","圖片網址");
var swapspeed=10
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>
9.背景流星
<SCRIPT LANGUAGE="JavaScript">
<!-- Beginning
var dl = 15;  // 流星之間距離
var size = 5; // 流星大小
var f; // 流星顏色
var yourstar = "★"; // 流星形狀 可用其它圖案或文字代替
var meteorNo = 5; // 流星移動速度 數字越大越慢
var sizeStep = 2; // 流星移動角度
var move = true;
var meteorRate = 100; // 每次出現流星時間 數字越大越慢
var useImg = 0;
starname=(document.all?3:(document.getElementById?1:(document.layers?2:0)));
function getWindowSize() {
if(starname == 1 || starname == 2) {
win_width = self.innerWidth;
win_height = self.innerHeight;
}
if (starname == 3) {
win_width = document.body.clientWidth;
win_height = document.body.clientHeight;
}
}
function getScrollPosX() {
if (starname == 1) return scrollX;
if (starname == 2) return pageXOffset;
if (starname == 3) return document.body.scrollLeft
}
function getScrollPosY() {
if (starname == 1) return scrollY;
if (starname == 2) return pageYOffset;
if (starname == 3) return document.body.scrollTop;
}
function showLayer(layerName){
if (starname == 1) document.getElementById(layerName).style.visibility = "visible";
if (starname == 2) document.layers[layerName].visibility = "show";
if (starname == 3) document.all(layerName).style.visibility = "visible";
}
function hideLayer(layerName){
if (starname == 1) document.getElementById(layerName).style.visibility = "hidden";
if (starname == 2) document.layers[layerName].visibility = "hide";
if (starname == 3) document.all(layerName).style.visibility = "hidden";
}
function moveLayerTo(layerName, x, y){
if (starname == 1) {
document.getElementById(layerName).style.left = x;
document.getElementById(layerName).style.top = y;
}
if (starname == 2) {
document.layers[layerName].left = x;
document.layers[layerName].top = y;
}
if (starname == 3) {
document.all(layerName).style.pixelLeft = x;
document.all(layerName).style.pixelTop = y;
}
}
var sx = new Array(), sy = new Array(), sclW = 0, sclH = 0;
function initMeteor() {
if (starname && meteorFlag == 0) {
var ran = Math.random()*meteorRate;
if (ran < 10) {
getWindowSize();
if (move) sclW = getScrollPosX(), sclH = getScrollPosY();
sX = Math.floor(Math.random()*(win_width-meteorMaxSize-5)) + sclW;
sY = Math.floor(Math.random()*(win_height-meteorMaxSize-5)) + sclH;
eX = Math.floor(Math.random()*(win_width-meteorMaxSize-5)) + sclW;
eY = Math.floor(Math.random()*(win_height-meteorMaxSize-5)) + sclH;
for (var m=0; m<meteorNo; m++) {
moveLayerTo("meteor"+m, sX, sY);
sx[m] = sX; sy[m] = sY;
}
moveMeteor();
}
}
setTimeout("initMeteor()", 100);
}
var meteorFlag = 0;
function moveMeteor() {
var l, xp, yp, stopflag = false;
for (var m=0; m<meteorNo; m++) {
if (meteorFlag >= m) {
l = Math.abs(Math.sqrt(Math.pow((eX - sx[m]),2) + Math.pow((eY - sy[m]),2)));
if (l > dl) {
xp = dl / l * (eX - sx[m]) + sx[m];
if (eX - sx[m] == 0) {
if (sy[m] < eY) yp = sy[m] + dl;
else yp = sy[m] - dl;
} else yp = (sy[m] - eY) / (sx[m] - eX) * xp + sy[m] - (sy[m] - eY) / (sx[m] - eX) * sx[m];
sx[m] = xp; sy[m] = yp;
showLayer("meteor"+m);
moveLayerTo("meteor"+m, sx[m], sy[m]);
} else {
hideLayer("meteor"+m);
if (m == meteorNo-1) stopflag = true;
}
}
}
if (!stopflag) { meteorFlag += 1; tim = setTimeout("moveMeteor()", 10); }
else { clearTimeout(tim); meteorFlag = 0; }
}
// End -->
</script>
<SCRIPT LANGUAGE="JavaScript">
<!-- Beginning
var starLay = '<SPAN id="gs" style="position:absolute; visibility:hidden;"></SPAN>';
for (i= meteorNo-1; i>=0; i--)
{size += sizeStep; meteorMaxSize = size;
if (starname == 1 || starname == 3) {
if (useImg == 0) starLay += '<SPAN id="meteor' + i +
'" style="position:absolute; width:' + size + 'px; font-size:' + size +
'px; color:' + fontcolor + '; z-index:8; visibility:hidden;">' + yourstar + '</SPAN>';
}
if (starname == 2) {
if (size == 1) size = 2;
if (useImg == 0) starLay += '<LAYER name="meteor'+ i +
'" z-index="10" visibility="hide"><FONT color="' + fontcolor + '" style="font-size:'
+ size + 'px;">' + yourstar + '</FONT></LAYER>';
}
}
document.writeln(starLay);
initMeteor();
// End -->
</SCRIPT>
10.背景向下滑
<script language="VBScript">
dim i, pic
i = -1
pic = document.body.sourceIndex
sub scrollBG
i=i+1
Document.all(pic).style.BackgroundPosition= "0 " & i
id=SetTimeOut("scrollBG", 50, "VBScript")end sub
scrollBG</script>
11.板面糢糊
<style>
body{filter:Blur(Direction=45,Strength=5)}
</style>
12.板面負片
<style>
body{Filter:Invert}
</style>
13.板面x光效果
<style>
body{Filter:Xray}
</style>
14.板面灰階
<style>
body{filter:gray}
</style>
15.語法閃字
<img src="" width="0" height="0" border="0" ><font id="font" size=5 face=標楷體>打你想打O既字</font>
16.跑馬燈訊息公告
<style type="text/css">
.msgfont{width:360px; background-color: #888888; color: ffffff; font-family: 新細明體; font-size: 13px; text-align:left;}
</style>
<script language=JavaScript1.2>
<!--
var line=new Array()
line[1]="【雄之網頁】給所有人 的話: 本站提供留言板語法"
line[2]="【別問我是誰】給大家 的話: 本站提供教學及素材"
line[3]="別問我是誰_雄之網頁: 本站提供少量程式下載"
line[4]="雄之網頁_別問我是誰: 本站開網日期為:2002年 5月 13日"
line[5]="【別問我是誰】給大家 的話:本站永久網址為 遊客無法瀏覽此圖片或下載點,請先註冊或登入會員。"
var longestmessage=1
for (i=1;i<line.length;i++){
if (line.length>line[longestmessage].length)
longestmessage=i}
var tscroller_width=line[longestmessage].length*2
lines=line.length-1
if (document.all||document.getElementById){
document.write('<span id="banner" class="msgfont"></span>')
}
temp=''
nextchar=-1;
nextline=1;
function animate(){
if (temp==line[nextline] & temp.length==line[nextline].length & nextline!=lines){
nextline++;
nextchar=-1;
banner.innerHTML=temp;
temp='';
setTimeout('nextstep()',3000)}
else if (nextline==lines & temp==line[nextline] & temp.length==line[nextline].length){
nextline=1;
nextchar=-1;
banner.innerHTML=temp;
temp='';
setTimeout('nextstep()',3000)}
else{nextstep()}}
function nextstep(){
nextchar++;
temp+=line[nextline].charAt(nextchar);
banner.innerHTML=temp
setTimeout("animate()",100)}
if (document.all||document.getElementById)
window.onload=animate
// -->
</script>
17.走字語法
<SCRIPT Language="JavaScript">
if(navigator.appVersion.charAt(0)>=4 && (navigator.appVersion).indexOf("MSIE")!=-1) isIE4 = true;
else isIE4 = false;
function textAnima_color2(id,n) {
el = document.all.item(id,n);
charColor = el.getAttribute("SET_COLOR");
cur = el.getAttribute("CURRENT_CHAR");
if(cur=="") cur = 0;
getHTML= el.getAttribute("SET_TEXT");
if(getHTML == "") {
getHTML = el.innerText;
el.setAttribute("SET_TEXT",getHTML);}
bef_t = getHTML.substring(0,cur); ;
aft_t = getHTML.substring(eval(cur)+1,getHTML.length);
cur_t = getHTML.substr(cur,1);
cur_t = cur_t.fontcolor(charColor);
el.innerHTML = bef_t + cur_t + aft_t;cur++;
if(cur > getHTML.length) cur=0;
el.setAttribute("CURRENT_CHAR",cur);
getT = el.getAttribute("SET_TIME");
if(getT=="") getT = 100;
setTimeout("textAnima_color2('"+id+"',"+n+")",eval(getT));}
if(isIE4) {window.onload = init;}
function init() {
id = "ANIMA_TEXT_COLOR2";
len = document.all.item(id).length;
if(!len) len=1;
for(var i=0;i<len;i++) {
textAnima_color2(id,i);}}
</SCRIPT>
<span style="FONT-SIZE:20pt;COLOR:blue;FONT-FAMILY:標楷體;Times New Roman" id="ANIMA_TEXT_COLOR2" SET_COLOR="red" SET_TIME="80" CURRENT_CHAR SET_TEXT>歡迎光臨*雄之網頁</span>
18.單色邊框
<style>
body{
border-left: 10px dotted pink;
border-right: 10px dotted pink;
border-top: 10px dotted pink;
border-bottom: 10px dotted pink;
}</style>
19.板邊最外框邊色(雙色)
<style>
body{
border-left: 10px dotted purple;
border-right: 10px dotted purple;
border-top: 10px dotted pink;
border-bottom: 10px dotted pink;
}</style>

20.停留秒數
<SPAN STYLE='WIDTH:400;FONT-SIZE:12pt;COLOR:blue;filter:Glow(Color=white,Strength=10)'>
<form name="d">您已經停留了 <input style="font-size:10pt" type="text" size="6" name="d2"> 秒</form></font>
<SCRIPT Language="JavaScript">
var milisec=0
var seconds=0
document.d.d2.value='0'
function display(){
if (milisec>=9){
milisec=0
seconds+=1}else
milisec+=1
document.d.d2.value=seconds+"."+milisec
setTimeout("display()",100)
}display()</SCRIPT></SPAN>

[ 本帖最後由 fy2-020418 於 2009-1-18 05:07 PM 編輯 ]


本帖最近評分記錄
威風琳琳:D   2009-1-30 12:28 AM  代幣  +5   share:D
I-See Forum @ All rights reserved.
頂部
fy2-020418
初級會員
Rank: 1


會員編號 410488
精華 0
積分 3531
帖子 274
威望 0 點
I-See幣 40415 錢
GAME幣 125 個
MSN宣傳 569 次
性別  男
配偶 未婚
閱讀權限 60
註冊 2008-3-24
註冊天數 6117
狀態 離線
  閱讀全部
發表於 2009-1-18 05:04 PM  資料  短消息  加為好友 
回復 #3 YI! 的帖子

全部呀= =

I-See Forum @ All rights reserved.
頂部
載入中 ...
 發新回覆
發新主題 發新投票


載入中 ...


當前時區 GMT+8, 現在時間是 2024-12-23 12:07 AM

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

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