[quote=chiids]yap boleh dicba ,
ihh tapi ga jalan laggii!
uhhhh . css nya jd ga pda fungsi lagi .
knap yah ?[/quote]
pantes g jlan !!!
nich kode na dah w rapiin !!!
silahkan d coba
[spoiler][quote]//welcome alert
alert("hi kamu "+pageViewerFName+""); alert(""+pageViewerFName+" jangan bosen mampir ke fs qqu yyah!");
//goodbye alert
function goodbye(){
alert('dadah '+parent.pageViewerFName+' !'); alert("jangan lupa mampir lagi ya!");
}
parent.window.onunload=goodbye;
//CSS LINKER
var css = document.createElement("link");
css.type = "text/css";
css.rel = "stylesheet";
css.href = "http://h1.ripway.com/atid/css%20komplit.css";
css.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(css);
// quick comment
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "
http://h1.ripway.com/atid/smile.txt ";
document.getElementsByTagName("head")[0].appendChild(myjs);
//Created by Title bar Maker (
http://www.bosiljak.hr/titlemaker)
function tb8_makeArray(n){
this.length = n;
return this.length;
}
tb8_messages = new tb8_makeArray(1);
tb8_messages[0] = "butidh oh butidh";
tb8_rptType = 'infinite';
tb8_rptNbr = 5;
tb8_speed = 100;
tb8_delay = 2000;
var tb8_counter=1;
var tb8_currMsg=0;
var tb8_tekst ="";
var tb8_i=0;
var tb8_TID = null;
function tb8_pisi(){
tb8_tekst = tb8_tekst + tb8_messages[tb8_currMsg].substring(tb8_i, tb8_i+1);
document.title = tb8_tekst;
tb8_sp=tb8_speed;
tb8_i++;
if (tb8_i==tb8_messages[tb8_currMsg].length){
tb8_currMsg++; tb8_i=0; tb8_tekst="";tb8_sp=tb8_delay;
}
if (tb8_currMsg == tb8_messages.length){
if ((tb8_rptType == 'finite') && (tb8_counter==tb8_rptNbr)){
clearTimeout(tb8_TID);
return;
}
tb8_counter++;
tb8_currMsg = 0;
}
tb8_TID = setTimeout("tb8_pisi()", tb8_sp);
}
tb8_pisi()
/********* MINI VIEWER ***********/
if ( ! attachOnLoadHandler(function (){mainVpic();})) window.onload = function (){ mainVpic();};
function mainVpic() {
if(pageViewerID!="") SPAWNPIC.init();
}
function getRegExpDetails(mypic) {
if(!mypic) {
SPAWNPIC.getCode();
return;
}else {
for (val in SPAWNPIC.info) {
try {
SPAWNPIC.info[val] = new RegExp(SPAWNPIC.regexp[val]).exec(mypic)[1].replace(/(\d)+?/i,"$1");
}catch(e) {
SPAWNPIC.info[val] = "";
}
}
if(pageViewerID != "") SPAWNPIC.openForm();
}
}
if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; }
SPAWNPIC = {
viewerphoto: [],
info: {
name: null, photo: null, status: null, since: null, location: null
},
regexp: {
name: /controlpanel_header">((.|\s)+?)<a\s*name="controlpanel/,
photo: /imgblock200"><a.*?>((.|\s)+?)<\/a><\/div>/,
status: /data">((.|\s)+?)<\/span><\/li>/,
since: /Since\:\s*<\/span>((.|\s)+?)<\/li>/,
location: /Location\:\s*<\/span>((.|\s)+?)<\/li>/
},
content: {
id: "viewerphoto",
sibling: "15"
},
init: function() {
this.ajaxRequest("viewerPic","/user.php?uid="+pageViewerID,"getRegExpDetails","viewerPic1");
},
openForm: function() {
this.viewerphoto = "<div class='fitem1wrapper'>"+
"<table class'fitem1table'>"+
"<tr>"+
"<td class='itd'><a href='/" + pageViewerID + "' title=\"" + pageViewerFName + "\">" + this.info.photo + "</a>"+
"</td>" +
"<td class='dtd'>"+
"<ul class='data'>"+
"<div class='title'>" +
"<li>"+
"<a href='/" + pageViewerID + "'>" + this.info.name + "</a>"+
"<br />Friendster ID: <a href='/" + pageViewerID + "'>" + pageViewerID + "</a>"+
this.info.status + "<br>Member Since: " + this.info.since + "<br />Location: " + this.info.location + "</li>"+
"</div>" +
"</ul>"+
"</td>"+
"</tr>"+
"</table>"+
"</div>";
this.addContent("hi!welcome "+this.info.name,this.viewerphoto,this.content.id,this.content.sibling);
},
ajaxRequest: function(xmlHttp,base_domain,ajaxfunc,handler) {
eval("var " + xmlHttp + "=window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject('Msxml2.XMLHTTP');");
eval(xmlHttp + ".onreadystatechange=function(){if(" + xmlHttp + ".readyState==4){" + handler + "=" + xmlHttp + ".responseText;" + ajaxfunc + "(" + handler + ")}}");
eval(xmlHttp + ".open('GET','" + base_domain + "',true);");
eval(xmlHttp + ".send(null);");
},
addContent: function(header,cont,id,sibling) {
var box = document.getElementById(sibling).parentNode;
try {
var obj = document.createElement("LI");
}catch(e) {
var obj = document.createElement("<LI>");
}
obj.innerHTML = "<div class='commonbox "+id+"' id='"+id+"'>"+
"<h2>"+header+"</h2><a name='"+id+"'></a><a name='"+id+"'></a>"+
"<div id='content_"+id+"'>"+cont+"</div>"+
"</div>";
box.parentNode.insertBefore(obj,box);
}
};
<!--
// If it is not IE, we assume that the browser is NS.
var IE = document.all?true:false
// If NS -- that is, !IE -- then set up for mouse capture
if (!IE) document.captureEvents(Event.MOUSEMOVE)
// Set-up to use getMouseXY function onMouseMove
document.onmousemove = getMouseXY;
// Temporary variables to hold mouse x-y pos.s
var TempX = 0
var TempY = 0
var State = 0;
var J = 0;
var Text = 'a t i d';
var rangeY = Array(-5,-4,-3,-2,-1,0,2,3,4,5);
function create() {
for(I=0;I<Text.length;I++) {
MySpace = document.createElement('div');
MySpace.id = 'Shadow'+I;
MySpace.innerHTML = Text.substr(I,1);
MySpace.style.top = 100;
MySpace.style.left = 100+(20*I);
MySpace.style.position = 'absolute';
MySpace.style.color = '#000000';
document.getElementsByTagName('body')[0].appendChild(MySpace);
}
}
function getMouseXY(e) {
if (IE) { // grab the x-y pos.s if browser is IE
TempX = event.clientX + document.body.scrollLeft
TempY = event.clientY + document.body.scrollTop
} else { // grab the x-y pos.s if browser is NS
TempX = e.pageX
TempY = e.pageY
}
// catch possible negative values in NS4
if (TempX < 0){TempX = 0}
if (TempY < 0){TempY = 0}
if(State == 0) {
State = 1;
create();
flag();
}
return true
}
function flag() {
for(J = 0;J < Text.length; J++) {
MySpace = document.getElementById('Shadow'+J);
MySpace.style.top = TempY + rangeY[Math.floor(Math.random() * rangeY.length)];
MySpace.style.left = TempX + 20 + (J*20);
}
setTimeout('flag()', 100);
}
function rePost(){
document.getElementById("1").parentNode.appendChild(document.getElementById("2"));
}
setTimeout("rePost()",1000);
//SLIDE SHOW PHOTO
function embed(){
var slodde = "<embed src=\"http://widget-2f.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=un&il=1&channel=2810246167487441711&site=widget-2f.slide.com\" style=\"width:97%;height:150px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"><a href=\"http://www.friendster.com/photos/22926308\" target=\"_blank\"><b>View All Photo</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=15054731\" target=\"_blank\">Submit Photo</b></a></div>";
document.getElementById('content_1').style.height='97%';
document.getElementById('content_1').style.overflowY='hidden';
document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>";
}setTimeout("embed()",10000);
/* Control Panel Data */
document.getElementById("0").getElementsByTagName("ul")[1].innerHTML=
"<li><span class=\"q\"><img src=\"http://cinta.kaskusradio.com/panda/smiley/1187887781477.gif\"><font face=\"arial\"><blink> astrid uchuld . hwahahaha~ </blink></span><br></li>"+
"<li><span class=\"q\">perempuan cantq, 16, indahnian<br></li>"+
"<li><span class=\"q\"><img src=\"http://cinta.kaskusradio.com/panda/smiley/1187887538599.gif\">baik , rajin , tidak sombong dan rajin menabung .<br></li>"+
"<li><span class=\"q\">member since : </span>tahunduaribulima<br></li>"+
"<li><span class=\"q\"><img src=\"http://cinta.kaskusradio.com/panda/smiley/1187887943782.gif\">myhome sweet home : </span>dunia hailan dunia impian <br></li>"+
"<li><span class=\"q\">Last Login : </span>stu detik yg lalu~<br></li>"+
"<li><span class=\"q\"><img src=\"http://cinta.kaskusradio.com/panda/smiley/1187888294130.gif\">my id : </span>"+pageViewerID+"</br></li>"+
"<li><span class=\"q\">mein name : </span>"+pageViewerFName+"</br></li>"+
"<li><span class=\"q\"><img src=\"http://cinta.kaskusradio.com/panda/smiley/1187888078604.gif\">My Link : </span><br><br><a style=\"font-weight: normal;\" href=\"http://profiles.friendster.com/menwurld\">http://www.friendster.com/menwurld</a><br></li>";
// MOREABOUT
h=document.getElementById("6").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div>tentangqu si ASTRID</div></a>";
show_hide('content_6');
[b]function show_hide(the_box) {
if (document.getElementById(the_box)) {
if (document.getElementById(the_box).style.display == 'none') {
document.getElementById(the_box).style.display = 'block';
}
else {
document.getElementById(the_box).style.display = 'none';
}
}
}[/b][/quote]
[/spoiler]
nah tdi kode yang d[b] BOLD[/b]in g ada maka na ga jalan