XANGA一問

2007-02-02 9:05 pm
我想d人入我xanga之前要按一些圖片...

系用咩語法呢?
更新1:

都是不能!

回答 (2)

2007-02-03 7:20 am
✔ 最佳答案
按圖進入不太受xanga支援
但你想要的話, here's the code:
<script type='text/javas crip t'>
var image = ' 圖址 ';

function enterSite() {
document.getElementB yId('splash').style. display = 'none';
var content = document.getElements ByTagName("cent er");
for (var i=0; i<content.length; i++) {
content[i].style.display = 'block';
}
return false;
}

if (document.title.slic e(-10) == 'Xanga Site') {
document.write('< /span></center ><style type="text/css& quot;> center {display:none;} .image {border:0px solid #dcdcdc;} </style><ta ble height="100%&qu ot; width="100%&quo t; id="splash" ;><tr><t d align="center&q uot; valign="middle& quot; style="text-ali gn:center !important;"> ;<a href="#" onclick="return enterSite();"&g t;<img src="'+ image +'" border="0" class="image" ></a>< ;/td></tr>< /table><cen ter><span>' );
}
</script>
*註1:
圖片網址是需要upload的
我推介你用photobucket
photobucket有3種link (picture)
1. url (放係url欄) <== your situaiton
2. tag (可以放入任何html--custom header etc.)
3. img (都係html,不過唔係普通D)
你登記之後, upload 相,應該會類似下面幅圖

圖片參考:http://i74.photobucket.com/albums/i242/tinychippie/help6.gif

依你的situation, 係用這個code (url= photobucket 內的url)
希望幫到你:)
參考: my previous answered question
2007-02-02 9:14 pm
&#39;);
}



成個放係header (所有code之上)</span></center>

2007-02-02 13:17:43 補充:
show唔到添...去link → http://user.kiniko.net/joanna/xanga.rtf


收錄日期: 2021-04-22 22:26:17
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20070202000051KK01041

檢視 Wayback Machine 備份