2008-08-26 10:08:20

kuntilanak
» FTalkElite
FTalk Level: zero
4412
0
1969-12-31

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

[b]:arrow: mcdougelas[/b] nih yang floating aku pakai [hr][hr][hr][hr][hr][hr] edit yang aku [b]tebelin[/b] inject di [b]bagian B[/b] [hr][hr][hr][hr][hr][hr] [quote]//floating image dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><img src='[b]URL_IMAGE_MU[/b]' width='[b]64px[/b]' height='[b]64px[/b]' style='filter:none;-moz-opacity:1.0'/></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="fromtop" function BoyantDiv() { var startX = 40; var startY = 260; 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.left=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.stayTopLeft = 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("stayTopLeft()", 50); } ftlObj = ml("divStayTopLeft"); stayTopLeft(); } BoyantDiv();[/quote] [hr][hr][hr][hr][hr][hr] edit yang aku [b]tebelin[/b] inject di [b]bagian B[/b] [hr][hr][hr][hr][hr][hr]

Board footer

© 2024 F Talk

Current time is 05:34

[ 12 queries - 0.901 second ]
Privacy Policy