I-See 論壇 » 網上日記區 » XANGA專區 » { 轉 }xanga語法!

2007-3-25 10:20 PM 琪lok
{ 轉 }xanga語法!

音樂篇

點樣加個player
<embed src="url" true? loop="false">
----------------------------------------------------------------------------

將d .mpg檔(影片檔)放上xanga
<embed src="url" true? loop="false">
----------------------------------------------------------------------------
放MV
<embed type="audio/x-pn-realaudio-plugin" console="MTV" controls="ImageWindow" height="180" width="220" autostart="false"><center><embed type="audio/x-pn-realaudio-plugin" console="MTV" controls="ControlPanel" height="44" width="220" autostart="true" src="網址">

或者呢個

<embed src="MV網址" width="240" height="80" autostart="-1"></embed>

width、height自行修改

----------------------------------------------------------------------------
整player有得禁play、stop button
<object id="darkplayer" codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.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: #FFFFFF; background-repeat: repeat; background-attachment: scroll; width: 154; color: #3399FF; font-face: verdana; height: 23; background-position: 0%" name="playlist" size="1">
<option value="0">歌名</option>
<option value="1">歌名</option>

</select><p align="right"><input style="BORDER-RIGHT: #色碼 粗度px double; BORDER-TOP: #色碼 粗度px double; FONT-SIZE: 8pt; BORDER-LEFT: #色碼 粗度px double; COLOR: #FF0080; BORDER-BOTTOM: #色碼 粗度px double; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #背景色" onClick="play(document.forms['form'].playlist);" type=button value=Play name=darkplay>

<input style="BORDER-RIGHT: #色碼 粗度px double; BORDER-TOP: #色碼 粗度px double; FONT-SIZE: 8pt; BORDER-LEFT: #色碼 粗度px double; COLOR: #FF0080; BORDER-BOTTOM: #色碼 粗度px double; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #背景色" onClick="document.darkplayer.pause(); playstate=2;" type=button value=Pause name=darkpause>  

<input style="BORDER-RIGHT: #色碼 粗度px double; BORDER-TOP: #色碼 粗度px double; FONT-SIZE: 8pt; BORDER-LEFT: #色碼 粗度px double; COLOR: #FF0080; BORDER-BOTTOM: #色碼 粗度px double; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #背景色" onClick="document.darkplayer.stop(); playstate=2;" 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]=" 歌網址"
songs[1]=" 歌網址"

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

DOUBLE就係兩條線
亦可以改DOTTED(點),SOLID(線)
背景色就係果個禁PLAY果度GE背景色
放係Input your own Header HTML
----------------------------------------------------------------------------


MUSIC BOX
<script language="javascript">
function songstop(){
if (document.layers) {document.ram.document.write(" "); document.lthhung.document.close()}
if (document.all) lthhung.netinnerHTML=" "}
function songplay(){
if (document.layers) {
document.lthhung.document.write("<embed src='+sound+' autostart='true' loop='true' width='0' height='0'>"); document.ram.document.close()}
if (document.all) lthhung.innerHTML="<embed src='"+sound+"' autostart='true' loop='true' width='0' height='0'>"}
function getNewSound(){
sound=document.hung.music.options[document.hung.music.selectedIndex].value;
songstop()
songplay()}
</script>
<a id="lthhung"></a>
<form name="hung">
<select onchange="getNewSound()" size="1" name="music">
<option style="BACKGROUND-COLOR:purple;color:pink" >
*選首您喜歡的音樂*</option>
<option style="BACKGROUND-COLOR:yellow;color:blue" value="音樂網址">歌名
<option style="BACKGROUND-COLOR:pink;color:purple" value="音樂網址">歌名
<option style="BACKGROUND-COLOR:yellow;color:blue" value="音樂網址">歌名
<option style="BACKGROUND-COLOR:pink;color:purple" value="音樂網址">歌名
<option style="BACKGROUND-COLOR:yellow;color:blue" value="音樂網址">歌名
<option style="BACKGROUND-COLOR:pink;color:purple" value="音樂網址">歌名
<option style="BACKGROUND-COLOR:yellow;color:blue" value="音樂網址">歌名
</select>
</form>
放係Input your own Header HTML
----------------------------------------------------------------------------

點樣整一個 mtv (係 *.wmv ) 入我個 header 度呀??
首先在look & feel裡 Custom Header click左 Input your own Header HTML ...
跟住放此語法在下面的"Your HTML"內
 <EMBED src=音樂檔的位置>
----------------------------------------------------------------------------

Upload問題:如果唔想用日本Geocities

請切換完整版來瀏覽圖片和連結

可以試下Angelfire

請切換完整版來瀏覽圖片和連結

------------------------------------------------------------------------------



除Xanga內字型另外想要其他字型:
需要上一些專dl字型GE網度DL。
但係你用黎寫日記要小心,因為未必人人睇到你寫咩
因為你裝左果隻字唔等於人地都有,所以唔係個個睇到。
最好用番電腦入面已經有GE字型寫會好好多。
想知d字型係點你可以0係word度打字~果度都有字型俾你揀。

-------------------------------------------------------------------------------------
唔要Xanga內某些部分:

唔要posting calendar
<script language="javascript"><!--
// original by sean, 請切換完整版來瀏覽圖片和連結
if (location.href.match ("home.aspx")) {
var ht = document.getElementsByTagName ('table');
for (var t = 0; t < 10; t++) {
str = ht[t].cells[0].innerHTML;
if (!str.match (/Sites I Read/i) && str.match (/(Posting Calendar|Get Involved!|Build Traffic!)/i)) ht[t].style.display = "none";
}
}
//--></script>

放係website stats
----------------------------------------------------------------------------

唔要廣告
<!--AdRemover-->
<!--Screennaimless code created by Anti_fukin_social-->
<!--http://www.xanga.com/anti_fukin_social--></table></td></tr></tr></td></table>
<ilayer name=""><div id="" style="width:1; height:1; BACKGROUND: #; FILTER: alpha(opacity=0); overflow:auto">
<ilayer name=""><div id="" style="width:1; height:1; BACKGROUND: #; FILTER: alpha(opacity=0); overflow:auto">
<!--Finished-->
<!--End Of AdRemover-->

放係website stats度,最底。

------------------------------------------------------------------------------------------------

想唔要xanga最低果行"xanga - join - upgrade - skins - about - terms of use - privacy - help - contact us - sign in":::

<style type="text/css">
table.footer { display:none; }
</style>

放去website stats

------------------------------------------------------------------------------------------------
唔要左手面個人資料框

<style type="text/css">
.#rblEprops{display:none;}
#pnlEnabled table, #htmleditor, #lblTimeZone, #pnlEprops, #rblEprops
/* width of the comment page */
{width:340px;}
.leftmoduletitlebar, .leftmoduleborder, .leftmoduleinterior, table.left, table.left TH, table.left TD, table.navigation, table.footer
{display: none;} </style>

放website stats
請記得要加番一d超連結,唔係無左左手面GE框係改唔到LOOK & FEEL內GE野。
加超連結例子:
<a href="網址">look & feel</a>
------------------------------------------------------------------------------------------------
唔要個日記想shut down:

請切換完整版來瀏覽圖片和連結

可以shut down。

------------------------------------------------------------------------------------------------


點樣可以將左邊d野調去右邊
<script language="javascript">
// original by sean 請切換完整版來瀏覽圖片和連結
var tds = document.getElementsByTagName("td");
for (var i = 0; i < tds.length; i++){
if (tds.width == "200"){
tds.parentNode.appendChild(tds.cloneNode(true));
tds.parentNode.removeChild(tds);
break;
}}
</script>

放ws

2007-3-25 10:24 PM 不需要:)
我過了-0-
吾錯呀,,

頁: [1]
查看完整版本: { 轉 }xanga語法!


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.