[url=http://h1.ripway.com/rezanf/jsmentah.txt][b]JS MENTAH[/b][/url]
udah dikasih tanda2/batas2an antar bagian
klo misalnya disuruh taro di bagian A
taro aja dibawah tulisan
[quote]//BAGIAN A[/quote]
begitu pula dengan bagian B dan C
Last edited by kiddy (2008-06-27 09:18:55)
[/quote]
kk gmn cara nya pit
dah mau pecah aj kpla aq ne mikir kn ny
Last edited by kiddy (2008-06-27 09:25:09)
[spoiler]/*RANDOMIZED FRIENDS*/
if (typeof Ffetcher == "undefined") { Ffetcher = {}; }
Ffetcher = {
friends: new Array(),
pages: null,
maxfriends: null,
container: null,
cached: new Array(),
display: 10,
init: function() {
var num=document.links;
for(var x=0;x<num.length;x++) {
if (num[x].href.match(/\/friends\/[\d]+?/)) {
var t=/\(([\d]+?)\)/;
this.maxfriends=t.exec(num[x].innerHTML)[1];
break;
}
}
this.pages=Math.floor(this.maxfriends/30);
var htm="<div id='fcontainer' class='boxcontent'></div>";
addBox("Friends",htm,"frbox",/commonbox[\s]*?moreabout/i);
document.getElementById("content_frbox").innerHTML+="<div class='viewall'><a href='javascript: void(Ffetcher.more())'>More Random Friends</a></div>";
this.container=document.getElementById("fcontainer");
this.fetch(0);
},
fetch: function(page) {
document.getElementById("frbox").childNodes[0].innerHTML="Friends Loading... Pls wait...";
processAjaxRequest("GET",TRACKER.base_domain+"/friends/"+pageOwnerID+"/"+page,true,null, "parseFriends",page);
},
show: function() {
this.container.innerHTML="";
this.friends.sort(randOrd);
for(var x=0;x<this.display;x++) {
this.container.innerHTML+=this.friends[x];
}
},
more: function() {
if(this.cached.length<(this.pages+1)) {
var temp;
do {
temp=Math.ceil(Math.random()*(this.pages));
}while(this.cached.toString().indexOf(":"+temp+":")!=-1);
this.fetch(temp);
}
else {
this.show();
}
}
};
function parseFriends(htm,page) {
if(!htm){
Ffetcher.fetch(page);
return;
}
var r= /search1\x22>[\S\s]+?paginglinksmodule\x22>([\S\s]+?)<div class=\x22paginglinksmodule/;
var temp=r.exec(htm)[1];
temp=temp.match(/<div class="flogriditem">[\S\s]+?<\/div>\n<\/div><\/div>/g);
for(var x=0;x<temp.length;x++) {
temp[x]=temp[x].replace("samsg_icon.gif>","samsg_icon.gif />");
temp[x]=temp[x].replace(/<a /g,"<a target=_blank ");
if(!temp[x].match("nophoto")) Ffetcher.friends.push(temp[x]);
}
Ffetcher.cached.push(":"+page+":");
document.getElementById("frbox").childNodes[0].innerHTML="Friends";
Ffetcher.show();
}
[/spoiler]
taro di bagian b
[spoiler]
addBox("LEFT","Friends",htm,"frbox","18");
[/spoiler]
harus punya kode addbox. Ini dia kode addbox
[spoiler]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
Default "sibling_ID" Boxes for Reference (10/19/07)
LEFT RIGHT
"0" = controlpanel "15" = meettrail
"1" = photos "2" = friends
"13" = blogs "14" = googleads
"12" = reviews "7" = fan
"6" = moreabout "8" = groups
"18" = publiccomments null = appends to last(without "")
"10" = scrapbook
*/
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);
}
}
[/spoiler]
trus, taro di css
[spoiler]#fcontainer * {
padding: 0px;
margin: 0px;
font-size: 9px
}
.thumbnaildelete {
display: none
}
#fcontainer {
text-align: center;
height: 300px
}
#fcontainer .flogriditem {
width: 85px;
overflow: hidden;
margin: 4px;
height: 150px
}
.inlinelt {
position: relative;
left: -2px;
top: 1px
}
.flo50 .ic .imgblock a img {
height: 80px
}
.flo50 .ic .imgblock {
height: 80px;
width: 80px;
overflow: hidden;
background: #FFFFFF;
border: 2px #97B6CA solid;
text-align: center;
}
[/spoiler]
selesai!
Last edited by _Qq Gunners_ (2008-06-27 09:25:51)
[/quote]
lihat aja
di tutur bang kanal
[url]http://theftalk.com/t15339-%7BTUTORIAL%7D-Kombinasi-JS-dan-WVM-%2B-Addbox-%28UPDATE-08-03-08%29.html[/url]
nanti ada di situ
semua nya
yang untuk di bagian A,B,C
penjelasan nya bro
[url=http://theftalk.com/t36325-%7BTUTORIAL-ver.-FLASH%7D-MEMBUAT-FILE-EKSTERNAL.html][b]BELAJAR YUK DISINI[/b][/url]
all
gimane seh mbuat [b]visitor info[/b] ntu!!
mohon bantuanye!!
dari kemaren gak ada yang jawab
Last edited by kiddy (2008-06-27 09:40:13)
[/quote]
bisa diperjelas
yang aman niy
WVM, WVMCBOX, VIEWERPIC ??
atau yang mana ?

[b]blue dark[/b]
tutor yang punya [b]bang andHa[/b] ya..??
[quote]<html>
<head>
<title>Wellcome To My Page</title>
<style type="text/css">
body { background-color:#000000; background-image:url([b]http://i236.photobucket.com/albums/ff100/fs-layouts2/fslybg/2007/05/bone-dance.jpg[/b]); background-position:center; background-repeat:repeat; }
#skipDiv {position:absolute; visibility:hidden; width:80px; }
#skipDiv a:link, #skipDiv a:visited {
font-family: 'century gothic';
font-size:10pt; color:#ff3300; }[/quote]
cuba di bagian yang ntu..
kamu pake bg'a..ganti yang di [b]bold[/b] ma bg kamu...

.gif)
[/quote]
maksud nya [b]david[/b] bro