/ * Due to work needs, it is necessary to make an effect of automatically rising from the lower right corner of the screen. The new wave in the impression is there. * Originally, I wanted to be lazy to "refer to the reference", I didn't expect the "small family" programmer to encrypt the program. : - (* I have to write it yourself. Maybe the performance is not very good, or the adaptability is not strong, but it is also the effect. * /
// ################################# // ## file: DK_RISINGWINDOW. JS // ## Created: dannykang @ 2004-4-1 // ## modified: dannykang @ 2004-4-8 // ## Fundesc: Window rising in the lower right corner // ########## #############################################
function DK_MOVE_moveWindowUp () {DK_MOVE_amount = parseInt ((DK_MOVE_winHeight-DK_MOVE_total) * 0.2); DK_MOVE_total = DK_MOVE_amount; if (DK_MOVE_total
VAR DK_MOVE_AMOUNT = 0; var DK_MOVE_TOTAL = 0; var DK_MOVE_HANDLE; var DK_MOVE_WINHEIGHT, DK_MOVE_WINWIDTH;
// start scrolling window function DK_MOVE_START () {DK_MOVE_winHeight = document.body.offsetHeight 30; DK_MOVE_winWidth = document.body.offsetWidth 10; window.moveTo (window.screen.availWidth-DK_MOVE_winWidth, window.screen.availHeight); DK_MOVE_handle = SETINTERVAL ("DK_MOVE_MOVEWINDOWUP ()", 70);
document.body.oncontextmenu = new Function ( "return false;"); document.body.onselectstart = new Function ( "return false;"); document.body.onload = new Function ( "return DK_MOVE_START ();");
/ * Call method * / Please add the following code within the page you need to rise: