[b]venusvhie[/b] :idea::idea::idea:
ini
[url]http://theftalk.com/t33646-%5BTUTORIAL%5D-FS-1-Kolom-(paling-simple)-Updated.html[/url]
all
minta bantuannya dumss..
ada yang punya supaya tampilan efesnya satu kolom aja ggaa..??? 
[/quote]
masuk sini ja neng
ni yang paling simple .gif)
Last edited by Freeya (2008-06-16 09:52:31)
all
minta bantuannya dumss..
ada yang punya supaya tampilan efesnya satu kolom aja ggaa..??? 
[/quote]
masukan code ini di bagian atas .js ato .txt kamu...
[spoiler] document.getElementById("shimrow").setAttribute("style","display:none");
getElementByClassName("rtd")[0].setAttribute("style","display:none");
getElementByClassName("ltd")[0].getElementsByTagName("ul")[0].innerHTML+=getElementByClassName("rtd")[0].getElementsByTagName("ul")[0].innerHTML;
get_nextsibling(getElementByClassName("ltd")[0]).setAttribute("style","display:none");
function get_nextsibling(n)
{
x=n.nextSibling;
while (x.nodeType!=1)
{
x=x.nextSibling;
}
return x;
}
function getElementByClassName(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;
} [/spoiler]
terus...
masukan code ini di .css kamu...
[spoiler] .commonbox{width:[color=red]???[/color]px}
.banner_ad{display:none !important} [/spoiler]
[color=red]???[/color] lebarnya...
dapad di ganti menjadi 500 ato sesuka hati-mu...
selamad mencoba and semoga berhasil!! .gif)




[b]oby_nagnar[/b] font apa dulu niy?
[b][email protected][/b] ni taro d css
[quote].myfans {display:none;}
.fanof {display:none;}[/quote]
[/quote]
font buat di header om.....
[b]oby_nagnar[/b] tmbah kan kek gini d addboxnya [quote]<font color=[b]red[/b]>kotax cet tguuh</font>[/quote]
contoh
[quote]addBox("LEFT","[b]<font color=red>kotax cet tguuh</font>[/b]",cbox,"cbox","6");[/quote]
dmana
[quote]// CONTROLPANEL
chiemo=document.getElementById("controlpanel_header");
chiemo.innerHTML="<div align='center'><img src='URL IMAGE DI SINI'></div>";
// PHOTO
chiemo=document.getElementById("1").getElementsByTagName("h2")[0];
chiemo.innerHTML="<div align='center'><img src='URL IMAGE DI SINI'></div>";
// BLOGS
chiemo=document.getElementById("13").getElementsByTagName("h2")[0];
chiemo.innerHTML="<div align='center'><img src='URL IMAGE DI SINI'></div>";
// REVIEWS
chiemo=document.getElementById("12").getElementsByTagName("h2")[0];
chiemo.innerHTML="<div align='center'><img src='URL IMAGE DI SINI'></div>";
// MOREABOUT
chiemo=document.getElementById("6").getElementsByTagName("h2")[0];
chiemo.innerHTML="<div align='center'><img src='URL IMAGE DI SINI'></div>";
// PUBLICCOMMENT
chiemo=document.getElementById("18").getElementsByTagName("h2")[0];
chiemo.innerHTML="<div align='center'><img src='URL IMAGE DI SINI'></div>";
// MEDIABOX
chiemo=document.getElementById("10").getElementsByTagName("h2")[0];
chiemo.innerHTML="<div align='center'><img src='URL IMAGE DI SINI'></div>"[/quote]
Last edited by oby_nagnar (2008-06-16 10:39:09)
[b]oby_nagnar[/b]
addbox di js bro tepatnya bagian [b]b[/b]
kalo kode diatas silakan ditaro di bagian [b]c[/b]
[quote]/* MASTER HEADERS */
.commonbox h1, .commonbox h2 {
color: [b]FF0033[/b];
}[/quote]
edit yang [b]bold[/b] buat warnanya kesini
[url]http://friendster-tweakers.com/resources/hex-colors/[/url]
[b]all [/b] gue cari2 addbox buat mini viewer dmn y?
Last edited by teguh0203 (2008-06-16 10:41:05)
dmana[/quote]
Kalo yg itu headernya pake image bro
Warnanya ya tergantung dari image yg dipake buat header itu sendiri
Jd kalo mau ganti warna ya mesti ganti image
[b]teguh0203[/b]
qm pake mini viewer versi brp bro. .
posting za kemari mini viewer codenya biar saya liat. .
header
foto galery
selengkapnya ttg q
randomizer friend
testi
kotak media
mini viewer
my friend
shoutbox
visitor[/b]
kasih tau ya om...
klo bisa....
skalian code2 kayak punya q yng diatas...
please... 

[b]all[/b] kok kek gini gak jalan y?
[spoiler]visitoralbum="<div class='flogrid75'>"+VA.info.album.replace(/photothumb/gi,"flogriditem").replace(/m.jpg/gi,"t.jpg");
addBox("LEFT","[b]<img src='http://i249.photobucket.com/albums/gg219/teguh0203/teguhsukapotoini1.png'>[/b],visitoralbum,"visitoralbum",null);
}
}
};[/spoiler]
ini mini viewer nya,gmn pake addbox biar [spoiler]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: "2"
},
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("pengunjung terbaik"+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);
}
};[/spoiler]
Last edited by teguh0203 (2008-06-16 10:51:53)
[b]teguh0203[/b]
pake code ini bro. .
ganti mini viewer qm yg dulu. .
[spoiler]/**
* Viewer's Main Photo Sidebar
* Copyright 2007-2008 by FeRuZZ � http://profiles.friendster.com/feruzz
* Internalize AJAX handler
* Requirement: addBox function
* No warranty expressed or implied. Use at your own risk.
**/
/*global SPAWNPIC*/
SPAWNPIC = {};
/* just get rid if you already have one */
if (pageViewerLangPref !== "en-US") {
window.location.href = "http://" + location.hostname + "/" + pageOwnerID + "?lang=en-US&updatelang=1";
}
if (!attachOnLoadHandler(function () { SPAWNPIC.init(); })) window.onload = function () { SPAWNPIC.init(); };
(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>([\w]*?[\s][\d]*?)<\/li>/i
},
init: function () {
try {
SPAWNPIC.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, SPAWNPIC.viewer, null);
} catch (e) {}
},
viewer: function (htm) {
if (htm.replace(/^\s*|\s*$/g, "") === "") {
alert("VMP Error: Unable to parse user details!");
return;
} else if (htm) {
for (var val in SPAWNPIC.info) {
if (typeof SPAWNPIC.info[val] !== "function") {
try {
SPAWNPIC.info[val] = new RegExp(SPAWNPIC.regexp[val]).exec(htm)[1].replace(/^(\d)$/, "0$1");
} catch (e) {
SPAWNPIC.info[val] = "";
}
}
}
if (SPAWNPIC.info.seek === "") {
SPAWNPIC.info.seek = "Just looking around";
}
SPAWNPIC.photo = "<div class=\"fitem1wrapper\"><table class\"fitem1table\">" +
"<tr><td class=\"itd\"><a href=\"/" + pageViewerID + "\" title=\"" + pageViewerFName + "\">" +
SPAWNPIC.info.photo.replace(/<img /gi, "<img class=\"shakeimage\" onMouseover=\"initshake(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\" onClick=\"top.focus()\" width=\"100\" height=\"100\" ") + "</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 + ", " + SPAWNPIC.info.status.replace(/<[\S]*?>/g, "") + "<br>" +
SPAWNPIC.info.seek.replace(/^\s*[\S\s]*?/gi, "Interested In: ") + "<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("LEFT","<a href=\"#\" onClick=\"show_hide('content_spawnpic'); return false\"><div title=\"header=[mini viewer] body=[enjoy ya disini, jangun lupa ninggalin comment]\"><img src='[b]URL HEADER FONTS[/b]'></div></a>", SPAWNPIC.photo, "spawnpic", "0");
show_hide('content_spawnpic');
}
},
ajaxRequest: function (type, url, async, param, func, handlerparam) {
/**
* ajaxRequest - You may not remove or change this notice.
* version: 2.4
* Copyright 2008 by FeRuZZ � http://profiles.friendster.com/feruzz.
*
* @type: "GET" | "POST"
* @cont: true | false
* @param: string | null
* @func: string | null
* @handlerparam: string | null
**/
var httprequest = null;
var requestDone = false;
var data = null;
var responseType = "text";
var timeout = 0;
var ival = null;
var onreadystatechange = {};
var msxml = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP", "Microsoft.XMLHTTP"];
for (var x = 0, len = msxml.length; x < len; x += 1) {
try {
httprequest = window.ActiveXObject ? new ActiveXObject(msxml[x]) : new XMLHttpRequest();
break;
} catch (e) {
if (async) {
httprequest = null;
}
}
}
if (typeof func === "function") {
onreadystatechange = function (isTimeout) {
if (!requestDone && httprequest && (httprequest.readyState === 4 || isTimeout === "timeout")) {
requestDone = true;
if (ival) {
window.clearInterval(ival);
ival = null;
}
if (!httprequest.status && location.protocol === "file:" || (httprequest.status >= 200 && httprequest.status < 300) || httprequest.status === 304 || httprequest.status === 1223) {
var resPonse = (/xml/i.test(responseType))? httprequest.responseXML : httprequest.responseText;
func(resPonse.replace(new RegExp("<script[^>]*>.*?<\/script>", "gi"), ""), handlerparam);
}
}
};
}
if (async) {
ival = window.setInterval(onreadystatechange, 13);
if (timeout > 0) {
window.setTimeout(function () {
if (httprequest) {
httprequest.abort();
if (!requestDone) {
onreadystatechange("timeout");
}
}
}, timeout);
}
}
if (type === "GET" && (/GET/i.test(type))) {
var ts = new Date().getTime();
var ret = url.replace(/(\?|&)_=[\S\s]*?(&|$)/, "$1_=" + ts + "$2");
url = ret + ((ret === url) ? (url.match(/\?/) ? "&" : "?") + "_=" + ts : "");
}
if (data && type === "GET" && (/GET/i.test(type))) {
url += (url.match(/\?/) ? "&" : "?") + data;
data = null;
}
if (type === "POST" && (/POST/i.test(type))) {
var headers = "application/x-www-form-urlencoded" + ("UTF-8" ? "; charset=" + "UTF-8" : "");
var contentLength = param ? param.length: 0;
try {
httprequest.setRequestHeader("Content-type", headers);
httprequest.setRequestHeader("Content-length", contentLength);
if (httprequest.overrideMimeType && (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0, 2005])[1] < 2005) {
httprequest.setRequestHeader("Connection", "close");
}
} catch (err) {}
}
httprequest.open(type, url, async);
httprequest.setRequestHeader("ajaxRequest", "true");
httprequest.setRequestHeader("X-Requested-With", "XMLHttpRequest");
httprequest.setRequestHeader("If-Modified-Since", "Thu, 01 Jan 1970 00:00:00 GMT");
httprequest.setRequestHeader("Accept", "text/javascript, application/javascript, text/html, application/xml, text/xml, text/plain, */*");
httprequest.send(param);
if (!async) {
onreadystatechange();
}
}
};
})();
[/spoiler]
[b]sobat_iza[/b]
kesini za untuk linker terbaru. .
[url]http://theftalk.com/f5-Friendster-Underground.html[/url]
Last edited by yondaime4th (2008-06-16 11:05:15)