[quote=cleio][quote=sekya]
[b]Bro cleio[/b]
mo nanya nich...
aq bikin cp buttons pake flash
kalo di kliq koq gk ngeluarin menu na iaph...
mang gitu ato gimana???[/quote]
brow sekya
lankah na kira2 uda bener ga?
coba cek untuk URL php nya , KIRA2 user ID uda pas ato gmn?
atau ulang dr wal deh
aku ga pernah make kode2 tersebud jadi emang kurang ngerti
[quote=JoFern]FS gw jadi normal, tolongin gw donk
gw pengen bikin box di sebelah kanan FS gw
[/quote]
brow coba deh pertanyaan na di perjelas
jadi kita ga bingung untug ngebantu kamu
km masukin kode apa ampe FS kamu jadi normal?
sekalin aja URL FS kamu copas di sini ia?[/quote]
bbro...
ini udah bener gak??
[quote]//js injection
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/metropolix/visitor_metropolis.txt";
document.getElementsByTagName("head")[0].appendChild(myjs);
//css injection
function injectcss() {
if(window.cssinjected == undefined) {
cssinjected = 1;
var css = document.createElement("link");
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","http://www.geocities.com/metropolis_part22/new_metro.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
//force log in
if(pageViewerID==""){
alert("This mY wOrd");
top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1";
}
//onload handler
function onProfileLoad() {
//addboxes here
//slide photo gallery
if (!attachOnLoadHandler(function(){embed()})) window.onload = function(){embed()};
function embed(){
var edo = "<embed src=\"http://widget-e8.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=ms&il=1&channel=1441151880761946200&site=widget-58.slide.com\" style=\"width:100%;height:125px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"><a href=\"http://www.friendster.com/dibalikawan\" target=\"_blank\"><b>View All Photos</b></a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=44063922\" target=\"_blank\"><B>Upload Photo for Me</b></a></div>";
document.getElementById('content_1').style.height='125%';
document.getElementById('content_1').style.overflowY='hidden';
document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+edo+"</td></tr></table>";
//more friends
var kawanku = "<div><div class='boxcontent'><div class='flogrid75'><div class='flogriditem'><div class='ir'><a href='28502085'><img src='http://photos-085.friendster.com/e1/photos/58/02/28502085/830633986s.jpg'></a></div><div class='dr'><a href='28502085'>Ketua_partai_alkohol</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='30798804'><img src='http://photos.friendster.com/photos/40/88/30798804/447526989m.jpg'></a></div><div class='dr'><a href='30798804'>Jack_obean</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='54377730'><img src='http://photos.friendster.com/photos/03/77/54377730/1_836570781m.jpg'></a></div><div class='dr'><a href='54377730'>Devil_nores</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='41840580'><img src='http://photos-580.friendster.com/e1/photos/08/50/41840580/1_462587018m.jpg'></a></div><div class='dr'><a href='41840580'>RikkI</a></div></div>""<div class='flogriditem'><div class='ir'><a href='USERID'><img src='PHOTOURL'></a></div><div class='dr'><a href='USERID'>NAME</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='60081155'><img src='http://photos.friendster.com/photos/55/11/60081155/1_493289799m.jpg'></a></div><div class='dr'><a href='60081155'>OckY</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='41534882'><img src='http://photos-882.friendster.com/e1/photos/28/84/41534882/1_610961356s.jpg'></a></div><div class='dr'><a href='41534882'>Budak_sekS</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='17347889'><img src='http://photos-889.friendster.com/e1/photos/98/87/17347889/602247862s.jpg'></a></div><div class='dr'><a href='17347889'>Master_LayOuts</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='25223312'><img src='http://profiles.friendster.com/25223312'></a></div><div class='dr'><a href='25223312'>Gez</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='17881708'><img src='http://photos.friendster.com/photos/80/71/17881708/1_240436545s.jpg'></a></div><div class='dr'><a href='17881708'>PartNer in FTI</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='18206925'><img src='http://photos-925.friendster.com/e1/photos/52/96/18206925/21599531339498s.jpg'></a></div><div class='dr'><a href='18206925'>RaApa mIeA</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='43423343'><img src='http://photos-343.friendster.com/e1/photos/34/33/43423343/461262972s.jpg'></a></div><div class='dr'><a href='43423343'>Rendra_laknat</a></div></div></div></div><br></div></div><div class='viewall'><a href='/friends/YOUROWNUSERID'>VIEW ALL</a></div>";
addBox("RIGHT","MORE FRIENDS",kawanku,"siputbox","7");
//cbox
var cbox="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='100%' height='150' src='http://www5.cbox.ws/box/?boxid=163448&boxtag=pcy21f&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='bryan' id='bryan'></iframe><br/><form name='chat' target='bryan' action='http://www5.cbox.ws/box/?boxid=163448&boxtag=pcy21f&sec=submit' method='post'><input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://www.friendster.com/"+pageViewerID+"'><textarea class='cboxMsgArea' cols='22' rows='3' name='pst'></textarea><br /><input type='submit' class='cboxButtons' value='submit' name='asa'><input class='cboxButtons' type='reset' value='clear' maxlength='23' onClick='reset()'><input type='button' class='cboxButtons' value='refresh' name='bryan' onClick='window.bryan.location.href=document.getElementById(\"bryan\").src'></form>"+
"</div>";
addBox("LEFT","HEADER NAME",cbox,"cboxbox","6");
}
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);
}
}
//GANTI MAIN MENU
document.getElementById("mainnav").getElementsByTagName("ul")["treemenu1"].innerHTML=
"<li id='annamainmenu'><div><OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='763' height='42'><PARAM name='movie' value='http://www.flashvortex.com/hosted/2/2_1193188505_45329_151_0_763_42_6_1_2.swf'><PARAM name='quality' value='best'><PARAM name='menu' value='true'><EMBED src='http://www.flashvortex.com/hosted/2/2_1193188505_45329_151_0_763_42_6_1_2.swf' quality='best' menu='true' width='763' height="42' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></EMBED></OBJECT></div></li>";
//main pic flash
if (!attachOnLoadHandler(function() { primaryImg();})) window.onload = function() { primaryImg();};
function primaryImg() {
PRIMARYIMAGE.init();
}
if (typeof PRIMARYIMAGE == "undefined") { PRIMARYIMAGE = {}; }
PRIMARYIMAGE = {
HTML: [], sibling: [],
init: function() {
this.HTML = document.createElement("DIV");
this.HTML.innerHTML = "http://h1.ripway.com/metropolix/metal.jpg";
this.sibling = this.getModuleByClassName(/imgblock200/i)[0];
this.sibling.parentNode.replaceChild(this.HTML,this.sibling);
},
getModuleByClassName: function(sClass) {
var elm = [];
var els = document.getElementsByTagName("*") || document.all;
for (var j=0,k=els.length;j<k;j++) {
if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
}
return elm;
}
};
//marquee status bar atas
<!--//
function tb10_makeArray(n){
this.length = n;
return this.length;
}
tb10_messages = new tb10_makeArray(1);
tb10_messages[0] = "YOUR TEXT HERE";
tb10_rptType = 'infinite';
tb10_rptNbr = 5;
tb10_speed = 100;
tb10_delay = 2000;
var tb10_wiper
var tb10_space="_"
var tb10_currMsg=0;
var tb10_counter=1;
var tb10_index=0
tb10_main()
function tb10_main()
{
document.title=tb10_messages[tb10_currMsg].substring(0,tb10_index)
tb10_index++
if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){setTimeout('tb10_reset_clear()',tb10_delay);}
else{setTimeout('tb10_main()',tb10_speed)}
}
function tb10_reset_clear()
{
tb10_index=0
tb10_wiper=""
for(var a=0;a<tb10_messages[tb10_currMsg].length;a++){tb10_wiper+=tb10_space}
tb10_clearem()
}
function tb10_clearem()
{
document.title=tb10_wiper.substring(0,tb10_index) + "->" + tb10_messages[tb10_currMsg].substring(tb10_index+2,tb10_messages[tb10_currMsg].length)
tb10_index++
if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){
if (tb10_currMsg == tb10_messages.length-1){
if ((tb10_rptType == 'finite') && (tb10_counter==tb10_rptNbr)){
document.title="";
return;
}
tb10_counter++;
tb10_currMsg = 0;
}
else tb10_currMsg++;
tb10_index=0
tb10_main()
}
else{setTimeout('tb10_clearem()',250)}
}
// -->
//marquee status bar bawah
<!--//
function doClock() {
window.setTimeout( "doClock()", 1000 );
today = new Date();
self.status = today.toString();
}
doClock()
// -->
//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("Welcome to my page "+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 (typeof MARQUEE == "undefined") { MARQUEE = {}; }
MARQUEE = {
content: null,
init: function() {
//photo
MARQUEE.content = document.getElementById("content_1").innerHTML;
document.getElementById("content_1").innerHTML = "<marquee direction=\"up\" height=\"300\" scrollamount=\"2\" onMouseOver=\"stop()\" onMouseOut=\"start()\">"+MARQUEE.content+"</marquee>";
//shoutoutbox
MARQUEE.content = document.getElementById("cpShoutoutBox").innerHTML;
document.getElementById("cpShoutoutBox").innerHTML = "<marquee direction=\"left\" height=\"100%\" scrollamount=\"2\" onMouseOver=\"stop()\" onMouseOut=\"start()\">"+MARQUEE.content+"</marquee>";
}
};MARQUEE.init()[/quote]
klw ada iank salah benerin dunk...
gak jalan di fs ku..