[b]tyohara[/b]
seep deh..
^^
iiang kamu post di atasQ..
[quote]#mainnav .mainfoldericon {display:none!important;}[/quote]
harus'a mainnav aja..
ga usah pake mainfolder..
^^


gini, ak inject ma js aku css ith...
truz yg kumasukin ke media box cuma js nya ajh...
pengaruh ga???


gini, ak inject ma js aku css ith...
truz yg kumasukin ke media box cuma js nya ajh...
pengaruh ga???[/quote]
g bakalan bkerja kode kmo klo cuman linknya aza kmo taruh di media box
Last edited by jay_chou (2008-10-12 01:57:51)
Last edited by freedoom07 (2008-10-12 02:16:08)




[/quote]
klo gw potonya aza tau klo identitasnya g tau bro
Last edited by jay_chou (2008-10-12 02:36:28)
[b]freedom[/b]
[spoiler]/*RANDOMIZED FRIENDS*/
if (typeof Ffetcher == "undefined") { Ffetcher = {}; }
Ffetcher = {
friends: new Array(),
pages: null,
maxfriends: null,
container: null,
cached: new Array(),
display: 8,
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("LEFT","Friends",htm,"frbox","1");
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... Please 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="<div>"+pageOwnerFName+"'s Random Friends</div>";
Ffetcher.show();
}[/spoiler]
taro di bawah fungsi addbox..
[quote]function onProfileLoad {
//addbox
}
//DI SINI RANDOM FRIENDS[/quote]
[b]tyohara[/b]
coba di jadiin ke' gini..
[quote]/* --------------------------------------------------------------------------- CSS INJECTION */
var css = document.createElement("link");
css.type = "text/css";
css.rel = "stylesheet";
css.href = "http://h1.ripway.com/tyohara/newbgt.css";
css.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(css);[/quote]
*copast ulang tuh..coz tadi kamu ada spasi'a..
Last edited by dj_afran (2008-10-12 02:43:17)
Last edited by jay_chou (2008-10-12 02:46:09)
[/quote]
Klu bleh Tau Kodenya Gimana?????
uhmmm, klo ku sendiriin gmana yah...
bisa ga kita menggunakan lbh dari 1 link css di fs..??
msl: aku tarus 2 buah file css di media box ( [b]banner, dll[/b] sama [b]all about hide[/b])
trus yg ku inject js, cuma 1 file ([b]mgkn yg banner dll[/b])...
[b]tyohara[/b]
beuh..
neeh pake..
udah gw benerin..
[quote]/* PAGE BACKGROUND */
body {
background-image: url( http://i108.photobucket.com/albums/n19/tyo_caka/tyoharabackground.jpg );
background-attachment: fixed;
background-position: center center;
background-repeat: no-repeat;
background-color: #000000;
scrollbar-3dlight-color:ffffff;
scrollbar-shadow-color:7f7f7f;
scrollbar-face-color:ffffff;
scrollbar-darkshadow-color:ffffff;
scrollbar-track-color:ffffff;
scrollbar-arrow-color:000000;
scrollbar-highlight-color:dfdfdf;
cursor: crosshair ;
}
/* BANNER */
#navigation {
padding: 175px 0 0 0;
background-image: url(http://i126.photobucket.com/albums/p98/cannonball_rocks/banner.jpg);
background-repeat: no-repeat;
background-position: center center;
background-color: transparent;
}
.controlpanel .q {
background: url(http://i126.photobucket.com/albums/p98/cannonball_rocks/logo-used.jpg)
background-attachment: fixed;
background-position:center;
background-position: center left;
background-repeat: no-repeat;
}
#controlPanelButtons a, #controlPanelButtons a:link, #controlPanelButtons a:visited {
background-image: url( http://i126.photobucket.com/albums/p98/cannonball_rocks/logo-used.jpg);
background-attachment: fixed;
background-position: center left;
background-repeat: no-repeat;
background-color: transparent;
}
/* Photo Viewer*/
#viewerphoto img {
height: 100px;
width: 100px;
border: 2px #97B6CA solid;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
-moz-border-radius: 10px;
-moz-opacity: 0.5;
-khtml-opacity: 0.5;
opacity: 0.5;
}
#viewerphoto a:hover img {
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
-moz-border-radius: 10px;
-moz-opacity: 1.0;
-khtml-opacity: 1.0;
opacity: 1.0;
}
/* Hide Navigation Language */
#navLang { display: none ! important }
/* Hide the arrows in your mainnav dropdown links */
#mainnav {display:none!important;}
/* Hide About me paragraph in control panel*/
.controlpanel p {display:none!important;}
/* Hide Friendster Classifieds */
#marketing {display:none!important;}
/* Hide Google Search */
#search form { display : none !important; }
/* Hide Messages | Setting | Help | Log out*/
#subnav {display:none!important;}
/* Hide Classifieds | Jobs | */
.secondary_links {display:none!important;}[/quote]



uhmmm, klo ku sendiriin gmana yah...
bisa ga kita menggunakan lbh dari 1 link css di fs..??
msl: aku tarus 2 buah file css di media box ( banner, dll sama all about hide)
trus yg ku inject js, cuma 1 file (mgkn yg banner dll)...[/quote]
mana bisa bro malah g kerja kodenya
[quote=Mr Adiet]Klu bleh Tau Kodenya Gimana?????[/quote]
neh kodenyan
[quote]/* VISITOR PICTURE (FERUZZ) --------------------------------- */
if (!attachOnLoadHandler(function(){viewer();})) window.onload = function(){viewer();};
function viewer() {
if(pageViewerID!="") VIEWERPIC.init();
}
function spawnImage(mypic) {
if (!mypic) {
VIEWERPIC.getCode();
return;
}else {
for (val in VIEWERPIC.info) {
try {
VIEWERPIC.getPhoto = new RegExp(VIEWERPIC.regexp[val]).exec(mypic)[1].replace(/(\d)+?/i,"$1");
document.getElementById("mainpic").innerHTML = VIEWERPIC.getPhoto;
}
catch(e) {
VIEWERPIC.getPhoto = "";
document.getElementById("mainpic").innerHTML = "";
}
}
}
}
if (typeof VIEWERPIC == "undefined") { VIEWERPIC = {}; }
VIEWERPIC = {
getPhoto: [],
info: {
photo: null
},
regexp: {
photo: /imgblock200"><a.*?>((.|\s)+?)<\/a><\/div>/
},
init: function() {
if(document.getElementById("mainpic") != null) {
this.ajaxRequest("/user.php?uid="+pageViewerID,"spawnImage",null);
}
},
ajaxRequest: function(url,ajaxfunc,handler) {
if(handler) {
handler = ","+handler;
}
else handler = "";
var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
if(ajaxfunc) {
eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+ajaxfunc+"(httprequest.responseText"+handler+");}}");
}
httprequest.open('GET', url, true);
httprequest.send(null);
}
};[/quote]
taruh di js file kmo bagian C paling bawah