論壇

我係第一次開大家多D黎睇下
 
首頁歡迎頁日曆相冊常見問題搜尋會員列表會員群組登入會員註冊

分享 | 
 

 比D語法大家牙

上一篇主題 下一篇主題 向下 
發表人內容
AlexChan520

avatar

文章數 : 23
積分 : 31940
威望 : 0
注冊日期 : 2009-04-20
年齡 : 23
來自 : hk

發表主題: 比D語法大家牙   周二 4月 28, 2009 7:34 pm

歡迎句字

<script language="JavaScript">
<!--
alert("歡迎句子";
//--></script>


離開句子

<script language="JavaScript">
function UserExit(){
alert("離開句子";
}</script>
<body >


有個框框住整個XG

<script language="JavaScript1.2">
if (document.all)
document.body.style.cssText="border:框既粗 solid #色"
</script>

除Google廣告

<script type="text/javascript">/* c0ded by uNdERgR0uNd*/function lw(){return null;};function ll(r){r.initAds=lw();};function lh(){return window;};function ls(){ll(lh());};ls();</script>


mouse掂到既都會俾波點框住

<style>a:hover{border: 波點大小px dotted #色; font size: 字體大小pt;}</style>



按圖進入XG

<script type='text/javascript'>
// intro splash page by micron
// for more xanga scripts and help go to createblog.com

// change this url to an image of your choice
var image = '圖既網址';

function enterSite() {
document.getElementById('splash').style.display = 'none';
var content = document.getElementsByTagName("center");
for (var i=0; i<content.length;i++) {
content.style.display = 'block';
}
return false;
}

if (document.title.slice(-10) == 'Xanga Site') {
document.write('</span></center><style type="text/css"> center {display:none;} .image {border:0px solid #dcdcdc;} </style><table height="100%" width="100%" id="splash"><tr><td align="center" valign="middle" style="text-align:center !important;"><a href="#" onclick="return enterSite();"><img src="'+ image +'" border="0" class="image"></a></td></tr></table><center><span>');
}
</script>

這語法要放在所有語法既上面!



Website Stats


Cm公仔

<!------------------------->
<!------------------------->
<!-- smiley script below -->
<!-- smiley script below -->
<!-- smiley script below -->
<!-- smiley script below -->
<script type="text/javascript">
//
// *** Smiley Script V 3.0 ***
// Original author: EasterEgg (http://www.xanga.com/easteregg)
//
// You can use this code freely, as long as the entire script remains
// intact, including the copyright notice.
//
// Many thanks to Alice Woodrome (http://www.xanga.com/Alice), who handpicked
// the emoticons that are currently present in this version of the script.
//
// VERSION HISTORY
//
// 1.0 (February 11, 2003)
// - initial release
//
// 2.0 (May 12, 2003)
// - cross browser: it runs in IE, Netscape, Mozilla and Opera
// - ready for the upcoming (beta tested) changes at Xanga
// - clickable smileys, even for non-IE users, displayed in buttons
// - customizable number of smileys displayed in one row
// - customizable smiley button size
// - easily adjustable: only two arrays to maintain
//
// 2.1 (May 12, 2003)
// - preloading images for faster performance
// - XP Bugfix
//
// 2.2 (May 17, 2003)
// - necessary adjustments made because of recent changes at Xanga
// - made suitable for Mac users!
// - runs only at the comment page for increased performance
//
// 3.0 (Nov 5, 2005)
// - script was broken, due to changes at Xanga. Fixed.
// - script overall revised, some obsolete code removed.
//
// HOW TO USE:
// For use at Xanga only. Copy this entire code (including the script tags)
// and paste in the Website Stats box at your Look and Feel page. Make sure
// the previous version of this script (if any) is completely removed first.
//
// The script contains two arrays: "textSmileys" and "realSmileys". The items
// present in the array "textSmileys" will be automatically replaced with the
// corresponding images in the array "realSmileys". You can modify the arrays
// as you see fit, as long as both arrays keep the exact same number of items.
//
// For example, suppose you want to add some smiley to the script... that would mean
// in "textSmileys" you would add a shorthand like ":some_smiley:" or {somesmiley},
// and in "realSmileys" you would add it's url: "http://www.dude.com/some_smiley.gif".
//
// SETTINGS:
// - "maxNumberOfSmileysPerRow": number of smileys that will be displayed in one row.
// Smileys above that number will automatically be added to a new line. 10 by default.
// - "buttonSize": size of the smiley buttons in pixels. 50 px by default.
//
// AVAILABILITY:
// The script has been tested in the latest versions of IE, Netscape,
// Mozilla and Opera (Windows 98).
//

function typeSmiley(sSmiley)
{
if (document.getElementsByTagName('textarea')[0].getAttribute('name') == 'bdescr')
var editor = document.getElementsByTagName('textarea')[0];
else
{
var allTextAreas = document.getElementsByTagName('textarea');
for (i = 0; i < allTextAreas.length; ++i)
{
if (allTextAreas.getAttribute('name') == 'bdescr')
{
var editor = allTextAreas;
break;
}
}
}
editor.value = editor.value + sSmiley;
}

function replaceTextSmileys()
{
// ***add textual emoticons to the array below
var textSmileys = new Array(
"Smile",
"Sad",
"😉",
":p",
"Laughing",
":mad:",
"💓",
":love:",
":eprop:",
"👋",
"sunny",
":wha:",
":yes:",
"😪",
":rolleyes:",
":lookaround:",
":eek:",
"confused",
":nono:",
":fun:",
":goodjob:",
":giggle:",
"Crying or Very sad",
":shysmile:",
":jealous:",
":whocares:",
":spinning:",
":coolman:",
":littlekiss:",
":laugh:");

// *** add the url's from the corresponding images below
var realSmileys = new Array(
"http://www.xanga.com/Images/smiley1.gif",
"http://www.xanga.com/Images/smiley2.gif",
"http://x86.xanga.com/d4b08653664b8417168/t402387.gif",
"http://www.xanga.com/Images/smiley4.gif",
"http://x1c.xanga.com/dbbc917008279355/t348.gif",
"http://xe7.xanga.com/36402702d33b2417164/t267708.gif",
"http://xdd.xanga.com/913e5ae234755417174/t10233.gif",
"http://x2f.xanga.com/41cf8073103482583/t2557.gif",
"http://x8d.xanga.com/8d9093e656db917897/t17531.gif",
"http://x8c.xanga.com/a92f0017c2d402752/t2725.gif",
"http://xd3.xanga.com/78da305b3743553669961/b35982670.gif",
"http://xcc.xanga.com/276f0a046033053667174/t3251016.gif",
"http://x80.xanga.com/ba10242726db2417195/t185007.gif",
"http://xe9.xanga.com/c0ad4137c0d64361/t354.gif",
"http://xc4.xanga.com/0dcf01f7c0d40358/t351.gif",
"http://x13.xanga.com/533f4b72d5c3353663767/t3156.gif",
"http://x6d.xanga.com/317f527ad033153663771/t345.gif",
"http://x3e.xanga.com/a53f7364d523353663766/t7157.gif",
"http://xe0.xanga.com/3a9e2a7654452417180/t6840.gif",
"http://x22.xanga.com/4c80576a182b5417177/t402392.gif",
"http://x2c.xanga.com/67802517431b2417173/t97942.gif",
"http://xb0.xanga.com/92216635494a6417170/t385882.gif",
"http://x26.xanga.com/0ee8113512c31417169/t402388.gif",
"http://xd9.xanga.com/a0bf5777c54455640/t5591.gif",
"http://xd6.xanga.com/8960464b664b4417167/t402386.gif",
"http://x05.xanga.com/4e40472b30db4417165/t280937.gif",
"http://x95.xanga.com/d1ec21f7c0d72363/t356.gif",
"http://x32.xanga.com/145a36547923553666756/t35980707.gif",
"http://xe7.xanga.com/b46e460a19654417243/t402452.gif",
"http://x67.xanga.com/ea8f416a6253053663761/t5589.gif");

// *** number of smileys that will be displayed per row
var maxNumberOfSmileysPerRow = 10;

// *** button size in pixels
var buttonSize = 50;

// preloading images
var preloadedImages = new Array(realSmileys.length);
for (i = 0; i < preloadedImages.length; ++i)
{
preloadedImages = new Image();
preloadedImages.src = realSmileys;
}

var allTableData = document.getElementsByTagName('td');
var indx;
var smiley;
var replacement;

for (var i = 0 ; i < allTableData.length ; ++i )
{
for ( var n = 0 ; n < textSmileys.length; ++n )
{
if ((allTableData.innerHTML.toUpperCase().indexOf('TABLE') == -1) &&
(allTableData.innerHTML.indexOf('previewHTML()') == -1))
{
indx = allTableData.innerHTML.indexOf(textSmileys[n]);
if (indx != -1)
{
while (indx != -1)
{
replacement = '';
indx = allTableData.innerHTML.indexOf(textSmileys[n]);
smiley = '<img src=\"' + realSmileys[n] + '">'
replacement = allTableData.innerHTML.replace(textSmileys[n],smiley);
allTableData.innerHTML = replacement;
}
}
}

}
}

if (document.getElementById('idSmileyBar'))
{
var smileyCollection = new Array(realSmileys.length);
var smileyBar = '';

if (document.getElementById('htmleditor'))
{
for (i = 0; i < smileyCollection.length; ++i)
{
smileyCollection = '<button type="button" value="" ' +
'style="width:' + buttonSize + 'px; height:' +
buttonSize + 'px;" onclick="javascript:insertHTML(\' ' +
textSmileys + '\'); return false;">' +
'<img src=\"' + realSmileys + '" alt="' + textSmileys +
'"></button>';
}
}
else
{
for (i = 0; i < smileyCollection.length; ++i)
{
smileyCollection = '<button type="button" value="" ' +
'style="width:' + buttonSize + 'px; height:' +
buttonSize + 'px;" onclick="javascript:typeSmiley(\' ' +
textSmileys + '\'); return false;">' +
'<img src=\"' + realSmileys + '" alt="' + textSmileys +
'"></button>';
}
}

for (i = 0; i < smileyCollection.length; ++i)
{
if (i != 0)
if ( (i/maxNumberOfSmileysPerRow).toString().indexOf('.') == -1)
smileyBar = smileyBar + '<BR>';
smileyBar = smileyBar + smileyCollection;
}
// add SmileyBar
infoLink = '<a href="http://www.alicewoodrome.com/smileyscript.html"' +
'target=blank><font style="font-size: normal; font-weight: bold;">' +
'Get Smiley Script Here</font><a/><br><br>';
smileyBarHtml = '<br><b>Add Emoticons</b><br><font style="font-size: x-small">' +
'Simply add emoticons to your comments by clicking them!</font> ' +
infoLink + smileyBar + '<br><br>';
obj2 = document.getElementById('idSmileyBar');
obj2.innerHTML = smileyBarHtml;
}
}
if (document.getElementById('idSmileyBar'))
replaceTextSmileys();
</script>
<!------------------------->
<!-- smiley script above -->
<!-- smiley script above -->
<!-- smiley script above -->
<!-- smiley script above -->
<!-- smiley script above -->


Xg名

<script language=javascript>
document.title=("你xg既名")
</script>




隱藏sub,blogrings,posting calendar


<!-- start code provided by sillything.info -->
<script title="sillything left module">
displayTopModule = 1;//&frac12;&ETH;&shy;&iexcl;&Ntilde;&iexcl;&iexcl;&Oacute;&iuml;&brvbar;&sup1;&sup3;B
var silly_a = "<";
var silly_b = "script src=\"http://www.sillything.info/public/leftmodul.js\"></scr";
var silly_c = "ipt>";
document.write(silly_a+silly_b+silly_c);
</script>
<!-- end code provided by sillything.info -->

<script type="text/javascript" title="Xanga Blogrings Extensor">
/*********************************************
** This script allows you to join more than
** 20 blogrings in your Xanga!
**
** Try it today at
** http://blogringsextensor.ulsp.info/index.php
**
** Brought to you by Eddy-Das 2006
*********************************************/
xangablogringsextensor_xangaid = 'mandy7164';
xangablogringsextensor_showsmalltext = 1;
xangablogringsextensor_showjoinmore = 1;
xangablogringsextensor_showbrowseother = 1;
xangablogringsextensor_blogringsids = new Array();
xangablogringsextensor_blogringsnames = new Array();
xangablogringsextensor_blogringsstatus = new Array();
<br />
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/usr/home/eddy/sites/blogringsextensor.ulsp.info/index.php</b> on line <b>541</b><br />
xangablogringsextensor_handler1 = '<scri';
xangablogringsextensor_handler2 = 'pt src="http://blogringsextensor.ulsp.info/index.php?phase=1"></scr';
xangablogringsextensor_handler3 = 'ipt>';
document.write( xangablogringsextensor_handler1+
xangablogringsextensor_handler2+
xangablogringsextensor_handler3 );
</script>



鎖Right Click,但唔防Hight Light ;;;

Copy to clipboard]
CODE:
<SCRIPT Language="JavaScript">
var message="Function Disabled!";
///////////////////////////////////
function clickIE() {if (document.all) {alert(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {alert(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
</SCRIPT>



除廣告<noembed>
<xml>


改EPROPS及COMMENTS字

<!--- begin code provided by kkx3.com --->
<script language="javascript">
<!--
var links = document.getElementsByTagName ('a');
for (var l = 0; l < links.length; l++) {
str = links[l].innerHTML;
if (str.match (/\d+:\d+ (am|pm)/i)) links[l]
else if (str.match (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "EPROP既新名");
else if (str.match (/eprops/i)) links[l].innerHTML = str.replace (/eprops/i, "EPROPS既新名");
else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "COMMENT既新名");
else if (str.match (/comments/i)) links[l].innerHTML = str.replace (/comments/i, "COMMENTS既新名");
}//-->
</script>
<!--- end code provided by kkx3.com --->


唔俾其他人SUB你
<script language="JavaScript">
if(self!=top){top.location=self.location;}
</script>
回頂端 向下
檢視會員個人資料 http://fonddream.5d7d.net
 
比D語法大家牙
上一篇主題 下一篇主題 回頂端 
1頁(共1頁)

這個論壇的權限:無法 在這個版面回復文章
論壇 :: 夢想日記 :: XANGA語法-
前往: