-
// script source: codelifter.com
// copyright 2003
// do not remove this header
isie=document.all;
isnn=!document.all&&document.getelementbyid;
isn4=document.layers;
ishot=false;
function ddinit(e){
topdog=isie ? "body" : "html";
whichdog=isie ? document.all.thelayer : document.getelementbyid("thelayer");
hotdog=isie ? event.srcelement : e.target;
while (hotdog.id!="titlebar"&&hotdog.tagname!=topdog){
hotdog=isie ? hotdog.parentelement : hotdog.parentnode;
}
if (hotdog.id=="titlebar"){
offsetx=isie ? event.clientx : e.clientx;
offsety=isie ? event.clienty : e.clienty;
nowx=parseint(whichdog.style.left);
nowy=parseint(whichdog.style.top);
ddenabled=true;
document.onmousemove=dd;
}
}
function dd(e){
if (!ddenabled) return;
whichdog.style.left=isie ? nowx+event.clientx-offsetx : nowx+e.clientx-offsetx;
whichdog.style.top=isie ? nowy+event.clienty-offsety : nowy+e.clienty-offsety;
return false;
}
function ddn4(whatdog){
if (!isn4) return;
n4=eval(whatdog);
n4.captureevents(event.mousedown|event.mouseup);
n4.onmousedown=function(e){
n4.captureevents(event.mousemove);
n4x=e.x;
n4y=e.y;
}
n4.onmousemove=function(e){
if (ishot){
n4.moveby(e.x-n4x,e.y-n4y);
return false;
}
}
n4.onmouseup=function(){
n4.releaseevents(event.mousemove);
}
}
function hideme(){
if (isie||isnn) whichdog.style.visibility="hidden";
else if (isn4) document.thelayer.visibility="hide";
}
function showme(){
if (isie||isnn) whichdog.style.visibility="visible";
else if (isn4) document.thelayer.visibility="show";
}
document.onmousedown=ddinit;
document.onmouseup=function("ddenabled=false");
forum:"8a351 tiger" |
|||||||||||||||||||||||
login register |
faq |
||||||||||||||||||||||
the time is monday, march 26, 2007; 01:49 |
|||||||||||||||||||||||
all times are utc | |||||||||||||||||||||||
bauer vapor 20s :: audio physic avanti century :: actionpacks :: ancient andnot awro.ru online ragnarok world :: 8a351 tiger :: | |||||||||||||||||||||||
|
|||||||||||||||||||||||
all times are utc | |||||||||||||||||||||||
who is online | |||||||||||||||||||||||
users browsing this forum: googlebot and 1 guest | |||||||||||||||||||||||
you cannot post new topics in this forum you cannot reply to topics in this forum you cannot edit your posts in this forum you cannot delete your posts in this forum you cannot post attachments in this forum |
|||||||||||||||||||||||
search for: | |||||||||||||||||||||||
this page was created monday, march 26, 2007; 01:49. | |||||||||||||||||||||||