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
[quote=ryans_chymera]all bantuannya dunx...[/quote]
[spoiler][quote]document.getElementById("0").getElementsByTagName("ul")[1].innerHTML+="YM Status: <a href=\"ymsgr:sendim?blankz_id\"><img src=\"http://opi.yahoo.com/online?u=blankz_id&m=g&t=1\" border=\"0\"></a>";
document.getElementById("0").getElementsByTagName("td")[0].innerHTML+="<div align='center'><input type='button' value='Send Message' onClick=\"top.location.href='http://www.friendster.com/sendmessage.php?uid=77255642'\" class=\"f3r1\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[Click Here to Send Message]\"></div>";
document.getElementById("subnav").innerHTML="<div class=\"primary_links\"><input type='button' value='Launch Google Search' onClick='javascript:gugel()' class=\"B\" align='middle' style='display:inline;' title=\"header=[GOOGLE] body=[Click Here To Search From Google]\"><input type='button' value='Settings' onClick=\"top.location.href='http://www.friendster.com/editaccount.php'\" class=\"xinoxs1\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[SETTINGS]\"><input type='button' value='Log Out' onClick=\"top.location.href='http://www.friendster.com/logout.php'\" class=\"xinoxs2\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[LOG OUT]\"></div>";
document.getElementById("content_0").style.display="block";
document.getElementById("controlpanel_header").style.display="block";
document.getElementById("content_18").getElementsByTagName("div")[0].innerHTML="<div align='left' class=\"data\">"+
"<img src=\"http://i485.photobucket.com/albums/rr216/cyclops_022/thpic341.gif\"></div><br><br>";
//floating
var currentTime = new Date();
var hours = currentTime.getHours();
var minutes = currentTime.getMinutes();
if (minutes < 10)
minutes = "0" + minutes;
var jamenit = (hours + ":" + minutes + " ");
if(hours > 11){
var ampm = ("PM");
} else {
var ampm = ("AM");
}
dude="<div id='divStayTopRight' style='position:absolute;z-index:50;'><embed src=\"http://assets.myflashfetish.com/swf/mp3/mff-circle.swf\" quality=\"high\" wmode=\"transparent\" flashvars=\"myid=14509505&path=2008/10/28&mycolor=2E2A2A&mycolor2=3D3D3B&mycolor3=594343&autoplay=true&rand=0&f=4&vol=100&pat=0&grad=false\" width=\"110\" height=\"110\" name=\"myflashfetish\" align=\"middle\"type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" border=\"0\" style=\"visibility:visible;width:110px;height:110px;\" /><br><font color='red'>Visitor Time Clock:</font><br><font color='red'> "+jamenit+ampm+" </font><br></div>";
flow=document.getElementById('flo_wrapper');
river=document.createElement("div");
river.innerHTML=dude;
flow.parentNode.insertBefore(river,flow);
//in this part you can change it into "frombottom" or "fromtop"
var verticalpos="frombottom"
function BoyantDiv()
{
var startX = 10;
var startY = 170;
function ml(id)
{
if (document.getElementById)
{
var wek=document.getElementById(id);
}
else if (document.all)
{
var wek=document.all[id];
}
else
{
var wek=document.layers[id];
}
if(document.layers)
{
wek.style=wek;
}
wek.sP = function(x,y) {shino(x,y);};
function shino(x,y)
{
wek.style.right=x;
wek.style.top=y;
}
wek.x = startX;
if (verticalpos=="fromtop")
{
wek.y = startY;
}
else{
if (navigator.appName.indexOf("Netscape") != -1)
{
wek.y = pageYOffset + innerHeight;
}
else
{
wek.y = document.body.scrollTop + document.body.clientHeight;
}
wek.y -= startY;
}
return wek;
}
window.stayTopRight = function () {boyant();};
function boyant()
{
if (verticalpos=="fromtop"){
if (navigator.appName.indexOf("Netscape") != -1)
{
var tenten = pageYOffset;
}
else
{
var tenten = document.body.scrollTop;
}
ftlObj.y += (tenten + startY - ftlObj.y)/8;
}
else{
if (navigator.appName.indexOf("Netscape") != -1)
{
var tenten = pageYOffset + innerHeight;
}
else
{
var tenten = document.body.scrollTop + document.body.clientHeight;
}
ftlObj.y += (tenten - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
wakoko=setTimeout("stayTopRight()", 50);
}
ftlObj = ml("divStayTopRight");
stayTopRight();
}
BoyantDiv();[/quote]
[/spoiler]
bagian tuch coba km taruh di bagian C JS km