hi kids, adults, assholes, & sweethearts. this is an old website which i find very funny now, honestly i'm quite embarrassed by it. i don't check it anymore (also i kind of wanna delete it) so if any of you want me to keep this up, give me a comment & yell at me. if you actually wanna get to know what happened to me, get a life you loser.
Remember almost every code here goes in your website stats or custsom header which are located inside of Look & Feel
Also remember before using ANY of these html codes inside of one of your post remember to check Edit HTML and put it there.
Music Playlist & Control
<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> </p> <form name="form"> <p style="text-align: center"> <select style="FONT-SIZE: 8pt; BACKGROUND:#000000; WIDTH: 350; COLOR: #FFFFFF; font-face: verdana; height:174" name="playlist" size="1"> <option value="0">Name Of Song #0</option> <option value="1">Name Of Song #1</option> <option value="2">Name Of Song #2</option> <option value="3">Name Of Song #3</option> </select><br> <input TYPE="BUTTON" NAME="darkplay" VALUE="play" OnClick="play(document.forms['form'].playlist);"> <input TYPE="BUTTON" NAME="darkpause" VALUE="pause" OnClick="document.darkplayer.pause(); playstate=2;"> <input TYPE="BUTTON" NAME="darkstop" VALUE="stop" OnClick="document.darkplayer.stop(); playstate=2;"></p> </form> <script language="JavaScript"> <!-- var playstate = 1; shuffle = 1; // set to 0 to always play first song in list // set to 1 to randomly choose the first song to play // www.xanga.com/Shayu // unlimited songs, just copy and paste the song line and change the number songs=new Array(); songs[0]="Name Of URL Of Song #0"; songs[1]="Name Of URL Of Song #1"; songs[2]="Name Of URL Of Song #2"; songs[3]="Name Of URL Of Song #3"; 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>
This is what you all wanted just make sure none of you delete anything on it and try not to IM me if you have a question please.
Replace Words
<script type="text/javascript"> function replaceWords() { // ***add the words or fragments you wish to replace below var oldWords = new Array(
"Word That Wants To Be Replaced", "Word That Wants To Be Replaced", "Word That Wants To Be Replaced",
"Word That Wants To Be Replaced");
// *** add the replacing words or fragments below var newWords = new Array(
"New Word", "New Word", "New Word", "New Word");
allTableData = document.getElementsByTagName('td'); allTableHeaders = document.getElementsByTagName('th'); var collections = new Array(allTableData,allTableHeaders); for (var k = 0; k < collections.length; ++k ) { for (var i = 0; i < collections[k].length; ++i ) { if (collections[k][i].innerHTML.indexOf('TABLE') == -1) { for ( var n = 0; n < oldWords.length; ++n ) { var indx = collections[k][i].innerHTML.indexOf(oldWords[n]) while (indx != -1) { var replacement = ''; indx = collections[k][i].innerHTML.indexOf(oldWords[n]); replacement = collections[k][i].innerHTML.replace(oldWords[n], newWords[n]); if(navigator.userAgent.toLowerCase().indexOf('compatible')>0){collections[k [i].innerHTML=replacement;//please use supported code at http://help.xanga.com/codes.htm } break; } } } } } } replaceWords(); </script>
Blinking Boxes
<center><script language=JavaScript> var blinkColors = new Array("#666666","white","black"); var blinkBorderColor = "#222222" var blinkBorderWidth = 1; var blinkRows = 1; var blinkCols = 60; var blinkWidth = 700; var blinkRowHeight = 10; var blinkRate = 8; st=setTimeout; document.write("<table id='blinkbox' width='" + blinkWidth +"' border = 0 cellspacing='" + blinkBorderWidth + "' cellpadding=0 bgcolor='" + blinkBorderColor +"'>"); for (r = 0; r < blinkRows; r++){ document.write("<TR>"); for (c = 0; c < blinkCols; c++){ document.write("<TD height='" + blinkRowHeight + "'></TD>"); } document.write("</TR>"); } document.write("</table>"); // ... and this makes it blink function blinkIt() { changecell = Math.floor(Math.random() * (blinkCols * blinkRows)); changecolor = Math.floor(Math.random() * blinkColors.length); bb = document.getElementById("blinkbox"); bbtd = bb.getElementsByTagName("td"); bbtd[changecell].style.backgroundColor = blinkColors[changecolor]; st('blinkIt()', blinkRate); } blinkIt(); //--> </script>
Insert Banner
<IMG src=" Put URL For Picture Here" Align="center">
Change EPROP picture
<script language=javascript> var oldsmileys = new Array('http://www.xanga.com/Images/eProp.gif','http://www.xanga.com/Images/noProp.gif'); var newsmileys = new Array(' Put URL For Picture Here For 2 ',' Put URL For Picture Here '); for (var i = 0; i < document.images.length; i++) { for (var s = 0; s < oldsmileys.length; s++){ if (document.images[i].src == oldsmileys[s]){ newsmiley = document.createElement('img'); newsmiley.src = newsmileys[s]; document.images[i].parentNode.replaceChild(newsmiley, document.images[i]); break; } } } </script>
No Right Click With Neverending Pop-ups
<script language="javascript"> document.onmousedown=click var times=0 var times2=10 function click() { if ((event.button==2) || (event.button==3)) { if (times>=1) { bye() } alert(" First Message Here "); times++ } } function bye() { alert(" Second Message Here "); bye() } </script>
Black & White Picture
<IMG src="Put URL For Picture Here" id="GRAY1" border=0 style="align:center;filter:Gray">
Transparent Picture
<IMG src="Put URL For Picture Here" style="filter:alpha(opacity=50)">
<script type="text/javascript"> // // Copyright ?004 by EasterEgg. // // For use at Xanga only. // // This script allows you to use any online image as a profile pic, // regardless of it's size. You're no longer confined to 160 x 160 pixels // or the maximum width that the left sidebar allows, since this script // will also adjust the width of the left sidebar as you see fit. // Random pics will be chosen if you have added more than one profile pic // to the array "newProfileImages" below. // // This script is freeware and can be freely used as long as the copyright // notice and the comments in this script remains intact. It is provided // 'as is' without guarantees of any kind. // // The script doesn't work for Mac users... //
// ****************** BEGINNING OF WHAT YOU CAN EDIT ********************
// ***** Set the width of the image(s). Note that this has no effect in Netscape. maxWidth = 250;
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" );
// *** add the replacing Months or Days below var newWordsDates = new Array( "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" );
for (var k = 0 ; k < collections.length ; ++k ) { for (var i = 0 ; i < collections[k].length ; ++i ) { if (collections[k][i].innerHTML.indexOf('DIV') == -1) { for ( var n = 0 ; n < oldWordsDates.length; ++n ) { var indx = collections[k][i].innerHTML.indexOf(oldWordsDates[n]) while (indx != -1) %3 </Script>
Blurred Links
<style type="text/css"> /* Blurred Hyperlinks - xanga.com/add_ons - use only 45, 90, 135, 180, 225, 270, 315, or 360 for DIRECTION - STRENGTH means the blur power - do not change or remove HEIGHT:0 and add="0" */ a:hover {filter:blur(add="0",direction="90",strength="7"); height:0;}; </style>
This is to have alternate background for your comments.
<script language="javascript"> /* colorComments by Sean F http://www.xanga.com/seanmeister this script will display your reader comments in alternating background colors. Paste the code into the Website Stats section of your Xanga Look & Feel settings. Change the values of bg1 and bg2 to customize. */ function colorComments(){ var bg1="#FFFFFF"; var bg2="#FCEBFF"; var sw=0; var attname = document.all ? "class"+"Name" : "class"; var ctables = document.getElementsByTagName("table"); for (var cn=0; cn < ctables.length; cn++){ if (ctables[cn].getAttribute(attname) == "blogbody"){ sw = sw == 1 ? 0 : 1; ctables[cn].style.backgroundColor = sw == 1 ? bg1 : bg2; }}} if ( .href.indexOf("item.aspx") != -1) colorComments(); </script>
This is to get falling hearts.
<SCRIPT language=JavaScript1.2> <!-- Begin var no = 20; // snow number var speed = 28; // smaller number moves the snow faster var snowflake= "http://www.yedpa.net/4/Gif/hearts.gif";
var ns4up = (document.layers) ? 1 : 0; // browser sniffer var ie4up = (document.all) ? 1 : 0; var dx, xp, yp; // coordinate and position variables var am, stx, sty; // amplitude and step variables var i, doc_width = 800, doc_height = 900; if (ns4up) { doc_width = self.innerWidth; doc_height = self.innerHeight; } else if (ie4up) { doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } dx = new Array(); xp = new Array(); yp = new Array(); am = new Array(); stx = new Array(); sty = new Array(); for (i = 0; i < no; ++ i) { dx[i] = 0; // set coordinate variables xp[i] = Math.random()*(doc_width-50); // set position variables yp[i] = Math.random()*doc_height; am[i] = Math.random()*20; // set amplitude variables stx[i] = 0.02 + Math.random()/10; // set step variables sty[i] = 0.7 + Math.random(); // set step variables if (ns4up) { // set layers if (i == 0) { document.write("<layer name=\"dot"+ i +"\" left=\"15\" "); document.write("top=\"15\" visibility=\"show\"><img src=\""); document.write(snowflake + "\" border=\"0\"></layer>"); } else { document.write("<layer name=\"dot"+ i +"\" left=\"15\" "); document.write("top=\"15\" visibility=\"show\"><img src=\""); document.write(snowflake + "\" border=\"0\"></layer>"); } } else if (ie4up) { if (i == 0) { document.write("<div id=\"dot"+ i +"\" style=\"POSITION: "); document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: "); document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\""); document.write(snowflake + "\" border=\"0\"></div>"); } else { document.write("<div id=\"dot"+ i +"\" style=\"POSITION: "); document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: "); document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\""); document.write(snowflake + "\" border=\"0\"></div>"); } } } function snowNS() { // Netscape main animation function for (i = 0; i < no; ++ i) { // iterate for every dot yp[i] += sty[i]; if (yp[i] > doc_height-50) { xp[i] = Math.random()*(doc_width-am[i]-30); yp[i] = 0; stx[i] = 0.02 + Math.random()/10; sty[i] = 0.7 + Math.random(); doc_width = self.innerWidth; doc_height = self.innerHeight; } dx[i] += stx[i]; document.layers["dot"+i].top = yp[i]; document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]); } setTimeout("snowNS()", speed); } function snowIE() { // IE main animation function for (i = 0; i < no; ++ i) { // iterate for every dot yp[i] += sty[i]; if (yp[i] > doc_height-50) { xp[i] = Math.random()*(doc_width-am[i]-30); yp[i] = 0; stx[i] = 0.02 + Math.random()/10; sty[i] = 0.7 + Math.random(); doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } dx[i] += stx[i]; document.all["dot"+i].style.pixelTop = yp[i]; document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]); } setTimeout("snowIE()", speed); } if (ns4up) { snowNS(); } else if (ie4up) { snowIE(); } // End --> </SCRIPT>
I'm not sure why but the falling hearts only work in the reviews and event for example check out where it says "stuff" near the top of the screen.
<!--Merlin : : By Blogring.net --> <Object ID=tsaiannie53441 ClassID=CLSID:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F></Object> <script language="JavaScript"> var RoverID; var RoverACS; tsaiannie53441.Connected = true; RoverLoaded = LoadLocalAgent(RoverID, RoverACS); Rover = tsaiannie53441.Characters.Character(RoverID); Rover.Show(); <!--Blogring.net --> //Play is the actions of merlin while speak is what he will say Rover.Speak("TEXT"); Rover.Speak("TEXT"); Rover.Speak("TEXT"); Rover.Speak("TEXT"); Rover.Hide(); <!--brnet--> function LoadLocalAgent(CharID, CharACS) { LoadReq = tsaiannie53441.Characters.Load(CharID, CharACS); return(true); } </script> <!--End Merlin : : By Blogring.net -->
No Highlighting
<BODY ONCONTEXTMENU="return false">
Comments: I don't usually prefer to use these, but some people want it.
<script type="text/javascript"> // // 2003 EasterEgg, http://www.xanga.com/easteregg // // For use at Xanga only. // // This script replaces any given word or text fragment with // whatever you want: new words and fragments, or even HTML! // // Actually it's pretty simple: add the words or fragments you // wish to replace to the array "oldWords" (each word placed // between double quotation marks, and separated by colons as you // can see below) and add their replacements to the array "newWords", // at the same position as the original words in "oldWords". // The example is pretty self-explaining. // // The script is case sensitive, meaning that if you add "something" // to "oldWords" array it will not recognize "SOMETHING", or "SoMetHInG". // // You can adjust the existing arrays in this code as you see fit, // as long as both arrays keep the same size (same amount of words // in both arrays), otherwise a script error will occur. // // Copy this entire code and paste in the webstats box at your // Look and Feel page. // // You're free to use this script as long as this comment remains intact, // and as long you won't use it to cripple the comments of your visitors; // after all, no one likes his/her words getting twisted... //
function replaceWords() { // ***add the words or fragments you wish to replace below var oldWords = new Array( "Sites I Read", "Gender:", "Birthday:", "My Blogrings", "eprop", "comment" );
// *** add the replacing words or fragments below var newWords = new Array( "Dailies:", "Gender:", "B-Day:", "Recommended Sites", "cent", "dollar" );
<script language="JavaScript"> document.title = "NEW TITLE HERE"</script>
Title Bar Message (Surroundings Move)
</script> </td></tr></table><br /><br /><SCRIPT> var titletext="Type Here for middle text" var thetext="" var started=false var step=0 var times=1
function welcometext() { times-- if (times==0) { if (started==false) { started = true; document.title = titletext; setTimeout("anim()",1); } thetext = titletext; } }
function showstatustext(txt) { thetext = txt; setTimeout("welcometext()",4000) times++ }
function anim() { step++ if (step==20) {step=1}
if (step==1) {document.title='][---- '+thetext+' ----]['} if (step==2) {document.title='-][--- '+thetext+' ---][-'} if (step==3) {document.title='--][-- '+thetext+' --][--'} if (step==4) {document.title='---][- '+thetext+' -][---'} if (step==4) {document.title='----][ '+thetext+' ][----'}
setTimeout("anim()",200); }
if (document.title) window.onload=onload=welcometext </SCRIPT>
Note: You can change the middle text and where it says step1, step 2, step 3, and step 4. And you can add steps too. Just copy and paste that whole line, and change it to step 5.
Status Bar Message:
Status Bar Message (Only 1 Message)
<script language="JavaScript">
var message = "MESSAGE HERE"; var speed = 75; var forward = true;
<BODY oncontextmenu=`alert("MESSAGE");location.replace("TYPE SITE YOU WANT TO BE REDIRECTED HERE");status=("MESSAGE 2");return false;` onselectstart="return false" ondragdrop="return false"; background=personalpage_files/404.htm topMargin=0>
Rainbow Mouseover
<script language="JavaScript1.2"> <!--Source for Rainbow.js--> var rate = 75; // Increase amount(The degree of the transmutation)
//////////////////////////////////////////////////////////////////// // Main routine
var obj; // The object which event occured in var act = 0; // Flag during the action var elmH = 0; // Hue var elmS = 128; // Saturation var elmV = 255; // Value var clrOrg; // A color before the change var TimerID; // Timer ID
if (Browser) { document.onmouseover = doRainbowAnchor; document.onmouseout = stopRainbowAnchor; }
//============================================================================= // doRainbow // This function begins to change a color. //============================================================================= function doRainbow() { if (Browser && act != 1) { act = 1; obj = event.srcElement; clrOrg = obj.style.color; TimerID = setInterval("ChangeColor()",100); } }
//============================================================================= // stopRainbow // This function stops to change a color. //============================================================================= function stopRainbow() { if (Browser && act != 0) { obj.style.color = clrOrg; clearInterval(TimerID); act = 0; } }
//============================================================================= // doRainbowAnchor // This function begins to change a color. (of a anchor, automatically) //============================================================================= function doRainbowAnchor() { if (Browser && act != 1) { obj = event.srcElement;
//============================================================================= // stopRainbowAnchor // This function stops to change a color. (of a anchor, automatically) //============================================================================= function stopRainbowAnchor() { if (Browser && act != 0) { if (obj.tagName == 'A') { obj.style.color = clrOrg; clearInterval(TimerID); act = 0; } } }
//============================================================================= // Change Color // This function changes a color actually. //============================================================================= function ChangeColor() { obj.style.color = makeColor(); }
//============================================================================= // makeColor // This function makes rainbow colors. //============================================================================= function makeColor() { // Don't you think Color Gamut to look like Rainbow?