論壇首頁 註冊 | 登入 | 會員 | 搜尋 | 統計 | 說明   RSS 訂閱全部版區     
   歡迎來到 YK Forum! 自由SAY | 開口中 | 祈願池 | 宣傳中心 | Flash遊戲 | 寵物中心 | 虛擬形像 | 勳章中心   



 
 
標題: XG語法大總匯*v*
arwg (呀wing`)
普通會員
Rank: 5Rank: 5Rank: 5Rank: 5Rank: 5


UID 12198
積分 3802
經驗 1059
YK幣 1381
帖子 1099
精華 0
註冊 2008-5-25
用戶註冊天數 5816
用戶失蹤天數 4015
來自 媽子個肚._.`
性別 女仔
狀態 離線
  正常字體
發表於 2009-10-13 09:28 PM  資料 文集 短消息 
XG語法大總匯*v*

1.音樂盒
<object id="darkplayer" codeBase="http://activex.microsoft.com/act ... p2inf.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: bg顏色; background-repeat: repeat; background-attachment: scroll; width: 195; color: 字顏色; font-face: verdana; height: 23; background-position: 0%" name="playlist" size="1">
<option value="0">歌名1</option>
<option value="1">歌名2</option>
<option value="2">歌名3</option>
<option value="3">歌名4</option>
<option value="4">歌名5</option>
<option value="5">歌名6</option>

</select><p align="按鈕位置e.g.right"><input style="BORDER-RIGHT: #F7C7DF 3px double; BORDER-TOP: #F7C7DF 3px double; FONT-SIZE: 8pt; BORDER-LEFT: #F7C7DF 3px double; COLOR: #FF0080; BORDER-BOTTOM: #F7C7DF 3px double; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"  type=button value=Play name=darkplay>

<input style="BORDER-RIGHT: #F7C7DF 3px double; BORDER-TOP: #F7C7DF 3px double; FONT-SIZE: 8pt; BORDER-LEFT: #F7C7DF 3px double; COLOR: #FF0080; BORDER-BOTTOM: #F7C7DF 3px double; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"  type=button value=Pause name=darkpause>  

<input style="BORDER-RIGHT: #F7C7DF 3px double; BORDER-TOP: #F7C7DF 3px double; FONT-SIZE: 8pt; BORDER-LEFT: #F7C7DF 3px double; COLOR: #FF0080; BORDER-BOTTOM: #F7C7DF 3px double; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"  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]="歌1既網址"
songs[1]="歌2既網址"
songs[2]="歌3既網址"
songs[3]="歌4既網址"
songs[4]="歌5既網址"
songs[5]="歌6既網址"

if (shuffle == 1) {
var randsg = Math.floor(Math.random()*songs.length);
document.darkplayer.FileName = songs[randsg];
document.darkplayer.scr = songs[randsg];
document.forms[&#39;form&#39;].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>

_______________________________________________

2.框框入面既走馬燈
<table>
<TR>
<td>
<fieldset>
<marquee direction="left" height=35 width=50 scrollamount="2"><font
color=#000000
family="georgia" size=3>你想打既字</font>
</marquee>
</fieldset>
</td>
<td>
<fieldset>
<marquee direction="down" height=35 width=50 scrollamount="2"><font
color=#000000
family="georgia" size=3>你想打既字</font>
</marquee>
</fieldset>
</td>
<td>
<fieldset>
<marquee direction="right" height=35 width=50 scrollamount="2"><font
color=#000000
family="georgia" size=3>你想打既字</font>
</marquee>
</fieldset>
</td>
</tr></table>

________________________________________

3.更改游標
<STYLE>BODY {
       CURSOR: url(&#39;游標網址&#39;);
}
A {
       CURSOR: url(&#39;游標網址&#39;);
}
</STYLE>

__________________________________________

4.張日期D字整大隻D
<style type="text/css">
div.blogheader, .caption {
/* EDIT THE DATES */
font-family : &#39;字形&#39; ;
font-size : 字ge大小;
text-align: 置中/左/右;
}
</style>
____________________________________________

5.張圖片由淡化變清晰
<img src="圖片網址" border="0"   style="filter: alpha(opacity=50)">

_____________________________________________
6.可以張profile整寬d
<style type="text/css">
table.left { border: 粗px dashed #色; width:你想要既闊px}
</style>

_______________________________________________

7.係圖加有框+透明
<style type="text/css">
table.blogbody {
background-color: #顏色;
style;border:闊度px double; border-color:#顏色;
filter:Alpha(opacity=50);
}
</style>
_______________________________________________-
8.成版乜都透明
<STYLE>
table{filter:Alpha(Opacity=60)}
</STYLE>
______________________________________

9.鎖右鍵和鍵盤
<SCRIPT language=JavaScript>
<!-- begin
document.onmousedown=click;
document.onkeydown=click;
if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=click;
if (document.layers) window.captureEvents(Event.KEYDOWN); window.onkeydown=click;
function click(e){
if (navigator.appName == &#39;Netscape&#39;){
if (e.which != 1){
alert("是不是連鍵盤都無法使用啦?");
return false;}}
if (navigator.appName == "Microsoft Internet Explorer"){
if (event.button != 1){
alert("是不是連鍵盤都無法使用啦?");
return false;}}}
// end -->
</SCRIPT>
__________________________________________
10.日期變中文
<!-- begin code provided by createblog.com -->

<script type="text/javascript">
//
// ?003 EasterEgg, http://www.xanga.com/easteregg
// Changes date text
// For use at Xanga only.
//
// Info at http://dorkette.net
//

function replaceWordsDates()
{
   // ***add the Months or Days you wish to replace below
   var oldWordsDates = new Array(
       "January",
       "February",
       "March",
       "April",
       "May",
       "June",
       "July",
       "August",
       "September",
       "October",
       "November",
       "December",
       "Monday,",
       "Tuesday,",
       "Wednesday,",
       "Thursday,",
       "Friday,",
       "Saturday,",
       "Sunday,",
       "2002",
       "2003",
       "2004",
       "2005",
       "2006",
       "2007",
       "2008",
       "01, ",
       "02, ",
       "03, ",
       "04, ",
       "05, ",
       "06, ",
       "07, ",
       "08, ",
       "09, ",
       "10, ",
       "11, ",
       "12, ",
       "13, ",
       "14, ",
       "15, ",
       "16, ",
       "17, ",
       "18, ",
       "19, ",
       "20, ",
       "21, ",
       "22, ",
       "23, ",
       "24, ",
       "25, ",
       "26, ",
       "27, ",
       "28, ",
       "29, ",
       "30, ",
       "31, "
       );

   // *** add the replacing Months or Days below
   var newWordsDates = new Array(
       "x JANUARY",
       "x FEBRUARY",
       "x MARCH",
       "x APRIL",
       "x MAY",
       "x 6",
       "x JULY",
       "x AUGUST",
       "x SEPTEMBER",
       "x OCTOBER",
       "x NOVEMBER",
       "x DECEMBER",
       "_MONDAY ",
       "_TUESDAY ",
       "_WEDNESDAY ",
       "_THURSDAY ",
       "_FRIDAY ",
       "_SATURDAY ",
       "_SUNDAY ",
       " 2002",
       " 2003",
       " 2004",
       " 2005",
       " 2006",
       " 2007",
       " 2008",
       "o1, ",
       "o2, ",
       "o3, ",
       "o4, ",
       "o5, ",
       "o6, ",
       "o7, ",
       "o8, ",
       "o9, ",
       "1o, ",
       "11, ",
       "12, ",
       "13, ",
       "14, ",
       "15, ",
       "16, ",
       "17, ",
       "18, ",
       "19, ",
       "2o, ",
       "21, ",
       "22, ",
       "23, ",
       "24, ",
       "25, ",
       "26, ",
       "27, ",
       "28, ",
       "29, ",
       "3o, ",
       "31, "

       );

   allDivData = document.getElementsByTagName(&#39;div&#39;);
      
   var collections = new Array(allDivData);
   
   for (var k = 0; k < collections.length; ++k )
   {
       for (var i = 0; i < collections[k].length; ++i )
       {   
           if (collections[k].innerHTML.indexOf(&#39;DIV&#39;) == -1)
           {
               for ( var n = 0; n < oldWordsDates.length; ++n )
               {
                   var indx = collections[k].innerHTML.indexOf(oldWordsDates[n])
                   while (indx != -1)
                   {   
                       var replacement = &#39;&#39;;
                       indx = collections[k].innerHTML.indexOf(oldWordsDates[n]);
                       replacement = collections[k].innerHTML.replace(oldWordsDates[n], newWordsDates[n]);
                       collections[k].innerHTML = replacement;
                       break;                    
                   }
               }
           }
       }
   }
}
replaceWordsDates();
</script>
<!-- end code provided by createblog.com -->




ヾヾ★放下過去`忘掉曾經`擁抱將來`░░
{♥}{♥}對!我花心`但你比我更加花心`!|
YK Forum © All rights reserved. www.eyankit.com 贊助網站 頂部
自由SAY 仁傑:歡迎來到 YK Forum :D
 



當前時區 GMT+8, 現在時間是 2024-4-28 09:39 PM
Copyright © 2006- YK Forum All rights reserved.

Powered by Discuz!    在線率統計 Powered by Discuz! © 2001- Comsenz Inc. Designed by YK Forum.
Processed in 0.023387 second(s), 7 queries, Gzip enabled.

[Clear cookies] Contact us 聯繫我們 - Archiver 文字版 - WAP 手機版