Automatically rise from the lower right corner of the screen window to achieve Javascript
Related Tags:
//########################################
/ / # # FILE: dk_risingwindow.js
/ / # # CREATED: @ 2004-4-1 DannyKang
/ / # # MODIFIED: @ 2004-4-8 DannyKang
/ / # # FUNDESC: the lower right corner of the window rise
//########################################
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 <DK_MOVE_winHeight && DK_MOVE_amount> 0) (
Try (
Window.moveBy (0, (-1) * DK_MOVE_amount);
)
Catch (e) (
)
)
Else (
ClearInterval (DK_MOVE_handle);
)
)
Var DK_MOVE_amount = 0;
Var DK_MOVE_total = 0;
Var DK_MOVE_handle;
Var DK_MOVE_winHeight, DK_MOVE_winWidth;
/ / Start rolling window
Function DK_MOVE_START () (
Document.body.offsetHeight DK_MOVE_winHeight = 30;
Document.body.offsetWidth DK_MOVE_winWidth = 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 * /
Please automatic increase in the need for pages to include the following code:
<SCRIPT Language=javascript src="index_js/dk_risingwindow.js"> </ SCRIPT>
- Ebb Tide website should be the right direction for the survival of
- How to choose the right domain name
- On the Web pages right shortcut menu
- How right menu in IE add menu items
- Prohibit the use of the source code right Show
- Right prohibited crack website skills
- IE NC common possession of a right mouse button
- Css Guide: CSS attributes border margin Application
- Right website cancellation method Daquan
- Cool right lower floating code
- Right shielding flash method
- How to choose the right service provider Virtual Console?
- JS achieve with the "left in the DIV" and the "right of DIV" contour
- CSS Manual (5), patch Margin (border)
- How to select the right words
- CSS Tutorial 5, Margin and Padding [Translation Htmldog]
- How to achieve the right browser menu
- No information suggested that the prohibition of the right mouse button script
- Right crack page of the latest methods banned
- Right banned website break another law




