mw tnya ni?
napa js nich tak brfungsi?
adakah yg salah...
tlong dong..
http://h1.ripway.com/dhieokays9/dhiera.txt
mentah'a :
[spoiler]//css injection
var css;
try {
css = document.createElement("link");
}catch(e) {
css = document.createElement("<link>");
}
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","http://h1.ripway.com/dhieokays9/hidebox.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
//onload handler
function onProfileLoad() {
//addboxes here
}
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
function addBox (type,head,htm,id,sibling) {
//by marfillaster
//type "LEFT" | "RIGHT"
//head header string
//htm innerHTML string
//id css_id string
//sibling css_id_insertbefore string | null
/* Available default Siblings
LEFT
0 = controlpanel
1 = photos
13 = blogs
12 = reviews
6 = moreabout
18 = publiccomments
10 = scrapbook
RIGHT
15 = meettrail
2 = friends
14 = googleads
7 = fan
8 = groups
null - appends to last
*/
try {
var li=document.createElement("li");
} catch(e) {
var li=document.createElement("<li>");
}
if(type=="LEFT") {
var ul=document.getElementById("0").parentNode.parentNode;
htm="<div class='boxcontent'>"+htm+"</div>";
}
else var ul=document.getElementById("2").parentNode.parentNode;
li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+id+"'>"+
htm+
"</div>"+
"</div>";
if(sibling==null) ul.appendChild(li);
else {
sibling=document.getElementById(sibling).parentNode;
ul.insertBefore(li,sibling);
}
}
//Created by Title bar Maker (
http://www.bosiljak.hr/titlemaker)
function tb13_makeArray(n){
this.length = n;
return this.length;
}
tb13_messages = new tb13_makeArray(1);
tb13_messages[0] = "::
"si.isenk.dan.LEMOD.dhiera_.BERHARAP.so.okay!!" |:::";
tb13_rptType = 'infinite';
tb13_rptNbr = 5;
tb13_speed = 100;
tb13_maxspaces = 40;
tb13_bncOneMsg = 1;
var tb13_counter=1;
var tb13_currMsg=0;
var tb13_spaces=0;
var tb13_right=true;
var tb13_counterOneMsg=0;
var tb13_timer=null;
function tb13_bounce(){
var tmp=tb13_messages[tb13_currMsg];
tb13_spaces = (tb13_right)?tb13_spaces+1:tb13_spaces-1;
for (var i=0; i<tb13_spaces; i++)
tmp = "_"+tmp;
document.title = tmp;
if ((tb13_spaces >= tb13_maxspaces) || (tb13_spaces<1)){
tb13_right = !tb13_right;
}
if ((tb13_spaces == 0)){
tb13_counterOneMsg++;
if (tb13_counterOneMsg == tb13_bncOneMsg){
if (tb13_currMsg == tb13_messages.length-1){
if ((tb13_rptType == 'finite') && (tb13_counter==tb13_rptNbr)){
clearTimeout(tb13_timer);
return;
}
tb13_counter++;
tb13_currMsg=0;
tb13_counterOneMsg=0;
}
else{
tb13_currMsg++;
tb13_counterOneMsg=0;
}
}
}
tb13_timer = setTimeout("tb13_bounce()", tb13_speed);
}
tb13_bounce();
[/spoiler]
rep yah?
Last edited by andHa (2008-07-16 07:43:03)