Exforsys

JavaScript Tutorial

  1. JavaScript Browser Objects Part 2
  2. JavaScript Frame object
  3. JavaScript Form Object
  4. JavaScript FileUpload Object
  5. JavaScript Event Object Properties and Methods
  6. JavaScript Event Object
  7. JavaScript Elements and Embed Objects
  8. JavaScript Applet Objects
  9. JavaScript Browser Objects
  10. JavaScript Object Oriented Features
  11. JavaScript Window Object Open Method Part 2
  12. JavaScript Window Object Open Method
  13. JavaScript Window Object Timeout Methods
  14. JavaScript Location Object
  15. JavaScript Location Object Properties
  16. JavaScript History Object Properties and Methods
  17. JavaScript Document Object Methods Part II
  18. JavaScript Document Object Methods Part I
  19. JavaScript Document Object Properties
  20. JavaScript Document Object
  21. JavaScript Windows Object Properties Part II
  22. JavaScript Windows Object Properties Part I
  23. JavaScript DOM Window Object
  24. Working with JavaScript DOM Objects
  25. JavaScript Array Object Methods – Part II
  26. JavaScript Array Object
  27. JavaScript Array Object Methods – Part I
  28. JavaScript Boolean Object
  29. JavaScript OnError Event
  30. JavaScript Exception Handling – Part II
  31. JavaScript Exception Handling – Part I
  32. JavaScript Event Handler
  33. JavaScript Events Handling
  34. JavaScript Array Operations
  35. JavaScript Two Dimensional Arrays
  36. Passing values to JavaScript Function
  37. JavaScript Functions
  38. JavaScript Arrays
  39. JavaScript Iterative Structures - Part II
  40. JavaScript Iterative Structures - Part I
  41. JavaScript Math Object
  42. JavaScript Date Object
  43. JavaScript String Object
  44. JavaScript Objects
  45. JavaScript Confirm Box
  46. JavaScript Alert Box
  47. JavaScript Conditional Statements Part 2
  48. JavaScript Conditional Statements Part 1
  49. How to use JavaScript in HTML page
  50. JavaScript Variables
  51. JavaScript Features
  52. JavaScript Introduction

Ads


Home arrow Technical Training arrow JavaScript Tutorial

JavaScript Window Object Open Method

Author : Exforsys Inc.     Published on: 4th Jul 2007    |   Last Updated on: 8th Jul 2007

JavaScript Window Object Open Method

In this JavaScript tutorial, you will learn about JavaScript Window Object Open Method, features of window object open method - channelmode, directories, dependent, fullscreen, screenX, screenY, height, left, location, menubar, resizable, alwaysLowered, alwaysRaised

Ads

channelmode:

Syntax: channelmode=yes|no|1|0
The channelmode is used to denote whether the user wants to display the window in theater mode or not. The default setting of this feature is NO. The user can set channelmode value to YES which would then display the window in theater mode. This is a very important feature of Window Object of JavaScript .

directories:

Syntax: directories=yes|no|1|0
directories
are used to specify whether the user wants to add directory buttons or not. The default value of the directories feature is YES.

dependent:

Syntax: dependent=yes|no|1|0
If the value of the dependent feature is set to yes then it creates the new window as a child of the current window.

fullscreen:

Syntax: fullscreen=yes|no|1|0
The feature fullscreen is used to specify whether or not the user wants to display the browser in full-screen mode. The default setting of this feature is NO. User can turn on the fullscreen feature, by setting its value to YES, displaying the browser in full-screen mode.
NOTE:
This feature requires that a window in full-screen mode must also be in theater mode. If the value of fullscreen is set to yes then the value of the channelmode feature must also be set to yes.

screenX:

Syntax: screenX=pixels
When screenX feature is used, the new window created and opened displays from the left side of the screen at a distance equal to the number of pixels specified. The value in this feature is given in pixels.

screenY:

Syntax: screenY=pixels
When sreenY feature is used, the new window created and opened displays from the top of the screen at a distance equal to the number of pixels specified. The value in this feature is given in pixels.

height:

Syntax: height=pixels
height
feature is used to specify the window height. The minimum value that must be specified for the height attribute is 100. The value for this feature is given in pixels.

left:

Syntax: left=pixels
left
feature is used to specify the left position of the window. The value for this feature is given in pixels.

top:

Syntax: top=pixels
top
feature is used to specify the top position of the window. The value for this feature is given in pixels.

width:

Syntax: width=pixels
width
feature is used to specify the window width. The minimum value that must be specified for the width attribute is 100. The value for this feature is given in pixels.

location:

Syntax: location=yes|no|1|0
The location is used to denote whether or not the address field should be displayed. The default value of this location feature is YES, displaying the address field. If the user sets the value to NO in the location feature then the address field is not displayed.

menubar:

Syntax: menubar=yes|no|1|0
The menubar is used to denote whether or not the menu bar should be displayed. The default value of this menubar feature is yes, displaying the menu bar. If the value of the menubar feature is set to NO by the user, then the menu bar is not displayed.

resizable:

Syntax: resizable=yes|no|1|0
If the user wants to specify whether or not the window should be resizable then the resizable feature can be used. The default value of the resizable feature is yes, making the window resizable by default. If the user does not want the window to be resized then the value must be set to NO by the user.

Ads

alwaysLowered:

Syntax: alwaysLowered=yes|no|1|0
When the value of the attribute alwaysLowered is set to YES, it creates a window that always floats below other windows.

alwaysRaised:

Syntax: alwaysRaised=yes|no|1|0
When the value of the attribute alwaysRaised is set to YES, it creates a window that always floats above other windows



 
This tutorial is part of a JavaScript Tutorial tutorial series. Read it from the beginning and learn yourself.

JavaScript Tutorial

  1. JavaScript Browser Objects Part 2
  2. JavaScript Frame object
  3. JavaScript Form Object
  4. JavaScript FileUpload Object
  5. JavaScript Event Object Properties and Methods
  6. JavaScript Event Object
  7. JavaScript Elements and Embed Objects
  8. JavaScript Applet Objects
  9. JavaScript Browser Objects
  10. JavaScript Object Oriented Features
  11. JavaScript Window Object Open Method Part 2
  12. JavaScript Window Object Open Method
  13. JavaScript Window Object Timeout Methods
  14. JavaScript Location Object
  15. JavaScript Location Object Properties
  16. JavaScript History Object Properties and Methods
  17. JavaScript Document Object Methods Part II
  18. JavaScript Document Object Methods Part I
  19. JavaScript Document Object Properties
  20. JavaScript Document Object
  21. JavaScript Windows Object Properties Part II
  22. JavaScript Windows Object Properties Part I
  23. JavaScript DOM Window Object
  24. Working with JavaScript DOM Objects
  25. JavaScript Array Object Methods – Part II
  26. JavaScript Array Object
  27. JavaScript Array Object Methods – Part I
  28. JavaScript Boolean Object
  29. JavaScript OnError Event
  30. JavaScript Exception Handling – Part II
  31. JavaScript Exception Handling – Part I
  32. JavaScript Event Handler
  33. JavaScript Events Handling
  34. JavaScript Array Operations
  35. JavaScript Two Dimensional Arrays
  36. Passing values to JavaScript Function
  37. JavaScript Functions
  38. JavaScript Arrays
  39. JavaScript Iterative Structures - Part II
  40. JavaScript Iterative Structures - Part I
  41. JavaScript Math Object
  42. JavaScript Date Object
  43. JavaScript String Object
  44. JavaScript Objects
  45. JavaScript Confirm Box
  46. JavaScript Alert Box
  47. JavaScript Conditional Statements Part 2
  48. JavaScript Conditional Statements Part 1
  49. How to use JavaScript in HTML page
  50. JavaScript Variables
  51. JavaScript Features
  52. JavaScript Introduction
 

Comments