Re: Bagi para member yang ingin bertanya seputar tweaking FS.
Silahkan bertanya dan posting disini.
Sebelum itu harap membaca dan mengikuti [url=http://theftalk.com/t23371-FORUM-RULES.html][b]FORUM
liatin iaa..bner gg nii ?
[spoiler]//css injection
var css;
try {
css = document.createElement("link");
}catch(e) {
css = document.createElement("<link>");
}
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","http://h1.ripway.com/onesiduda/one.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
//BAGIAN A
//onload handler
function onProfileLoad() {
//addboxes here
//BAGIAN B
}
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);
}
}
//Friend
var code =
"<br><div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href=\"#\" onMouseover=\"showmenu(event,linkset[0])\" onMouseout=\"delayhidemenu()\"><a href='/http://profiles.friendster.com/inkakimpil'>"+
"<img src='http://www.friendster.com/photos/26073343/1/322891847'class=\"shakeimage\" onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\" onClick=\"top.focus()\"></a></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/http://profiles.friendster.com/inkakimpil'><div title=\"header=[] body=[<img src='http://www.friendster.com/photos/26073343/1/322891847' style='width:164px;border:2px solid black;'>]offsetx=[120] offsety=[-30]\"><img src=\"http://h1.ripway.com/qcen/blue_arrow_rt.gif\">inka_kimpil</a></li>"+
"<li>AAAAAAAAA<br>BBBBBBB<br>CCCCCCC<br>DDDDDD</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+"
<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/http://profiles.friendster.com/41628550'>"+
"<img src='http://www.friendster.com/photos/41628550/1/204049279'class=\"shakeimage\" onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\" onClick=\"top.focus()\"></a></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/http://profiles.friendster.com/41628550'><div title=\"header=[] body=[<img src='http://www.friendster.com/photos/41628550/1/204049279' style='width:164px;border:2px solid black;'>]offsetx=[120] offsety=[-30]\"><img src=\"http://h1.ripway.com/qcen/blue_arrow_rt.gif\">bebs_kutier</a></li>"+
"<li>AAAAAA<br>BBBBBBBBB<br>CCCCCCC<br>DDDDDDD</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+"
<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/http://profiles.friendster.com/42276851'>"+
"<img src='http://www.friendster.com/photos/42276851/1/590920692'class=\"shakeimage\" onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\" onClick=\"top.focus()\"></a></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/http://profiles.friendster.com/42276851'><div title=\"header=[] body=[<img src='http://www.friendster.com/photos/42276851/1/590920692' style='width:164px;border:2px solid black;'>]offsetx=[120] offsety=[-30]\"><img src=\"http://h1.ripway.com/qcen/blue_arrow_rt.gif\">ndo'_olaii</a></li>"+
"<li>AAAAAAA<br>BBBBBBBBI<br>CCCCCCCC<br>DDDDDDDDDD</li>"+
"</ul></td>"+
"</tr></tbody></table></div></div>";
addBox(null,code,"custombox_927","left");
//BAGIAN C
//marquee status bar atas
<!--//
function tb10_makeArray(n){
this.length = n;
return this.length;
}
tb10_messages = new tb10_makeArray(1);
tb10_messages[0] = "onaii_si_duda_perjaka is THE BIETERZ";
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)}
}
// -->[/spoiler]