'screen' Example : screen « Javascript Objects « JavaScript DHTML






'screen' Example

 <html> <body> <button onclick="alert(screen.width + 'x' + screen.height);"> Screen resolution </button> </body> </html> 








Related examples in the same category

1.Available Height
2.Total Height
3.Available Width
4.screen.pixelDepth
5.screen.colorDepth
6.screen.availTop
7.screen.availLeft
8.Total Width
close