The browser object is divided into: Window object: Windows Location object: Address Bar Histroy object: History bar Screen object: Onscreen Document object: HTML documents3) Window object (emphasis) Note: Because the Window object is used too often, JS can let us omit the Window object name does not write common method: hint alert (); Cue box confirm () Inquiry prompt prompt () input prompt new window open () opens a new Window Timing setinterval () timer, 1 calls per n milliseconds specified function (multiple calls) Clearinterval () Purge timer SetTimeout () timer (call 1 times) cleartimeout () Clear Timer window change (ie support, Firefox not supported) Moveby () Move the window each time the specified number of images moveTo () to move the window to the specified number of images Resizeby () Change the window size to the specified number of images Resizeto () Change the window size to the specified image number 4) Location: Control Address bar properties: href Change the address of the URL, jump page method: Reload () Refresh the current page 5) Historical: Control History bar method: forward (): Forward to next page Back () : Rewind to Previous page go (integer): jumps to a specified page. Positive: Forward negative: Back 6) Screen: Control screens (through which we get these property values to help us develop, rarely to change these values) availwidth: Width (except window taskbar) availheight: Height (except window taskbar) width: Width heighT: Height
JS BOM Programming