[quote=-nDIVe-]pagi...
mau tanya nih, ada ga' kode floating pic
yg bisa kita taruh gambar2 tipe .gif
yg bukan viewer kita mksdnya?
mohon bantuan dishare dong kodenya...
makasih,
wassalam...[/quote]
coba yg ini
[spoiler]//FLOATING IMAGE
dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><img src='[b]URL_pict/photo_jpg/gif[/b]' width='169px' height='171px' 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 = 30;
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.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();[/spoiler]
masukan fict/photo kesayang bro pd yg di bold di atas
kl yg mau ada photo tamu masuk sini
http://theftalk.com/t21439-%7BTUTORIAL%7D-Floating-Viewer-Picture.html
[quote=hadiyansyah][b]Bro Eddi[/b]
tadi udah ku coba cuma tombol mesage, invite n logout dll, kok masih keliatan ....
gm ya cara ngilanginnya?[/quote]
bro yg itu
tidak bisa pake punya saya
nanti semua pesan dan commentnya nyasar kl pk punya saya
coba bro edit lg di
www.flashvortex.com nya