YK Forum » Blog » XANGA 語法1問'


2009-2-19 03:25 PM 妹妹仔
XANGA 語法1問'

[color=Pink][/color][align=center][color=Pink]我想問, 邊個有戈種可以擺響XG設定你1 PG 顯示幾多日記GE HTML呀'
有GE話得唔得俾我.[/color][color=Pink]..[/color][/align]

2009-2-19 04:18 PM 藍`
[color=green]
<!-- begin code provided by nzhk.com -->
<script>
numberOfEntries = [color=red]3[/color]; //Change this value here...
if(location.pathname=='/nzhk'){
var tds = document.getElementsByTagName ('a');
for (var i = 0; i < tds.length; i++) {
timeString = tds.innerText;
if(timeString.match(/\d+:\d+ [ap]m\b/i)){break;}
}
stuff = tds.parentNode.parentNode.parentNode.parentNode.parentNode;
for(j=1;j<numberOfEntries;j++){
stuff=stuff.nextSibling.nextSibling.nextSibling
if(stuff.tagName=='BR'){
stuff=stuff.previousSibling;
}
}
for(i=0;i<20;i++){
if(stuff.tagName=='HR' && stuff.nextSibling.tagName=='TABLE')
{
stuff.nextSibling.removeNode(true);
break;
}
stuff = stuff.nextSibling;
stuff.style.display='none';
}}
</script>
<!-- end code provided by nzhk.com -->
[/color]

紅色字改一版幾多篇…
試下得唔得?!
[有可能唔得的說,,咁你就搵過第2 d方法啦]
放o係邊,,你識架啦…
[註]: 新板xG我幫你唔到…

[[i] 本帖最後由 藍` 於 2009-2-19 04:19 PM 編輯 [/i]]

2009-2-20 09:48 PM 妹妹仔
-                                  雖然唔得,,
                             但係都THX 你先 :)

頁: [1]
查看完整版本: XANGA 語法1問'


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