<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년 전 | 407 | ||
| 7829 |
|
9년 전 | 588 | |
| 7828 | 9년 전 | 520 | ||
| 7827 | 9년 전 | 410 | ||
| 7826 | 9년 전 | 417 | ||
| 7825 | 10년 전 | 461 | ||
| 7824 | 10년 전 | 435 | ||
| 7823 | 10년 전 | 355 | ||
| 7822 | 10년 전 | 340 | ||
| 7821 | 10년 전 | 296 | ||
| 7820 | 10년 전 | 336 | ||
| 7819 |
|
10년 전 | 742 | |
| 7818 | 10년 전 | 372 | ||
| 7817 | 10년 전 | 495 | ||
| 7816 | 10년 전 | 393 | ||
| 7815 | 10년 전 | 594 | ||
| 7814 | 10년 전 | 414 | ||
| 7813 | 10년 전 | 362 | ||
| 7812 | 10년 전 | 381 | ||
| 7811 | 10년 전 | 383 | ||
| 7810 | 10년 전 | 548 | ||
| 7809 | 10년 전 | 474 | ||
| 7808 | 10년 전 | 363 | ||
| 7807 | 10년 전 | 393 | ||
| 7806 |
프로그래머7
|
10년 전 | 1324 | |
| 7805 | 10년 전 | 1262 | ||
| 7804 |
zahir1312
|
10년 전 | 765 | |
| 7803 |
|
10년 전 | 1360 | |
| 7802 | 10년 전 | 448 | ||
| 7801 | 10년 전 | 854 | ||
| 7800 | 10년 전 | 1077 | ||
| 7799 | 10년 전 | 537 | ||
| 7798 | 10년 전 | 492 | ||
| 7797 | 10년 전 | 492 | ||
| 7796 | 10년 전 | 333 | ||
| 7795 | 10년 전 | 491 | ||
| 7794 | 10년 전 | 528 | ||
| 7793 | 10년 전 | 1036 | ||
| 7792 | 10년 전 | 451 | ||
| 7791 | 10년 전 | 533 | ||
| 7790 | 10년 전 | 491 | ||
| 7789 |
fbastore
|
10년 전 | 1435 | |
| 7788 | 10년 전 | 525 | ||
| 7787 | 10년 전 | 387 | ||
| 7786 | 10년 전 | 558 | ||
| 7785 | 10년 전 | 563 | ||
| 7784 | 10년 전 | 625 | ||
| 7783 | 10년 전 | 427 | ||
| 7782 | 10년 전 | 478 | ||
| 7781 | 10년 전 | 885 | ||
| 7780 | 10년 전 | 803 | ||
| 7779 | 10년 전 | 767 | ||
| 7778 | 10년 전 | 353 | ||
| 7777 | 10년 전 | 438 | ||
| 7776 | 10년 전 | 443 | ||
| 7775 | 10년 전 | 385 | ||
| 7774 | 10년 전 | 623 | ||
| 7773 | 10년 전 | 369 | ||
| 7772 | 10년 전 | 716 | ||
| 7771 | 10년 전 | 364 | ||
| 7770 | 10년 전 | 635 | ||
| 7769 | 10년 전 | 364 | ||
| 7768 | 10년 전 | 588 | ||
| 7767 | 10년 전 | 1154 | ||
| 7766 | 10년 전 | 485 | ||
| 7765 | 10년 전 | 504 | ||
| 7764 |
잘살아보자
|
10년 전 | 364 | |
| 7763 |
|
10년 전 | 1435 | |
| 7762 |
Tosea
|
10년 전 | 1045 | |
| 7761 | 10년 전 | 631 | ||
| 7760 |
잘살아보자
|
10년 전 | 665 | |
| 7759 |
잘살아보자
|
10년 전 | 483 | |
| 7758 |
잘살아보자
|
10년 전 | 575 | |
| 7757 | 10년 전 | 1226 | ||
| 7756 |
ITBANK
|
10년 전 | 1243 | |
| 7755 | 10년 전 | 1919 | ||
| 7754 | 10년 전 | 1042 | ||
| 7753 | 10년 전 | 870 | ||
| 7752 | 10년 전 | 1378 | ||
| 7751 |
잘살아보자
|
10년 전 | 512 | |
| 7750 |
잘살아보자
|
10년 전 | 468 | |
| 7749 |
잘살아보자
|
10년 전 | 467 | |
| 7748 |
잘살아보자
|
10년 전 | 461 | |
| 7747 |
잘살아보자
|
10년 전 | 561 | |
| 7746 |
잘살아보자
|
10년 전 | 670 | |
| 7745 |
잘살아보자
|
10년 전 | 900 | |
| 7744 |
잘살아보자
|
10년 전 | 407 | |
| 7743 | 10년 전 | 937 | ||
| 7742 |
starbros
|
10년 전 | 822 | |
| 7741 |
잘살아보자
|
10년 전 | 656 | |
| 7740 |
잘살아보자
|
10년 전 | 514 | |
| 7739 |
잘살아보자
|
10년 전 | 454 | |
| 7738 |
잘살아보자
|
10년 전 | 518 | |
| 7737 |
잘살아보자
|
10년 전 | 479 | |
| 7736 |
잘살아보자
|
10년 전 | 503 | |
| 7735 |
잘살아보자
|
10년 전 | 832 | |
| 7734 |
잘살아보자
|
10년 전 | 421 | |
| 7733 |
잘살아보자
|
10년 전 | 529 | |
| 7732 |
잘살아보자
|
10년 전 | 682 | |
| 7731 |
잘살아보자
|
10년 전 | 605 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기