|
|
|
|
|
| hit: 4350 / writer: tjdrbs327 |
|
|
| :::: 저기여... :::: |
작성자 :  | 등록일 : 2005-09-09 19:38:15 |
| 홈페이지 주소 : http:// |
|
제가만든 이미지크기에맞게 이미지를 팝업창으로 나오게 어떻게 해요? 소스저? 그소스점 알려주세요... |
|
|
|
 | <script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? `yes` : `no`;
menubar_str = menubar ? `yes` : `no`;
statusbar_str = statusbar ? `yes` : `no`;
scrollbar_str = scrollbar ? `yes` : `no`;
resizable_str = resizable ? `yes` : `no`;
window.open(url, name, `left=`+left+`,top=`+top+`,width=`+width+`,height=`+height+`,toolbar=`+toolbar_str+`,menubar=`+menubar_str+`,status=`+statusbar_str+`,scrollbars=`+scrollbar_str+`,resizable=`+resizable_str);
}
// -->
</script>
</head>
위에는 헤드부분에넣는 거고 스크롤바 지정 여부같은거 ㄱ-.....
<body OnLoad="na_open_window(` 창이름`, `http://링크걸 주소`, 0, 0, 가로길이, 세로길이, 0, 0, 0, 0, 0);">
위에는 팝업창 크기지정
요거 아니었던가요?! ㄱ-...... |
09/10 17:51 |
 |
|
|
 | 팝업소스 제공해야 하나 ㅋㅋ 갈쳐 드리죠 ㅋㅋ
<body onload = "javascript:window.open ( `http://링크할 주소`,``,`width=넓이, height=높이`)">
플래시 제어용...
on(release){
getURL("javascript:window.open(`팝업할링크 오얼 페이지`,``,`left=좌우좌표 top=상하좌표 width=넓이 height=높이 scrollbars=yes resizable=yes menubars=no status=yes`); void(0);");
}
위에서 좌표, 넓이, 높이... 이거는 값을 넣어주어야 하는데요...
단... 값은 픽셀이라는거는 잊지마세요... |
09/17 11:10 |
 |
|
|
|
| |
| |
| |
| |
|
|
|