[quote=bangsubur]tapi malah g jalan ....
gimana bang..[/quote]
coba ganti ma ini...
[spoiler]/* FLOATING OBJECT (SHAKIRO214) ----------------------------- */
dude="<div id='divStayTopleft' style='position:absolute;z-index:50;'><b><font color='red'>Halo "+pageViewerFName+" </b></font><br><div id='mainpic'></div><br><img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/15.gif'><br><b><font color='red'>Sedang Mengunjungi</font> <font color='white'> "+pageOwnerFName+" </font></b><br>"+
"<b><font color='red'>Terakhir Berkunjung</font><font color='white'>: Hari ini "+jamenit+ampm+" </font></b><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 = 40;
var startY = 60;
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]
tarok ini jga di cssmu...
[quote]#mainpic img {
height: [b]75[/b]px;
width: [b]65[/b]px;
border: 2px #000000 solid;
}[/quote]
klo mau ngatur bsr kecilnya yg q bold...
[b]
kuntilanak[/b]
sip sis...
jalan dgn sempurna....
Last edited by oby_nagnar (2008-10-09 13:20:46)