글제목 |
곽종규님의 어부인..... |
|
"
layerWrite(txt);
if(left) palign = left;
disp(palign);
}
// Common calls
function disp(palign) {
if ( (ns4) || (ie4) ) {
if (popup_on == 0) {
if (palign == 0) { // Center
moveTo(over,x+offsetx-(width/2),y+offsety);
}
if (palign == 1) { // Right
moveTo(over,x+offsetx,y+offsety);
}
if (palign == 2) { // Left
moveTo(over,x-offsetx-width,y+offsety);
}
showObject(over);
popup_on = 1;
}
}
// Here you can make the text goto the statusbar.
}
// Moves the layer
function mouseMove(e) {
if (ns4) {x=e.pageX; y=e.pageY;}
if (ie4) {x=event.x; y=event.y;}
if (ie5) {x=event.x+document.body.scrollLeft; y=event.y+document.body.scrollTop;}
if (popup_on) {
if (palign == 0) { // Center
moveTo(over,x+offsetx-(width/2),y+offsety);
}
if (palign == 1) { // Right
moveTo(over,x+offsetx,y+offsety);
}
if (palign == 2) { // Left
moveTo(over,x-offsetx-width,y+offsety);
}
}
}
// Writes to a layer
function layerWrite(txt) {
if (ns4) {
var lyr = document.viewDIV.document
lyr.write(txt)
lyr.close()
}
else if (ie4) document.all["viewDIV"].innerHTML = txt
}
// Make an object visible
function showObject(obj) {
if (ns4) obj.visibility = "show"
else if (ie4) obj.visibility = "visible"
}
// Hides an object
function hideObject(obj) {
if (ns4) obj.visibility = "hide"
else if (ie4) obj.visibility = "hidden"
}
// Move a layer
function moveTo(obj,xL,yL) {
obj.left = xL
obj.top = yL
}
시흥 마눌님!... 오늘의 당신이 있기에 모두가 행복합니다. 당신의 생일을 진심으로 축하합니다.늘 건강하고 행복하세요.
|
|