<html>
<head>
<script language="JavaScript">
<!--
function Cookie(document, name, hours, path, domain, secure) {
this.$document = document;
this.$name = name;
if (hours)
this.$expiration = new Date((new Date()).getTime() + hours*3600000);
else
this.$expiration = null;
if (path) this.$path = path; else this.$path = null;
if (domain) this.$domain = domain; else this.$domain = null;
if (secure) this.$secure = true; else this.$secure = false;
}
function _Cookie_store() {
var cookieval = "";
for(var prop in this) {
if ((prop.charAt(0) == '$') || ((typeof this[prop]) == 'function'))
continue;
if (cookieval != "") cookieval += '&';
cookieval += prop + ':' + escape(this[prop]);
}
var cookie = this.$name + '=' + cookieval;
if (this.$expiration)
cookie += '; expires=' + this.$expiration.toGMTString();
if (this.$path) cookie += '; path=' + this.$path;
if (this.$domain) cookie += '; domain=' + this.$domain;
if (this.$secure) cookie += '; secure';
this.$document.cookie = cookie;
}
function _Cookie_load() {
var allcookies = this.$document.cookie;
if (allcookies == "") return false;
var start = allcookies.indexOf(this.$name + '=');
if (start == -1) return false;
start += this.$name.length + 1;
var end = allcookies.indexOf(';', start);
if (end == -1) end = allcookies.length;
var cookieval = allcookies.substring(start, end);
var a = cookieval.split('&');
for(var i=0; i < a.length; i++)
a[i] = a[i].split(':');
for(var i = 0; i < a.length; i++) {
this[a[i][0]] = unescape(a[i][1]);
}
return true;
}
function _Cookie_remove() {
var cookie;
cookie = this.$name + '=';
if (this.$path) cookie += '; path=' + this.$path;
if (this.$domain) cookie += '; domain=' + this.$domain;
cookie += '; expires=Fri, 31-Jan-2001 00:00:00 GMT';
this.$document.cookie = cookie;
}
new Cookie();
Cookie.prototype.store = _Cookie_store;
Cookie.prototype.load = _Cookie_load;
Cookie.prototype.remove = _Cookie_remove;
function Popup(site) {
var exp = 8760;
var page = "http://www.yahoo.co.kr"; // 사이트 주소
var windowprops = "width=300,height=300,location=no,toolbar=no,menubar=no,scrollbars=no"; // 옵션 설정
var temp = new Cookie(document, "nanumi", exp);
if (!temp.load()) {
temp.firstload = site;
temp.store();
subwin=window.open(page, "", windowprops);
}
}
-->
</script>
</head>
<body onunLoad="Popup('nanumi');">
팝업창을 최초 접속시 딱 한번만 띄웁니다.. 팝업창이 뜨는걸 확인하셨다면 팝업창을 닫고 본 페이지를 새로고침 해보세요.. 더 이상 팝업이 실행되지 않습니다.
</body>
</html><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
<head>
<script language="JavaScript">
<!--
function Cookie(document, name, hours, path, domain, secure) {
this.$document = document;
this.$name = name;
if (hours)
this.$expiration = new Date((new Date()).getTime() + hours*3600000);
else
this.$expiration = null;
if (path) this.$path = path; else this.$path = null;
if (domain) this.$domain = domain; else this.$domain = null;
if (secure) this.$secure = true; else this.$secure = false;
}
function _Cookie_store() {
var cookieval = "";
for(var prop in this) {
if ((prop.charAt(0) == '$') || ((typeof this[prop]) == 'function'))
continue;
if (cookieval != "") cookieval += '&';
cookieval += prop + ':' + escape(this[prop]);
}
var cookie = this.$name + '=' + cookieval;
if (this.$expiration)
cookie += '; expires=' + this.$expiration.toGMTString();
if (this.$path) cookie += '; path=' + this.$path;
if (this.$domain) cookie += '; domain=' + this.$domain;
if (this.$secure) cookie += '; secure';
this.$document.cookie = cookie;
}
function _Cookie_load() {
var allcookies = this.$document.cookie;
if (allcookies == "") return false;
var start = allcookies.indexOf(this.$name + '=');
if (start == -1) return false;
start += this.$name.length + 1;
var end = allcookies.indexOf(';', start);
if (end == -1) end = allcookies.length;
var cookieval = allcookies.substring(start, end);
var a = cookieval.split('&');
for(var i=0; i < a.length; i++)
a[i] = a[i].split(':');
for(var i = 0; i < a.length; i++) {
this[a[i][0]] = unescape(a[i][1]);
}
return true;
}
function _Cookie_remove() {
var cookie;
cookie = this.$name + '=';
if (this.$path) cookie += '; path=' + this.$path;
if (this.$domain) cookie += '; domain=' + this.$domain;
cookie += '; expires=Fri, 31-Jan-2001 00:00:00 GMT';
this.$document.cookie = cookie;
}
new Cookie();
Cookie.prototype.store = _Cookie_store;
Cookie.prototype.load = _Cookie_load;
Cookie.prototype.remove = _Cookie_remove;
function Popup(site) {
var exp = 8760;
var page = "http://www.yahoo.co.kr"; // 사이트 주소
var windowprops = "width=300,height=300,location=no,toolbar=no,menubar=no,scrollbars=no"; // 옵션 설정
var temp = new Cookie(document, "nanumi", exp);
if (!temp.load()) {
temp.firstload = site;
temp.store();
subwin=window.open(page, "", windowprops);
}
}
-->
</script>
</head>
<body onunLoad="Popup('nanumi');">
팝업창을 최초 접속시 딱 한번만 띄웁니다.. 팝업창이 뜨는걸 확인하셨다면 팝업창을 닫고 본 페이지를 새로고침 해보세요.. 더 이상 팝업이 실행되지 않습니다.
</body>
</html><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
댓글 1개
18년 전
정말 좋은 소스네요..감사합니다...잘 쓰겠습니다...^^*
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7630 | 10년 전 | 652 | ||
| 7629 |
|
10년 전 | 2386 | |
| 7628 | 10년 전 | 791 | ||
| 7627 |
|
10년 전 | 1029 | |
| 7626 |
|
10년 전 | 1787 | |
| 7625 | 10년 전 | 705 | ||
| 7624 | 10년 전 | 723 | ||
| 7623 |
|
10년 전 | 3087 | |
| 7622 | 10년 전 | 725 | ||
| 7621 |
leeleeleelee
|
10년 전 | 585 | |
| 7620 | 10년 전 | 540 | ||
| 7619 | 10년 전 | 488 | ||
| 7618 | 10년 전 | 1022 | ||
| 7617 | 10년 전 | 725 | ||
| 7616 | 10년 전 | 645 | ||
| 7615 | 10년 전 | 726 | ||
| 7614 | 10년 전 | 1261 | ||
| 7613 |
|
10년 전 | 2085 | |
| 7612 | 10년 전 | 1142 | ||
| 7611 | 10년 전 | 1416 | ||
| 7610 |
|
10년 전 | 1901 | |
| 7609 |
|
10년 전 | 1342 | |
| 7608 |
mwdkim
|
10년 전 | 1130 | |
| 7607 |
|
10년 전 | 1053 | |
| 7606 |
mwdkim
|
10년 전 | 3927 | |
| 7605 | 10년 전 | 691 | ||
| 7604 | 10년 전 | 1027 | ||
| 7603 | 10년 전 | 1651 | ||
| 7602 |
|
10년 전 | 1076 | |
| 7601 |
AniNest
|
10년 전 | 2790 | |
| 7600 |
port443
|
10년 전 | 1031 | |
| 7599 | 10년 전 | 943 | ||
| 7598 | 10년 전 | 1020 | ||
| 7597 | 10년 전 | 4572 | ||
| 7596 |
SeungYeon
|
10년 전 | 888 | |
| 7595 |
untitled
|
10년 전 | 2425 | |
| 7594 |
프로그래머7
|
10년 전 | 1725 | |
| 7593 |
untitled
|
10년 전 | 2364 | |
| 7592 |
untitled
|
10년 전 | 1941 | |
| 7591 |
untitled
|
10년 전 | 2676 | |
| 7590 |
아리마2001
|
10년 전 | 853 | |
| 7589 | 10년 전 | 1110 | ||
| 7588 |
|
10년 전 | 2919 | |
| 7587 | 10년 전 | 1303 | ||
| 7586 | 10년 전 | 672 | ||
| 7585 | 10년 전 | 1694 | ||
| 7584 | 10년 전 | 1413 | ||
| 7583 |
leeleeleelee
|
10년 전 | 1162 | |
| 7582 |
|
10년 전 | 1111 | |
| 7581 | 10년 전 | 1345 | ||
| 7580 | 10년 전 | 992 | ||
| 7579 |
|
10년 전 | 606 | |
| 7578 | 10년 전 | 1429 | ||
| 7577 |
|
10년 전 | 1872 | |
| 7576 | 10년 전 | 1385 | ||
| 7575 |
멋진남자임
|
10년 전 | 1462 | |
| 7574 | 10년 전 | 2121 | ||
| 7573 | 10년 전 | 3255 | ||
| 7572 | 10년 전 | 760 | ||
| 7571 |
|
10년 전 | 782 | |
| 7570 |
|
10년 전 | 1314 | |
| 7569 | 10년 전 | 1550 | ||
| 7568 |
this1mg
|
10년 전 | 1050 | |
| 7567 |
|
10년 전 | 762 | |
| 7566 | 10년 전 | 916 | ||
| 7565 |
Angel하늘
|
10년 전 | 1001 | |
| 7564 |
seoldi
|
10년 전 | 1238 | |
| 7563 |
|
10년 전 | 1381 | |
| 7562 |
멋진남자임
|
10년 전 | 2085 | |
| 7561 | 10년 전 | 713 | ||
| 7560 |
leeleeleelee
|
10년 전 | 903 | |
| 7559 | 10년 전 | 5047 | ||
| 7558 |
RinaP
|
10년 전 | 784 | |
| 7557 |
|
10년 전 | 1245 | |
| 7556 | 10년 전 | 1191 | ||
| 7555 |
hyohyojj1234
|
10년 전 | 1663 | |
| 7554 | 10년 전 | 1092 | ||
| 7553 |
senseme
|
10년 전 | 1338 | |
| 7552 |
ehdltdoit
|
10년 전 | 1435 | |
| 7551 |
|
10년 전 | 1823 | |
| 7550 |
leeleeleelee
|
10년 전 | 1588 | |
| 7549 | 10년 전 | 2423 | ||
| 7548 | 10년 전 | 1841 | ||
| 7547 |
멋진남자임
|
10년 전 | 1961 | |
| 7546 | 10년 전 | 1004 | ||
| 7545 |
ILMare1003
|
10년 전 | 1287 | |
| 7544 |
|
10년 전 | 1250 | |
| 7543 | 10년 전 | 884 | ||
| 7542 | 10년 전 | 656 | ||
| 7541 |
울라라라우
|
10년 전 | 864 | |
| 7540 | 10년 전 | 1600 | ||
| 7539 | 10년 전 | 935 | ||
| 7538 |
|
10년 전 | 1833 | |
| 7537 | 10년 전 | 3611 | ||
| 7536 |
Gaumi
|
10년 전 | 1415 | |
| 7535 |
프로그램은어려워
|
10년 전 | 1271 | |
| 7534 |
senseme
|
10년 전 | 1207 | |
| 7533 | 10년 전 | 1195 | ||
| 7532 | 10년 전 | 858 | ||
| 7531 | 10년 전 | 2053 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기