°³Ã¼ÀÇ ³Êºñ, ³ôÀ̸¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: obj.width;
¹®¹ý: obj.height;
Àû¿ëµÇ´Â °³Ã¼¿¡µû¶ó ´Ù¸£´Ù.
image.width image.height |
document.write(document.images[3].width+'x'+document.images[3].height) | |||
À̹ÌÁöÀÇ ³Êºñ¿Í ³ôÀ̸¦ ¹ÝȯÇÑ´Ù. | ||||
screen.width screen.height |
document.write(screen.width+'x'+screen.height) | |||
½ºÅ©¸°ÀÇ ³Êºñ¿Í ³ôÀ̸¦ ¹ÝȯÇÑ´Ù. | ||||
applet.width applet.height |
document.write(document.applets[0].width+'x'+document.applets[0].height) | |||
¾ÖÇø´ ³Êºñ¿Í ³ôÀ̸¦ ¹ÝȯÇÑ´Ù. | ||||
document.width document.height |
Netscape | document.write(document.width+'x'+document.height) | ||
»ý·« | ¹®¼ÀÇ ³Êºñ¿Í ³ôÀ̸¦ ¹ÝȯÇÑ´Ù. | |||
layer.clip.width layer.clip.height |
Netscape | document.write(testlayer1.clip.width+'x'+testlayer1.clip.height) | ||
»ý·« | ·¹À̾î Ŭ¸³ºÎºÐÀÇ ³Êºñ¿Í ³ôÀ̸¦ ¹ÝȯÇÑ´Ù. | |||
event.width event.height |
Netscape | document.write(document.event.width+'x'+document.event.height) | ||
»ý·« | À̺¥Æ®°¡ ¹ß»ýÇÑ °³Ã¼ÀÇ À©µµ¿ì³ª ÇÁ·¹ÀÓÀÇ ³Êºñ¿Í ³ôÀ̸¦ ¹ÝȯÇÑ´Ù. | |||