팝업창에 삽입 <html> <head> <title>..</title> <meta http-equiv="Content-Type" content="text/html; charset=euc-kr"> <script language="JavaScript"> <!-- function winCentre() { if (document.layers) { var sinist = screen.width / 2 - outerWidth / 2; var toppo = screen.height / 2 - outerHeight / 2; } else { var sinist = screen.width / 2 - document.body.offsetWidth / 2; var toppo = -75 + screen.height / 2 - document.body.offsetHeight / 2; } self.moveTo(sinist, toppo); } //--> </script> </head> <body onLoad="winCentre()"> </body> </html> [출처] 플래시 활용도 높은 소스 Tip 모음|작성자 카제 |
카테고리 없음