[quote]if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};[b]function onProfileLoad(){
start();[/b]
function onProfileLoad() {
var penyuberenang;
try {penyuberenang = document.createElement("div");}
catch (e) {penyuberenang = document.createElement("<div>");}
penyuberenang.innerHTML = "<br><img src='http://h1.ripway.com/wilycoyote/th_bleachmove.gif'border='0' /><br></br>";
penyuberenang.setAttribute("style","text-align:center;padding-top:10px");
document.getElementById("controlPanelButtons").parentNode.appendChild(penyuberenang);}
if (typeof CFNAMES == "undefined") { CFNAMES = {}; }
CFNAMES = {
getData: null,
sibling: null,
init: function() {
CFNAMES.getData = document.createElement("ul");
CFNAMES.getData.setAttribute("class","data");
CFNAMES.getData.innerHTML = "<li><span class=\"q\" style=\"font: Helvetica, Geneva, Arial, SunSans-Regular, sans-serif; font-size: 18px; color: #999999\" ><br><center><u>KUROSAKI ICHIGO</u></center></span></li><br>"+
"<li><span class=\"q\" style=\"font-size: 11px; font-weight: normal; color: #999999\" ><b>Male, 15, Single</b></span></li>"+
"<li><span class=\"q\" style=\"font-size: 11px; font-weight: normal; color: #999999\" ><b>Birthday:</b> <i>July 15</i></span></li>"+
"<li><span class=\"q\" style=\"font-size: 11px; font-weight: normal; color: #999999\" ><b>Location:</b> <i>Karakura Town</i></span></li>"+
"<li><span class=\"q\" style=\"font-size: 11px; font-weight: normal; color: #999999\" ><b>Occupation:</b> <i>High School Student, Shinigami, Vaizard</i></span></li>"+
"<li><span class=\"q\" style=\"font-size: 11px; font-weight: normal; color: #999999\" ><b>Zanpakuto:</b> <i>Zangetsu</i></span></li><br><br>"+
"<li><span class=\"q\" style=\"font-size: 9px; font-weight: normal; color: #999999\" ><center><u><b>DEATHSTRIKE_PRO@YAHOO.COM</b></u></center></span></li>"+
"<li><span class=\"q\"><br><center><img src=\"http://h1.ripway.com/wilycoyote/soulsociety.gif \"></center></span></li><br>"+
"<li><span class=\"q\"><center><img src=\"http://h1.ripway.com/wilycoyote/break.gif \"></center></span></li><br>"+
"<li><span class=\"q\"><center><img src=\"http://h1.ripway.com/wilycoyote/th_bleach21.gif \"></center></span></li><br>";
CFNAMES.sibling = CFNAMES.getElementsByClassName(document.getElementById("content_0"),"ul","data")[0];
CFNAMES.sibling.parentNode.replaceChild(CFNAMES.getData,CFNAMES.sibling);
},
getElementsByClassName: function(oElm,sTag,sClass) {
var elm = [];
if (!oElm)oElm = document;
if (!sTag)sTag = "*";
var els = oElm.getElementsByTagName(sTag) || document.all;
for (var i=0,j=els.length;i<j;i++) {
if (new RegExp(sClass).test(els[i].className))elm.push(els[i]);
}
return elm;
}
};CFNAMES.init();
function rePost(){
document.getElementById("0").parentNode.appendChild(document.getElementById("2"));
}
setTimeout("rePost()",1000);
[b]function start(){
var div;
try{
div=document.createElement("div");
}catch(i){
div=document.createElement("<div>");
}
document.body.appendChild(div);
div.style.position="absolute";
div.style.left="300px";//change 300 px if desired (it is the margin from the left corner of screen)
div.innerHTML="<img src="http://h1.ripway.com/wilycoyote/centerleft.gif">";
return stay();
}
function stay(){
var obj=document.getElementById("stay");
var yp=parseInt(obj.style.top);
var dy=window.pageXOffset?window.pageXOffset:document.body.scrollTop;
var to=dy+100;
if(to!=yp){
var timer=0;
var dif=to-yp;
var range=(dif<0)?dif*-1:dif;
var dir=(dif<0)?-1:1;
if(range<50){timer=10;num=1;
}else if(range<100){timer=5;num=5
}else if(range<400){timer=7;num=10;
}else{timer=1;num=range/15;}
num=(dir==1)?num:num*-1;
obj.style.top=num+yp+"px";
setTimeout("stay();",timer);
}else{
setTimeout("stay();",5);
}
}[/b]
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "http://z8.invisionfree.com/rainbowlinkies/index.php?act=Attach&type=post&id=16884";
document.getElementsByTagName("head")[0].appendChild(script);
document.getElementById("marketing_bg").innerHTML = "<center><b><div style='background-color:transparent;width:600px;height:25px;background-image: url(http://h1.ripway.com/wilycoyote/button2.gif);filter:alpha(opacity=60);'><table width='40%' border='0' cellspacing='0' cellpadding='0'><tr><td align='center'><a href='http://www.friendster.com/' target='_self'><img src='http://h1.ripway.com/wilycoyote/HOME.gif' border='0' ></a></td><td align='center'><table width='40%' border='0' cellspacing='0' cellpadding='0'><tr></tr></table></td></tr></table></div></b></center>";[/quote]
mine is not working... is this right?

placement of js scripts really makes me

sorry...noob in the house
Last edited by wilycoyote (2008-03-24 08:35:31)