Re: anyone can explain???
im starting to get confused here. . .
my old js file was linked and i put it in my media box. .
and it works. . .
now my new js files doesnt . . .
is there something wrong
[quote=aaronjason09]the linker is correct pls post in here the code thx[/quote]
this is the code. .
[spoiler]<img src='http://i298.photobucket.com/albums/mm255/MastrShade/dragons-1.gif' width='80px' height='80px' style='filter:none;-moz-opacity:1.0'/>="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><img src='http://bp0.blogger.com/_BuyN0b_kHpc/R29XyarCp_I/AAAAAAAAAAM/U2ZCiSXbnAs/S220/150px-Midori_no_hibi.jpg' width='80px' height='80px' 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);
var verticalpos="frombottom"
function BoyantDiv()
{
var startX = 15;
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]
is that right???
im really confused now. .
[img]http://i444.photobucket.com/albums/qq161/dax2552/vincent_valentine.jpg[/img]