asp.net.ph

Skip Navigation Links

dialogLeft Property

Language References


Sets or retrieves the left coordinate of the dialog window.

Syntax

HTML N/A
Script window.dialogLeft [ = iLeft ]

Possible Values

iLeft Integer specifying the left coordinate in ems.

The property is read/write with no default value.

Remarks

This property applies only to windows created using the showModalDialog method.

Example

The following example demonstrates the creation of a dialog window using the dialogLeft object property to set the new window's relation to the left of the screen.

Note Do not break the script code into two lines as in the fourth line of the example. This was done for readability only.

window.showModalDialog ( "modal.html","#055",
  "dialogWidth:7.5cm; dialogHeight:7.5cm;
  dialogTop:0cm; dialogLeft:9.5cm; status:0" ) 

 Show me 

Applies To

window

See Also

dialogHeight, dialogTop, dialogWidth


Need a break ?
Suggested Reading

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph.

If you have any question, comment or suggestion,
please send us a note