[/quote]
cba js na kmu gannti dgn ini bro...
[spoiler]<">[/spoiler]
sebelum loe ganti dgn js yg diatas...
kmu back up dlu js yg lama...
dicoba dlu bro...
[quote=umarsandi]pake ini ajah ya... tolong di editin biar
show_hide('content_...'); bisa berjalan
please
ni mini viewer aku[/quote]
untuk mini viewer bsa kmu ganti dengan ini....
[spoiler][quote]/*
Viewer's Main Photo Sidebar
Author: FeRuZZ � http://profiles.friendster.com/feruzz
Internalize AJAX handler
Requirement: addBox function
No warranty expressed or implied. Use at your own risk.
*/
if((pageViewerLangPref !== "en-US") || (window.location.href.indexOf("en-US") === -1)) {
window.location.href = "http://profiles.friendster.com/"+pageOwnerID+"?lang=en-US&updatelang=1";
}
if (!attachOnLoadHandler(function() { SPAWNPIC.init(); })) window.onload = function() { SPAWNPIC.init(); };
if (typeof SPAWNPIC == "undefined" || !SPAWNPIC) { SPAWNPIC = window.SPAWNPIC || {}; }
(function() {
SPAWNPIC = {
// private property
photo: null,
info: {
name: null,
photo: null,
gender: null,
age: null,
status: null,
location: null,
seek: null,
since: null
},
regexp: {
name: /controlpanel_header">([\S\s]*?)<a\s*name="controlpanel/i,
photo: /imgblock200"><a[\S\s]*?>([\S\s]*?)<\/a><\/div>/i,
gender: /q">([\S]*male)/i,
age: /male,\s*([\d]*),/i,
status: /male,\s*[\d]*,\s*([\S\s]*?)<\/span>/i,
location: /Location\:\s*<\/span><a[\S\s]*?>([\S\s]*?)<\/a><\/li>/i,
seek: /Interested\s*In\:\s*<\/span>([\S\s]*?)<\/li>/i,
since: /Member\s*Since\:\s*<\/span>([\S\s]*?)<\/li>/i
},
init: function() {
try {
SPAWNPIC.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, SPAWNPIC.viewer, null);
} catch(e) {}
},
viewer: function(mypic) {
if (mypic.replace(/^\s*|\s*$/g, "") === null) {
alert("VMP Error: Unable to parse user details!");
return;
} else if (mypic) {
for (var val in SPAWNPIC.info) {
try {
SPAWNPIC.info[val] = new RegExp(SPAWNPIC.regexp[val]).exec(mypic)[1].replace(/^(\d)$/, "0$1");
} catch(e) {
SPAWNPIC.info[val] = "";
}
}
var status = SPAWNPIC.info.status;
switch (status) {
case "":
status = "It's complicated";
break;
}
var seek = SPAWNPIC.info.seek;
switch (seek) {
case "":
seek = "Just looking around";
break;
}
SPAWNPIC.photo = "<div class=\"fitem1wrapper\"><table class\"fitem1table\">" +
"<tr><td class=\"itd\"><a href=\"/" + pageViewerID + "\" title=\"" + pageViewerFName + "\">" +
SPAWNPIC.info.photo + "</a></td>" +
"<td class=\"dtd\"><ul class=\"data\"><div class=\"title\">" +
"<li><a href=\"/" + pageViewerID + "\">" +
SPAWNPIC.info.name + "</a><br>" +
pageViewerID.replace(/^\s*[\d]*?/gi, "Friendster ID: ") + "<br>" +
SPAWNPIC.info.gender + ", " + SPAWNPIC.info.age + ", " + status + "<br>" +
"Interested In: " + seek + "<br>" +
SPAWNPIC.info.since.replace(/^\s*[\w]*?/gi, "Member Since: ") + "<br>" +
SPAWNPIC.info.location.replace(/^\s*[\S\s]*?/gi, "Location: ") + "</li>" +
"</div></ul></td></tr></table></div>";
addBox("[b]RIGHT[/b]","<a href=\"#\" onClick=\"show_hide('content_spawnpic'); return false\"><div title=\"header=[[b]EDIT DISINI[/b]] body=[[b]EDIT DISINI[/b]]\">Mini Viewer</div></a>", SPAWNPIC.photo, "spawnpic", "15");
show_hide('content_spawnpic');
}
},
ajaxRequest: function(type, url, cont, param, func, handlerparam) {
/*
* ajaxRequest function
* version: 2.1
* Copyright: FeRuZZ � http://profiles.friendster.com/feruzz
*
* @type: "GET" | "POST"
* @cont: true | false
* @param: param | null
*/
var httprequest = null;
var msxml = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP", "Microsoft.XMLHTTP"];
for (var x = 0, len = msxml.length; x < len; x++) {
try {
httprequest = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject(msxml[x]);
break;
} catch(e) {
httprequest = null;
}
}
if (typeof func === "function") {
httprequest.onreadystatechange = function() {
if (httprequest.readyState === 4) {
if (httprequest.status === 200) {
func(httprequest.responseText, handlerparam);
}
}
};
}
httprequest.open(type, url, cont);
httprequest.setRequestHeader("ajaxRequest", "true");
httprequest.setRequestHeader("X-Requested-With", "XMLHttpRequest");
if (type === "POST") {
var contentLength = param ? param.length: 0;
httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
httprequest.setRequestHeader("Content-length", contentLength);
if (httprequest.overrideMimeType) {
httprequest.setRequestHeader("Connection", "close");
}
}
httprequest.send(param);
}
};
})();[/quote]
[/spoiler]
yg saia bold kmu sesuaikan sendiri
Last edited by mametgitu (2008-07-27 12:45:10)
ato klo mau tetap diedit..
cba lu apus random friends na
sekalian jga apus yg Ffetcher.init();
[/quote]
jsnya dah bener blom bro .. mungkin ada yg bentrok ..
[b]@ mamed[/b]
itu med bagian B nya blum di tutup }
med soir random friendnya ga kelar
gw juga binun .. sama kya si adiyat juga ga bisa ..
Last edited by Co_don SanAdH (2008-07-27 13:19:33)
malam all
liat nech dunks...
[img]http://img213.imageshack.us/img213/2334/sdfux2.png[/img]
klo tombol2 nya diganti gmn yach?
[quote]theme.setAttribute("style","padding-top:5px");
theme.innerHTML = "<div align='right' id='themeswitch'>"+
"<h2><font face=\"Century gothic\" size=\"4\" color=\"red\"><b>PILIH LAYOUTS KESUKAAN ANDA DISINI<font></b><h2>"+
"<input style='font: 12px Trebuchet MS;' type='button' value='- HULK -' onClick=\"ActivateCSS('1'); return false;\">"+
" <input style='font: 12px Trebuchet MS;' type='button' value='- GREEN DAY -' onClick=\"ActivateCSS('2'); return false;\">"+
" <input style='font: 12px Trebuchet MS;' type='button' value='- SPIDERMAN -' onClick=\"ActivateCSS('3'); return false;\">"+
" <input style='font: 12px Trebuchet MS;' type='button' value='- DEVIL -' onClick=\"ActivateCSS('4'); return false;\">"+
" <input style='font: 12px Trebuchet MS;' type='button' value='- TROY -' onClick=\"ActivateCSS('5'); return false;\">"
document.getElementById("navigation").parentNode.appendChild(theme);[/quote]
bagian tuch di ganti jd spt pah?

med soir random friendnya ga kelar
gw juga binun .. sama kya si adiyat juga ga bisa ..
[/quote]
kyk na td uda gue kasih tanda itu don...
tpi gk tau ntah dihapus na...
thankz yach da ngerepotin...
biarkan aja random friend na tuch...
pale ane pun da mau pecah...
[/quote]
hhaa.. ntar ajah abis kontes pasang lagih med
[b]@ ily[/b]
beginih coba
<">

[url=http://profiles.friendster.com/dleysia]my fs[/url]
[url=http://h1.ripway.com/dedy18/scream.txt]My Js[/url][/b]
Last edited by dedy_182 (2008-07-27 14:42:19)