Display a pop-up dialog in the lower left corner

xiaoxiao2021-03-06  95

// begin! Right Down Corner Popup A Window

Var opopup = window.createpopup ();

VAR POPTOP = 50;

Function Popmsg (msgstr) {

VAR Winstr = "

";

Winstr = "

";

Winstr = "

msgstr " ";

Opopup.document.body.innerhtml = Winstr;

POPSHOW ();

}

Function PopShow () {

WINDOW.STATUS = POPTOP;

IF (POPTOP> 1720) {

Cleartimeout (MyTime);

Opopup.hide ();

Return;

Else IF (Poptop> 1520 && poptop <1720) {

Opopup.show (Screen.Width-50, Screen.height, 180, 1720-POPTOP);

} Else IF (POPTOP> 1500 && Poptop <1520) {

Opopup.show (Screen.Width-50, Screen.Height (Poptop-1720), 180, 172);

} Else IF (POPTOP <180) {

Opopup.show (Screen.Width-50, Screen.height, 180, POPTOP);

} Else IF (POPTOP <220) {

Opopup.show (Screen.Width-50, Screen.height-Poptop, 180, 180);

}

POPTOP = 10;

Var myTime = setTimeout ("POPSHOW ();", 60);

}

popmsg ( "


Received New Message

abcdefghikjabcdefghikjabcdefgh,
ikjabcdefghikjabcdefghikj,
abcdefghikjabcdefghikj
OICQ: 562328X
MSN: XXX@hotmail.com ");

// end!

转载请注明原文地址:https://www.9cbs.com/read-96253.html

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.047, SQL: 9