마우스 오버시 윈도우창 확장 / 축소
(세로) 마우스 오버시 윈도우창 확장 / 축소 시켜보자
- 현재 페이지에 들어갈 소스 -
<!--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>
게시판 목록
개발자팁
개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.
질문은 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 866 | 기타 | 18년 전 | 6247 | ||
| 865 | JavaScript | 18년 전 | 3305 | ||
| 864 | MySQL | 18년 전 | 7174 | ||
| 863 | MySQL | 18년 전 | 10657 | ||
| 862 | JavaScript | 18년 전 | 3099 | ||
| 861 | Flash |
DeepnBlue
|
18년 전 | 6806 | |
| 860 | Flash |
|
18년 전 | 5761 | |
| 859 | 기타 |
도날드주주
|
18년 전 | 3846 | |
| 858 | Flash | 18년 전 | 3738 | ||
| 857 | Flash | 18년 전 | 4370 | ||
| 856 | JavaScript | 18년 전 | 3683 | ||
| 855 | Flash | 18년 전 | 6745 | ||
| 854 | JavaScript | 18년 전 | 2539 | ||
| 853 | 기타 | 18년 전 | 7146 | ||
| 852 | PHP |
|
18년 전 | 4227 | |
| 851 | 기타 | 18년 전 | 7540 | ||
| 850 | Flash |
|
18년 전 | 8770 | |
| 849 | PHP | 18년 전 | 5145 | ||
| 848 | Flash | 18년 전 | 3119 | ||
| 847 | 기타 |
hwatta
|
18년 전 | 3369 | |
| 846 | Flash | 18년 전 | 5452 | ||
| 845 | 기타 | 18년 전 | 3164 | ||
| 844 | 기타 | 18년 전 | 2800 | ||
| 843 | Flash | 18년 전 | 3569 | ||
| 842 | MySQL | 18년 전 | 4154 | ||
| 841 | MySQL | 18년 전 | 5216 | ||
| 840 | PHP | 18년 전 | 5913 | ||
| 839 | JavaScript | 18년 전 | 3696 | ||
| 838 | MySQL | 18년 전 | 5093 | ||
| 837 | 기타 | 18년 전 | 3140 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기