<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년 전
정말 좋은 소스네요..감사합니다...잘 쓰겠습니다...^^*
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7830 | 9년 전 | 418 | ||
| 7829 |
|
9년 전 | 614 | |
| 7828 | 9년 전 | 538 | ||
| 7827 | 9년 전 | 431 | ||
| 7826 | 9년 전 | 434 | ||
| 7825 | 10년 전 | 478 | ||
| 7824 | 10년 전 | 445 | ||
| 7823 | 10년 전 | 381 | ||
| 7822 | 10년 전 | 359 | ||
| 7821 | 10년 전 | 309 | ||
| 7820 | 10년 전 | 348 | ||
| 7819 |
|
10년 전 | 751 | |
| 7818 | 10년 전 | 389 | ||
| 7817 | 10년 전 | 522 | ||
| 7816 | 10년 전 | 407 | ||
| 7815 | 10년 전 | 608 | ||
| 7814 | 10년 전 | 435 | ||
| 7813 | 10년 전 | 375 | ||
| 7812 | 10년 전 | 400 | ||
| 7811 | 10년 전 | 391 | ||
| 7810 | 10년 전 | 564 | ||
| 7809 | 10년 전 | 493 | ||
| 7808 | 10년 전 | 378 | ||
| 7807 | 10년 전 | 403 | ||
| 7806 |
프로그래머7
|
10년 전 | 1334 | |
| 7805 | 10년 전 | 1275 | ||
| 7804 |
zahir1312
|
10년 전 | 778 | |
| 7803 |
|
10년 전 | 1374 | |
| 7802 | 10년 전 | 457 | ||
| 7801 | 10년 전 | 860 | ||
| 7800 | 10년 전 | 1085 | ||
| 7799 | 10년 전 | 555 | ||
| 7798 | 10년 전 | 511 | ||
| 7797 | 10년 전 | 505 | ||
| 7796 | 10년 전 | 354 | ||
| 7795 | 10년 전 | 503 | ||
| 7794 | 10년 전 | 551 | ||
| 7793 | 10년 전 | 1055 | ||
| 7792 | 10년 전 | 470 | ||
| 7791 | 10년 전 | 556 | ||
| 7790 | 10년 전 | 504 | ||
| 7789 |
fbastore
|
10년 전 | 1449 | |
| 7788 | 10년 전 | 545 | ||
| 7787 | 10년 전 | 400 | ||
| 7786 | 10년 전 | 589 | ||
| 7785 | 10년 전 | 584 | ||
| 7784 | 10년 전 | 644 | ||
| 7783 | 10년 전 | 446 | ||
| 7782 | 10년 전 | 491 | ||
| 7781 | 10년 전 | 899 | ||
| 7780 | 10년 전 | 814 | ||
| 7779 | 10년 전 | 775 | ||
| 7778 | 10년 전 | 364 | ||
| 7777 | 10년 전 | 454 | ||
| 7776 | 10년 전 | 459 | ||
| 7775 | 10년 전 | 408 | ||
| 7774 | 10년 전 | 631 | ||
| 7773 | 10년 전 | 382 | ||
| 7772 | 10년 전 | 734 | ||
| 7771 | 10년 전 | 387 | ||
| 7770 | 10년 전 | 642 | ||
| 7769 | 10년 전 | 380 | ||
| 7768 | 10년 전 | 612 | ||
| 7767 | 10년 전 | 1171 | ||
| 7766 | 10년 전 | 492 | ||
| 7765 | 10년 전 | 525 | ||
| 7764 |
잘살아보자
|
10년 전 | 389 | |
| 7763 |
|
10년 전 | 1457 | |
| 7762 |
Tosea
|
10년 전 | 1052 | |
| 7761 | 10년 전 | 646 | ||
| 7760 |
잘살아보자
|
10년 전 | 675 | |
| 7759 |
잘살아보자
|
10년 전 | 507 | |
| 7758 |
잘살아보자
|
10년 전 | 591 | |
| 7757 | 10년 전 | 1246 | ||
| 7756 |
ITBANK
|
10년 전 | 1252 | |
| 7755 | 10년 전 | 1929 | ||
| 7754 | 10년 전 | 1053 | ||
| 7753 | 10년 전 | 884 | ||
| 7752 | 10년 전 | 1393 | ||
| 7751 |
잘살아보자
|
10년 전 | 532 | |
| 7750 |
잘살아보자
|
10년 전 | 475 | |
| 7749 |
잘살아보자
|
10년 전 | 488 | |
| 7748 |
잘살아보자
|
10년 전 | 494 | |
| 7747 |
잘살아보자
|
10년 전 | 587 | |
| 7746 |
잘살아보자
|
10년 전 | 674 | |
| 7745 |
잘살아보자
|
10년 전 | 916 | |
| 7744 |
잘살아보자
|
10년 전 | 416 | |
| 7743 | 10년 전 | 946 | ||
| 7742 |
starbros
|
10년 전 | 840 | |
| 7741 |
잘살아보자
|
10년 전 | 672 | |
| 7740 |
잘살아보자
|
10년 전 | 536 | |
| 7739 |
잘살아보자
|
10년 전 | 465 | |
| 7738 |
잘살아보자
|
10년 전 | 533 | |
| 7737 |
잘살아보자
|
10년 전 | 501 | |
| 7736 |
잘살아보자
|
10년 전 | 523 | |
| 7735 |
잘살아보자
|
10년 전 | 850 | |
| 7734 |
잘살아보자
|
10년 전 | 429 | |
| 7733 |
잘살아보자
|
10년 전 | 544 | |
| 7732 |
잘살아보자
|
10년 전 | 697 | |
| 7731 |
잘살아보자
|
10년 전 | 622 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기