article

 objects - browser

[WHAT]

  1. ] controlling the users browser with your javascript. how to get(ex = screen resolution) and set the various properties of the users browser using the pre defined Browser objects properties and methods.  

[WHY]

  1. ] browser objects are your gateway into controlling the clients browser from your javascript code. You can interface with the browser objects to set and get various properties from the client device that your code is running on

[WHERE]

  1. ]

[WHEN]

  1. ]

[EXAMPLE]

  1. Window ,   
    1. ] properties - closed, defaultStatus, document, frames, history, innerheight, innerWidth, length, location, name, navigator, opener, outerHeight, outerWidth, pageXoffset, pageYoffset, parent, screen, 
    2. ] events - 
    3. ] methods - 
  2. Location
    1. ] properties - 
    2. ] events - 
    3. ] methods - 
    4. ]
  3. Navigator -
    1. ] properties - name (user-agent), version#,
    2. ] events - 
    3. ] methods - 
  4. ] History 
    1. ] properties - 
    2. ] events - 
    3. ] methods - 
    4. ]
  5. ] Screen 
    1. ] properties - 
    2. ] events -
    3. ] methods - 
  6. *] NOTE = 
    1. ] the different browser vendors may offer support for additional objects.browse and their properties, methods and events

[HOW-TO]

  1. ] window
  2. ] location.href = http://www.google.com - sets the current window to this location url
  3. ] navigator
  4. ] history
  5. ] screen

[REFERENCE]

  1. ]
Details Photos Edit more

Details

ID: 1685

NAME: objects-browser-overview

DESCRIPTION: a listing of the browser objects that you can work with including ] window, ] location, ] navigator ] history, ] screen,]

AUTHOR: article.author/s

EDITOR: article.editor/s

PUBLISHER: article.publisher/s

STATUS: Write

PRIORITY: 0

OWNER ID: 75

Content Photos Edit more

photos

page_photo

actions

Email Email-Owner SMS and