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> 

Related articles:

Firework production of wood effects
  And the creation of a rectangular fillet of Eye Candy 4000 filters - wood effect ... in the horizontal direction, made a similar appearance under the display, and will create the shape of a flat (CTRL SHIFT ALT).    In the upper region of the establishment of a rectangle to dodge ...
Dreamweaver web production skills of the problem of space
  Dreamweaver is a very easy-to-use but powerful web authoring software.    However, it was but one of the many beginners very embarrassing question.    That is space.    Dreamweaver in the use of space is far from being as easy as in word.    For exampl...
Flash Forecast
  Fp7 with open fp8 safety sand box, presentation effects title are as follows:    Click here to download the source files  /*////////////////////////   / *    / *    / * By yellow    / * Yellowboydesign@gmail.com    / * Http:/...
Web effects: expression will be JS, Css combine
  IE5 and later in the CSS support in the use of expression, used to CSS properties and Javas cript expression correlation, here is the CSS properties can elements inherent attributes, and can also be custom attributes.    CSS can attribute that is behind is a Javas cript expression,...
AS3 learning: the only variable category
  (In this paper, non-direct translation, reads as follows:)    In ActionScript 2, the variables defined within a class's body were defined in the class's prototype object. This was an efficient means to handle variable definitions but it also meant that complex data types (s...