(세로) 마우스 오버시 윈도우창 확장 / 축소 시켜보자
- 현재 페이지에 들어갈 소스 -
<!--1. 아래 스크립트를 HEAD 부분에 복사해 넣으세요. -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function yajava() {
window.open('pop.htm','','toolbar=no,menubar=no,location=no,height=300,width=720');
}
// End -->
</SCRIPT>
<!--2. <BODY> 태그내에 onload="" 혹은 onunload 부분이 있으면 복사해 넣으세요-->
<body onload="yajava()">
--------------------------------------------------------------------------------
- 팝업창에 들어갈 소스(pop.htm) -
<!--<BODY></BODY> 부분에 아래의 스크립트를 복사해 넣으세요-->
<SCRIPT language=Javascript type=text/javascript>
<!--
var r=0;
var m=navigator.appVersion.indexOf("Win");
var c=navigator.appName;
var a=parseInt(navigator.appVersion);
function opener_focus() {
opener.focus();
self.moveTo(152,140);
}
clickthru = location.search.substr(1);
setTimeout("opener_focus ()", 0);
function o(x)
{
var winwidth=720;
var winheight=300;
var y=300;
while(y)
{
resizeBy(0,y);
winheight+=y;
if (winheight>=300) y=0;
}
b("SELECT");x.style.clip="rect(0px,720px,600px,0px)";
}
function b(z){for(i=0;i<document.all.tags(z).length;i++){x=document.all.tags(z)[i];if(!x||!x.offsetParent)continue;x.style.visibility="hidden"}}
function h(z){for(i=0;i<document.all.tags(z).length;i++){x=document.all.tags(z)[i];if(!x||!x.offsetParent)continue;x.style.visibility=""}}
function d(x)
{
var winwidth=720;
var winheight=600;
var y=300;
while(y)
{
resizeBy(0,-y);
winheight-=y;
if (winheight<=300) y=0;
}
h("SELECT");x.style.clip="rect(auto, auto, 300px, auto)";
}
if(m!=-1&&(c=="Microsoft Internet Explorer"&&a==4)) {
document.write("<div style=\'height:300; width:720; position:relative;\' >");
document.write("<table border=0 cellpadding=0 cellspacing=0 style=\'position:absolute; left:0px; top: 0px; clip:rect(auto,auto,300px,auto);\' onmouseover=\'o(this);\' onmouseout=\'d(this);\'>");
document.write("<tr><td>");
document.write('<DIV ID="AdclickTopImg" STYLE="position:absolute; width:720px; height:600px; z-index:300; visibility:visible;">');
document.write('<a href="http://www.yajava.com" target=_blank><img src="yajava.gif" border=0 width=720 height=600></a>');
document.write('</DIV>');
document.write("</td></tr>");
document.write("</table></div>");
} else {
document.write('<DIV ID="AdclickTopImg" STYLE="position:absolute; width:720px; height:600px; z-index:300; visibility:visible;">');
document.write('<a href="http://www.yajava.com" target=_blank><img src="yajava.gif" border=0 width=720 height=600></a>');
}
// -->
</SCRIPT>
/////////////////////////////////////////////////////////////////////////////
onmouseover=\'o(this);\' // onclick=\'o(this);\' 마우스 클릭시 확장
onmouseout=\'d(this);\' // onclick=\'d(this);\' 마우스 클릭시 축소
/////////////////////////////////////////////////////////////////////////////<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
- 현재 페이지에 들어갈 소스 -
<!--1. 아래 스크립트를 HEAD 부분에 복사해 넣으세요. -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function yajava() {
window.open('pop.htm','','toolbar=no,menubar=no,location=no,height=300,width=720');
}
// End -->
</SCRIPT>
<!--2. <BODY> 태그내에 onload="" 혹은 onunload 부분이 있으면 복사해 넣으세요-->
<body onload="yajava()">
--------------------------------------------------------------------------------
- 팝업창에 들어갈 소스(pop.htm) -
<!--<BODY></BODY> 부분에 아래의 스크립트를 복사해 넣으세요-->
<SCRIPT language=Javascript type=text/javascript>
<!--
var r=0;
var m=navigator.appVersion.indexOf("Win");
var c=navigator.appName;
var a=parseInt(navigator.appVersion);
function opener_focus() {
opener.focus();
self.moveTo(152,140);
}
clickthru = location.search.substr(1);
setTimeout("opener_focus ()", 0);
function o(x)
{
var winwidth=720;
var winheight=300;
var y=300;
while(y)
{
resizeBy(0,y);
winheight+=y;
if (winheight>=300) y=0;
}
b("SELECT");x.style.clip="rect(0px,720px,600px,0px)";
}
function b(z){for(i=0;i<document.all.tags(z).length;i++){x=document.all.tags(z)[i];if(!x||!x.offsetParent)continue;x.style.visibility="hidden"}}
function h(z){for(i=0;i<document.all.tags(z).length;i++){x=document.all.tags(z)[i];if(!x||!x.offsetParent)continue;x.style.visibility=""}}
function d(x)
{
var winwidth=720;
var winheight=600;
var y=300;
while(y)
{
resizeBy(0,-y);
winheight-=y;
if (winheight<=300) y=0;
}
h("SELECT");x.style.clip="rect(auto, auto, 300px, auto)";
}
if(m!=-1&&(c=="Microsoft Internet Explorer"&&a==4)) {
document.write("<div style=\'height:300; width:720; position:relative;\' >");
document.write("<table border=0 cellpadding=0 cellspacing=0 style=\'position:absolute; left:0px; top: 0px; clip:rect(auto,auto,300px,auto);\' onmouseover=\'o(this);\' onmouseout=\'d(this);\'>");
document.write("<tr><td>");
document.write('<DIV ID="AdclickTopImg" STYLE="position:absolute; width:720px; height:600px; z-index:300; visibility:visible;">');
document.write('<a href="http://www.yajava.com" target=_blank><img src="yajava.gif" border=0 width=720 height=600></a>');
document.write('</DIV>');
document.write("</td></tr>");
document.write("</table></div>");
} else {
document.write('<DIV ID="AdclickTopImg" STYLE="position:absolute; width:720px; height:600px; z-index:300; visibility:visible;">');
document.write('<a href="http://www.yajava.com" target=_blank><img src="yajava.gif" border=0 width=720 height=600></a>');
}
// -->
</SCRIPT>
/////////////////////////////////////////////////////////////////////////////
onmouseover=\'o(this);\' // onclick=\'o(this);\' 마우스 클릭시 확장
onmouseout=\'d(this);\' // onclick=\'d(this);\' 마우스 클릭시 축소
/////////////////////////////////////////////////////////////////////////////<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
게시글 목록
| 번호 | 제목 |
|---|---|
| 9921 | |
| 28612 |
HTML
사용자 웹브라우저의 이름 알려주기
|
| 28611 | |
| 28605 | |
| 9920 |
JavaScript
Samba 설정
|
| 9916 | |
| 9915 | |
| 28596 | |
| 9906 |
JavaScript
Ajax(Asynchronous JavaScript and XML)란?
8
|
| 28572 |
HTML
if
23
|
| 28564 |
HTML
iinclude와 조건문
7
|
| 9898 | |
| 24744 | |
| 24742 | |
| 24741 | |
| 24736 | |
| 28558 | |
| 9896 | |
| 9893 | |
| 9892 |
JavaScript
웹문서에 주소창 넣기 스크립트
|
| 9891 | |
| 9890 | |
| 28557 | |
| 9889 | |
| 9888 |
JavaScript
폼 항목중 입력하지 않을때 경고창 띄우기
|
| 9887 | |
| 9885 | |
| 9884 |
JavaScript
아기창 자동으루 띄우고 엄마창 자동으루 죽이기
|
| 28555 | |
| 9883 | |
| 9881 |
MySQL
rrdtool 사용하기
1
|
| 9880 | |
| 9879 | |
| 9878 |
MySQL
메일,홈계정 쿼터 적용하기
|
| 9877 |
기타
파일을 분할 압축방법
|
| 9876 |
MySQL
mysql 부팅시 실행 시키기
|
| 9873 |
JavaScript
mod_rewrite 모듈 설치
2
|
| 9871 |
MySQL
phpMyadmin 웹호스팅 설정
1
|
| 9864 | |
| 9840 |
기타
머리카락 패스따기
23
|
| 9836 | |
| 9834 | |
| 9832 |
Flash
초짜의 Fade_Out_Effect 연습
1
|
| 9830 |
Flash
초짜의 Shadow_Effect 연습
1
|
| 9828 | |
| 9826 |
Flash
초짜의 Typo_Graphy 트위닝 연습
1
|
| 9797 | |
| 9754 | |
| 9709 | |
| 9686 | |
| 9646 | |
| 9634 | |
| 9617 | |
| 9615 | |
| 9613 | |
| 28553 | |
| 9611 | |
| 9607 | |
| 24726 | |
| 24725 | |
| 24721 | |
| 9569 | |
| 9567 |
Flash
플래시강좌 진행중입니다.
1
|
| 9550 | |
| 9531 | |
| 9527 |
JavaScript
접속자 아이피 출력(1원짜리 팁)
3
|
| 28550 | |
| 9493 | |
| 9479 | |
| 9431 | |
| 9418 | |
| 9372 | |
| 9331 | |
| 9267 | |
| 9216 | |
| 9215 | |
| 9214 |
JavaScript
리눅스 설치 후 해야 할 일
|
| 28549 | |
| 28548 |
HTML
데이터베이스의 생성, 선택, 보기
|
| 9213 |
JavaScript
[PHP동영상강좌] 프로그래밍 본격 시작 - 01
|
| 28543 |
HTML
포토샵 CS 브러쉬 툴 강좌
4
|
| 9211 | |
| 9210 | |
| 9208 | |
| 24718 | |
| 24706 | |
| 24702 |
기획서
[엑셀] 웹기획서
3
|
| 24701 | |
| 24698 |
견적서
쇼핑몰 제작 견적서
2
|
| 24695 |
계약서
쇼핑몰 계약서
2
|
| 9202 |
JavaScript
시원한 테이블 메뉴 스크립트
5
|
| 28540 | |
| 24688 | |
| 9194 |
Flash
IE 패치에 따른 플래시 이용방식 변경
7
|
| 24679 |
계약서
홈페이지 계약서
8
|
| 24674 | |
| 24670 | |
| 9193 |
정규표현식
[브라우저]브라우저명을 정확히 알아내기
|
| 9191 |
JavaScript
[위치관련]팝업창을 브라우저 해상도 구분없이 항상 중앙에 띄우기
1
|
| 9190 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기