ArcIMS learning HTML Viewer Notes: Javascript minutes

Related Tags:

  1. Another Frame in the JavaScript variables: 

  Var can be used in other frameworks: 

  Frame name. Variable name to call 

  2. In <Table> 

  <TR> - Table Row 
  <TD> - Table Data 

  3. <IMG> Elements 

  <IMG Src="图片路径" alt="提示"> 

  4.DOM model 

  Forms [] 
  | Images [] 
  [] Frames - document - | anchors [] 
  | Document | ... 
  | Navigator applets [] 
  Window - | history | status attributes 
  Location 

  5. Incident 

  1> onClick, such as onLoad event handler function is not (event handler) but events (event); 

  2> tables 
  ------------------ ------------------------ 
  Object | Event 
  ------------------ ------------------------ 
  Window, FrameSet | onLoad 
  Frame | onUnload 
  ------------------ ------------------------ 
  Button, IMG, Frame | onClick 
  | OnMouseDown 
  | OnMouseUp 
  | OnMouseMove 
  ------------------ ------------------------ 
  3> function incident 
  Function startUp () ( 
  Document.onmousedown = maptool; / / function name is maptool 
  ) 
  Function maptool () ( 
...
  ) 
  <body Onload = "startUp()"> 
4>
  Event.clientX 
  Event.clientY mouse coordinates relative to the upper left corner window inclusive 

  Event.offsetX 
  Event.offsetY mouse coordinates of the location of the source elements 

  5> onUnload incident meanings: 

  Browser has left the use of framework document pages, into other pages before the incident 

Related articles:

Well-designed project structure FLASH 1 - Single-mode cases
  Single cases mode (Singleton) to ensure that only a certain type of a case, but also to their own examples of this system as a whole to provide examples of single-mode.    Single-mode should only be in the case of a genuine "single case" needs to use FLASH Why should the ...
Fluttering on the website advertising design
  The following code to <head >...</ head> between:    Var brOK = false;    Var mie = false;    Var aver = parseInt (navigator.appVersion.substring (0,1));    Var aname = navigator.appName;    / / Check browser    Fun...
How to Search experts qualifying higher search tips
  You want to ensure that your site search engine can be found, and was given a good qualifying?    Very simple, as long as you follow some basic rules on the line, search experts say.    First of all, you have to figure out Google's PageRank mechanism is How to Search ...
Flash animation to easily transformed into GIF picture
  Magic Swf2Gif can quickly and efficiently SWF format will be converted to Flash animation GIF animation picture, but after the conversion can maintain integrity of the original Flash animation in the animation frame count and resolution.    (Click here to download)    Ste...
Div + css page layout how reasonable the use of html tags?
  Div + css page layout has been gradually pandemic, in the face of the so-called DIV + CSS layout of the name more worried about people not to let DIV become a substitute for the Table, multi-nested DIV will seriously affect the code can be read, HTML provides us apply the label it.  &n...