Hey!
I JUST ADDED NEW CODES!
I'm Brunette_baby from xanga. I made this site for people who want html codes. Okay so here are some html codes and I will update codes and add new ones often and I take requests!!! Also check out my other site: Free_Stuff (it has layouts 4 you)...
Here is the code for the scroll bar in the entries, but you DONT paste it in look & feel, this is what you do with this code: 1st you write an entry then click on edit html and paste the code below in there and then UNclick edit hml and then the scrollbar should appear. you can change the color and size that I have it set at :
<DIV style="BORDER-RIGHT: #000000 0px solid; BORDER-TOP: #FB7D95 0px solid; FILTER: alpha(opacity=100); OVERFLOW: auto; BORDER-LEFT: #FFFF33 0px solid; WIDTH: 300px; BORDER-BOTTOM: #FFFF33 0px solid; HEIGHT: 200px; BACKGROUND-COLOR: #FFFFFF">
Here is the code for the scrolling message, its the bar at the bottom of your site, this gets pasted in Look & feel webstats (this code is the typing one.):
<!--
http://www.geocities.com/CollegePark/Quad/3400 http://javacentral.home.ml.org http://www.page4life.nl/javacentral/index.htm
(c) 1997 Semian Software, Script by: Michiel steendam Modify and use anyway you want, just mention this site. -->
<SCRIPT> <!-- Hide from old browsers
// All you have to do is put another text in the variable message. // Don't forget to break all lines with a ^ // When you do not place a ^ at the end of all the message, the // message will not repeat
message = "Add Your Message Here^" + "Add Your Message Here^" + "Add Your Message Here^" + "Add Your Message Here^" + "Add Your Message Here^"+ "Add Your Message Here^" + "^" scrollSpeed = 25 lineDelay = 1500
// Do not change the text below //
txt = ""
function scrollText(pos) { if (message.charAt(pos) != '^') { txt = txt + message.charAt(pos) status = txt pauze = scrollSpeed } else { pauze = lineDelay txt = "" if (pos == message.length-1) pos = -1 } pos++ setTimeout("scrollText('"+pos+"')",pauze) }
// Unhide --> scrollText(0) </SCRIPT>
Here is another code that I bet everyone has been looking for...the fallen object code! here is it! you jus need to have your own url picture image but make sure its a small one and not a big one, you paste this code in Look & feel html header & the only part of the code you change is this part var snowflake= "url picture image goes here";:
<SCRIPT language=JavaScript1.2> <!-- Begin var no = 20; // snow number var speed = 28; // smaller number moves the snow faster var snowflake= "url picture image goes here";
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>
Here is the code 2 change eprops and comments to whatever words you want (you can change what I have it saying):
<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 (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "Hot Fudge Lover"); else if (str.match (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "Ice Cream");}//--> </script>
Here is the code 4 when someone hovers over a link it shows silver stars (sparkles), this code won't work if you use it with the rainbow hover code, paste this code in Look & feel and when in there under web stats:
<style type="text/css"><!-- a:hover {background:url(http://members.asianavenue.com/risa-cute-image/starglow.gif); text-decoration: none;} //--></style>
Here is the code for Merlin the Wizard. DONT type you message where it saids play or it wont work. paste this under Look & feel, and when there under html header or under webstats:
<Object ID=tsaiannie53441 ClassID=CLSID:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F></Object> <script> // The Wizard // satisfied-tom.cjb.net var MerlinID; var MerlinACS; tsaiannie53441.Connected = true; MerlinLoaded = LoadLocalAgent(MerlinID, MerlinACS); Merlin = tsaiannie53441.Characters.Character(MerlinID); Merlin.Show();
// Configure actions and sayings here Merlin.Play("Surprised"); Merlin.Play("GestureLeft"); Merlin.Think("Text Here"); Merlin.Think("Text here"); Merlin.Think("Text here"); Merlin.Play("Pleased"); Merlin.Think("Text here"); Merlin.Hide(); function LoadLocalAgent(CharID, CharACS) { LoadReq = tsaiannie53441.Characters.Load(CharID, CharACS); return(true); } </script>
here's the code for the title bar. paste this is look & feel, html header:
<script language="JavaScript"> <!-- var space = " "; var speed = "50"; var pos = -20; var msg = "Message here"; function Scroll() { document.title = msg.substring(pos, msg.length) + space; pos++; if (pos > msg.length + 0) pos = -20; window.setTimeout("Scroll()", speed);
} Scroll(); --> </script>
Here's a code for jumping text. The letter jumps up and down. Like say if you have it as Version Tinkerbell...then V,r,i,n,i,k,r,e,l those letters all jump up and the rest of the letters jump down. Its pretty cool. you can change what I have it saying to whatever you want it to say. You paste this code in Look & feel and in there in webstats if you want it at the bottom of your site or in html header if you want it at the top of your site:
<marquee align="middle" behavior="alternate" direction="up" scrolldelay=20 scrollamount=2 height="23" width="4%"><b>V</b></marquee> <marquee align="middle" behavior="alternate" direction="down" scrolldelay=15 scrollamount=3 height="24" width="4%">E</marquee> <marquee align="middle" behavior="alternate" direction="up" scrolldelay=20scrollamount=2 height="23" width="4%"><b>R</b></marquee> <marquee align="middle" behavior="alternate" direction="down" scrolldelay=15 scrollamount=2 height="24" width="4%">S</marquee> <marquee align="middle" behavior="alternate" direction="up" scrolldelay=20 scrollamount=2 height="23" width="4%"><b>I</b></marquee> <marquee align="middle" behavior="alternate" direction="down" scrolldelay=15 scrollamount=3 height="24" width="4%">O</marquee> <marquee align="middle" behavior="alternate" direction="up" scrolldelay=20 scrollamount=2 height="23" width="4%"><b>N</b></marquee> <marquee align="middle" behavior="alternate" direction="down" scrolldelay=15 scrollamount=3 height="24" width="4%">P</marquee> <marquee align="middle" behavior="alternate" direction="up" scrolldelay=20 scrollamount=2 height="23" width="4%"><b>A</b></marquee> <marquee align="middle" behavior="alternate" direction="down" scrolldelay=15 scrollamount=3 height="24" width="4%">L</marquee> <marquee align="middle" behavior="alternate" direction="up" scrolldelay=20 scrollamount=2 height="23" width="4%"><b>E</b></marquee> <marquee align="middle" behavior="alternate" direction="down" scrolldelay=15 scrollamount=3 height="24" width="4%">R</marquee> <marquee align="middle" behavior="alternate" direction="up" scrolldelay=20 scrollamount=2 height="23" width="4%"><b>O</b></marquee> <marquee align="middle" behavior="alternate" direction="down" scrolldelay=15 scrollamount=3 height="24" width="4%">S</marquee> <marquee align="middle" behavior="alternate" direction="up" scrolldelay=20 scrollamount=2 height="23" width="4%"><b>E</b></marquee>
Here's the code for no highlighting, anyone who tries to highlight something on your site won't be able 2. you paste this in Look & feel, webstats:
<script language="JavaScript1.2">
//Disable select-text script (IE4+, NS6+)- By Andy Scott //Exclusive permission granted to Dynamic Drive to feature script //Visit http://www.dynamicdrive.com for this script
function disableselect(e){ return false }
function reEnable(){ return true }
//if IE4+ document.onselectstart=new Function ("return false")
//if NS6 if (window.sidebar){ document.onmousedown=disableselect document.onclick=reEnable } </script>
Here's the code for silent no right click. there is no pop up for the silent right click. So you don't need to edit anything in the code, paste this in Look & feel webstats:
<script language=JavaScript> <!--
//Disable right click script III- By Renigade (renigade@mediaone.net) //For full source code, visit http://www.dynamicdrive.com
var message=""; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(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>
Here is a marquee, the one the saids your name and it swirls. If you go to my other site: Brunette_Baby and its at the bottom on there and you will get to see what it looks like.you paste it in Look & feel and under there if you want the marquee to be at the top of your site then it goes in html header or if you want it at the bottom of your site it goes under web stats:
<marquee direction=up scrollAmount=0scrollDelay=0 style="filter:wave(add=10,phase=1,freq=2,strength=35)" width=100 height=225><font style="font-family:comic sans ms;font-size:20px;color:#FFFFFF"><center><b><br><br>N<br>A<br>M<br>E<br><br></font></marquee>
Here's another type of marquee. The text is still and it has moving arrow, if you go to my site: Brunette_Baby at the top that is what it looks like. You paste this in Look & feel:
<MARQUEE behavior=alternate direction=left scrollAmount=3 width="4%"><font face=Webdings>4</font></MARQUEE><MARQUEE scrollAmount=1 direction=left width="2%">| | |</MARQUEE>FOR THESE ARROWS N LINES<MARQUEE scrollAmount=1 direction=right width="2%">| | |</MARQUEE><MARQUEE behavior=alternate direction=right scrollAmount=3 width="4%"><font face=Webdings>3</font></MARQUEE>
The code below is the marquee pic slide, it is you have 3 images and then it the marquee will slide back and forth showing each image. paste in Look & feel. Either in html header (if you want it at the top of your site) or in web stats (if you want it at the bottom of your site) :
<marquee behavior="alternate"><marquee width="200"><img src=picture url><img src=picture url><img src=picture url></marquee></marquee>
Here is a no right click code with a pop up alert message. Paste in Look & Feel under webstats:
<body oncontextmenu=`alert("NO STEALING!!");alert("ASK!!");return false` onselectstart=`return false`></font>
Here's another no right click code and when someone right click it sends them somewhere else, paste in Look & feel webstats:
<body oncontextmenu=`alert("I Wont Log u OFF");alert("But ya Cant Stay Here"); window.location=("Name of Url site here"); return false` onselectstart=`return false`>
Here's another no right click and when someone right click its logs them off:
<body oncontextmenu=`alert("Stealing is not allowed!!!");alert("Logging out now!!"); window.location=("http://www.xanga/Logout"); return false` onselectstart=`return false`></font>
Here's the code for a clock cursor, paste in html header:
<!- Clock Cursor-> <script language=JavaScript> dCol='F576BC';//date colour. fCol='FF99CC';//face colour. sCol='3399FF';//seconds colour. mCol='3399FF';//minutes colour. hCol='3399FF';//hours colour. ClockHeight=30; ClockWidth=30; ClockFromMouseY=0; ClockFromMouseX=100;
//Alter nothing below! Alignments will be lost!
d=new Array("SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY"); m=new Array("JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER"); date=new Date(); day=date.getDate(); year=date.getYear(); if (year < 2000) year=year+1900; TodaysDate=" "+d[date.getDay()]+" "+m[date.getMonth()]+" "+day+" "+year; D=TodaysDate.split(''); H='...'; H=H.split(''); M='....'; M=M.split(''); S='.....'; S=S.split(''); Face='1 2 3 4 5 6 7 8 9 10 11 12'; font='Arial'; size=1; speed=0.6; ns=(document.layers); ie=(document.all); Face=Face.split(' '); n=Face.length; a=size*10; ymouse=0; xmouse=0; scrll=0; props="<font face="+font+" size="+size+" color="+fCol+"><B>"; props2="<font face="+font+" size="+size+" color="+dCol+"><B>"; Split=360/n; Dsplit=360/D.length; HandHeight=ClockHeight/4.5 HandWidth=ClockWidth/4.5 HandY=-7; HandX=-2.5; scrll=0; step=0.06; currStep=0; y=new Array();x=new Array();Y=new Array();X=new Array(); for (i=0; i < n; i++){y[i]=0;x[i]=0;Y[i]=0;X[i]=0} Dy=new Array();Dx=new Array();DY=new Array();DX=new Array(); for (i=0; i < D.length; i++){Dy[i]=0;Dx[i]=0;DY[i]=0;DX[i]=0} if (ns){ for (i=0; i < D.length; i++) document.write('<layer name="nsDate'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props2+D[i]+'</font></center></layer>'); for (i=0; i < n; i++) document.write('<layer name="nsFace'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props+Face[i]+'</font></center></layer>'); for (i=0; i < S.length; i++) document.write('<layer name=nsSeconds'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+sCol+'><center><b>'+S[i]+'</b></center></font></layer>'); for (i=0; i < M.length; i++) document.write('<layer name=nsMinutes'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+mCol+'><center><b>'+M[i]+'</b></center></font></layer>'); for (i=0; i < H.length; i++) document.write('<layer name=nsHours'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+hCol+'><center><b>'+H[i]+'</b></center></font></layer>'); } if (ie){ document.write('<div id="Od" style="position:abs'+'olute;top:0px;left:0px"><div style="position:rela'+'tive">'); for (i=0; i < D.length; i++) document.write('<div id="ieDate" style="position:abs'+'olute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props2+D[i]+'</B></font></div>'); document.write('</div></div>'); document.write('<div id="Of" style="position:abs'+'olute;top:0px;left:0px"><div style="position:rela'+'tive">'); for (i=0; i < n; i++) document.write('<div id="ieFace" style="position:abs'+'olute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props+Face[i]+'</B></font></div>'); document.write('</div></div>'); document.write('<div id="Oh" style="position:abs'+'olute;top:0px;left:0px"><div style="position:rela'+'tive">'); for (i=0; i < H.length; i++) document.write('<div id="ieHours" style="position:abs'+'olute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+hCol+';text-align:center;font-weight:bold">'+H[i]+'</div>'); document.write('</div></div>'); document.write('<div id="Om" style="position:abs'+'olute;top:0px;left:0px"><div style="position:rela'+'tive">'); for (i=0; i < M.length; i++) document.write('<div id="ieMinutes" style="position:abs'+'olute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+mCol+';text-align:center;font-weight:bold">'+M[i]+'</div>'); document.write('</div></div>') document.write('<div id="Os" style="position:abs'+'olute;top:0px;left:0px"><div style="position:rela'+'tive">'); for (i=0; i < S.length; i++) document.write('<div id="ieSeconds" style="position:abs'+'olute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+sCol+';text-align:center;font-weight:bold">'+S[i]+'</div>'); document.write('</div></div>') } (ns)?window.captureEvents(Event.MOUSEMOVE):0; function Mouse(evnt){ ymouse = (ns)?evnt.pageY+ClockFromMouseY-(window.pageYOffset):event.y+ClockFromMouseY; xmouse = (ns)?evnt.pageX+ClockFromMouseX:event.x+ClockFromMouseX; } (ns)?window.onMouseMove=Mouse:document.onmousemove=Mouse; function ClockAndAssign(){ time = new Date (); secs = time.getSeconds(); sec = -1.57 + Math.PI * secs/30; mins = time.getMinutes(); min = -1.57 + Math.PI * mins/30; hr = time.getHours(); hrs = -1.575 + Math.PI * hr/6+Math.PI*parseInt(time.getMinutes())/360; if (ie){ Od.style.top=window.document.body.scrollTop; Of.style.top=window.document.body.scrollTop; Oh.style.top=window.document.body.scrollTop; Om.style.top=window.document.body.scrollTop; Os.style.top=window.document.body.scrollTop; } for (i=0; i < n; i++){ var F=(ns)?document.layers['nsFace'+i]:ieFace[i].style; F.top=y[i] + ClockHeight*Math.sin(-1.0471 + i*Split*Math.PI/180)+scrll; F.left=x[i] + ClockWidth*Math.cos(-1.0471 + i*Split*Math.PI/180); } for (i=0; i < H.length; i++){ var HL=(ns)?document.layers['nsHours'+i]:ieHours[i].style; HL.top=y[i]+HandY+(i*HandHeight)*Math.sin(hrs)+scrll; HL.left=x[i]+HandX+(i*HandWidth)*Math.cos(hrs); } for (i=0; i < M.length; i++){ var ML=(ns)?document.layers['nsMinutes'+i]:ieMinutes[i].style; ML.top=y[i]+HandY+(i*HandHeight)*Math.sin(min)+scrll; ML.left=x[i]+HandX+(i*HandWidth)*Math.cos(min); } for (i=0; i < S.length; i++){ var SL=(ns)?document.layers['nsSeconds'+i]:ieSeconds[i].style; SL.top=y[i]+HandY+(i*HandHeight)*Math.sin(sec)+scrll; SL.left=x[i]+HandX+(i*HandWidth)*Math.cos(sec); } for (i=0; i < D.length; i++){ var DL=(ns)?document.layers['nsDate'+i]:ieDate[i].style; DL.top=Dy[i] + ClockHeight*1.5*Math.sin(currStep+i*Dsplit*Math.PI/180)+scrll; DL.left=Dx[i] + ClockWidth*1.5*Math.cos(currStep+i*Dsplit*Math.PI/180); } currStep-=step; } function Delay(){ scrll=(ns)?window.pageYOffset:0; Dy[0]=Math.round(DY[0]+=((ymouse)-DY[0])*speed); Dx[0]=Math.round(DX[0]+=((xmouse)-DX[0])*speed); for (i=1; i < D.length; i++){ Dy[i]=Math.round(DY[i]+=(Dy[i-1]-DY[i])*speed); Dx[i]=Math.round(DX[i]+=(Dx[i-1]-DX[i])*speed); } y[0]=Math.round(Y[0]+=((ymouse)-Y[0])*speed); x[0]=Math.round(X[0]+=((xmouse)-X[0])*speed); for (i=1; i < n; i++){ y[i]=Math.round(Y[i]+=(y[i-1]-Y[i])*speed); x[i]=Math.round(X[i]+=(x[i-1]-X[i])*speed); } ClockAndAssign(); setTimeout('Delay()',20); } if (ns||ie)window.onload=Delay; </SCRIPT>
Here is the code for a welcome sign. You just change the url I have in the code to what you want to be. Paste in Look & feel and the VERY VERY TOP of html header
<script type='text/javascript'> // Welcome page, brought to you by Blogring.net // PICTURE URL GOES HERE var picture = 'http://www.freewebs.com/Brunette_Baby/enter4.gif'; function enterSite() { document.getElementById('splash').style.display = 'none'; var brnet = document.getElementsByTagName("center"); for (var i=0; i<brnet.length;i++) { brnet[i].style.display = 'block'; } return false; } if (document.title.slice(-10) == 'Xanga Site') { document.write('</span></center><style type="text/css"> center {display:none;} .picture {border:none;} </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="'+ picture +'" border=0 class="picture" alt="Click me"></a></td></tr></table><center><span>'); } </script>
WAVE MARQUEE TEXT SCROLLING UP (bounce):
<marquee behavior=alternate direction=up scrollamount=1 scrolldelay=60 height=60 style="text-align;filter:wave(add=0,phase=1, freq=1,strength=15,color=#FFFFFF)"><center>TEXT HERE<br>TEXT HERE<br>TEXT HERE</center></marquee>
Mouseover with a picture bg:
<style type="text/css"><!-- a:hover {background:url(picture url); text-decoration: none;} //--></style>
Gray Scale Pic:
<img src="picture url" id="GRAY" border=1 style="align:center;width:?px;height:?px;filter:gray">
Here's the code for the example above:
<marquee behavior=alternate><marquee width="50">HEY...TEXT TEXT TEXT...ITS S0 COOL</marquee></marquee>
Here's a code for the invisible triangle cursor:
<STYLE TYPE="text/css">p {align=justify} BODY{cursor: url(http://www3.telus.net/wilsoncheung/cursor.ani);} a {cursor: url(http://www3.telus.net/wilsoncheung/cursor.ani);} </STYLE>
Here's a code for the rotating cursor:
<script> <!--
/* Rotating Cursor script IE6 (By Muhammad Sufyan | http://www.sufyan.cjb.net | sufyan79@yahoo.com) */
var cursors = new Array("e-resize","ne-resize","n-resize","se-resize") var cursorsIndex = 0
var rotationSpeed = 75 // decrease the value to increase the rotation speed and vice versa.(The value MUST be positive.) var direction = 1 // 1 to rotate clockwise and 0 to rotate counter-clockwise
//*********Do Not Edit Below******** if (direction) cursors.reverse()
function rotateCursor(){
document.body.style.cursor=cursors[cursorsIndex]
cursorsIndex++ if (cursorsIndex==cursors.length) cursorsIndex=0 setTimeout("rotateCursor()",rotationSpeed) }
window.onload=rotateCursor
//--> </script>
Here's the code that moves the scroll bar to the left of your site:
<body ONCONTEXTMENU="return false" dir="rtl"><DIV DIR="LTR">
Changes colors of comment background. When people comment every other comment is a different color out of the 2 colors you chose:
<script language="javascript"> function colorComments(){ //Edit your first color below var blogring="#FFFFFF"; //Edit your second color below var dotnet="#FCEBFF"; var colorchange=0; var comments = document.all ? "class"+"Name" : "class"; var backgrounds = document.getElementsByTagName("table"); for (var cn=0; cn < backgrounds.length; cn++){ if (backgrounds[cn].getAttribute(comments) == "blogbody"){ colorchange = colorchange == 1 ? 0 : 1; backgrounds[cn].style.backgroundColor = colorchange == 1 ? blogring : dotnet; }}} if (document.location.href.indexOf("item.aspx") != -1) colorComments(); </script>
THIS CODE MOVES THE STATUS FROM RIGHT TO LEFT:
<!-- Status Effect --> <script LANGUAGE="JavaScript"> <!-- hide from old browsers
var init_msg = ""
var str = "" var msg = "" var leftmsg = ""
function setMessage() { if (msg == "") { str = " " msg = init_msg leftmsg = "" } if (str.length == 1) { while (msg.substring(0, 1) == " ") { leftmsg = leftmsg + str str = msg.substring(0, 1) msg = msg.substring(1, msg.length) } leftmsg = leftmsg + str str = msg.substring(0, 1) msg = msg.substring(1, msg.length) for (var ii = 0; ii < 120; ii++) {str = " " + str} } else { str = str.substring(10, str.length) // decrease str little by little }
window.status = leftmsg + str JSCTimeOutID = window.setTimeout('setMessage()',100) }
<!-- done hiding --></script> |