<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년 전
정말 좋은 소스네요..감사합니다...잘 쓰겠습니다...^^*
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 830 |
|
19년 전 | 2190 | |
| 829 |
|
19년 전 | 1928 | |
| 828 |
|
19년 전 | 1814 | |
| 827 |
|
19년 전 | 1657 | |
| 826 |
|
19년 전 | 1853 | |
| 825 |
|
19년 전 | 1900 | |
| 824 |
|
19년 전 | 1956 | |
| 823 |
|
19년 전 | 2692 | |
| 822 |
|
19년 전 | 5327 | |
| 821 |
|
19년 전 | 1727 | |
| 820 |
|
19년 전 | 1579 | |
| 819 |
|
19년 전 | 1445 | |
| 818 |
|
19년 전 | 1609 | |
| 817 |
|
19년 전 | 1529 | |
| 816 |
|
19년 전 | 1449 | |
| 815 |
|
19년 전 | 1462 | |
| 814 |
|
19년 전 | 1385 | |
| 813 |
|
19년 전 | 1451 | |
| 812 | 19년 전 | 2822 | ||
| 811 |
pearly
|
19년 전 | 3840 | |
| 810 |
pearly
|
19년 전 | 5221 | |
| 809 |
|
19년 전 | 1385 | |
| 808 |
pearly
|
19년 전 | 4545 | |
| 807 | 19년 전 | 2983 | ||
| 806 |
|
19년 전 | 1505 | |
| 805 |
|
19년 전 | 2695 | |
| 804 |
|
19년 전 | 3621 | |
| 803 |
|
19년 전 | 1815 | |
| 802 |
|
19년 전 | 3792 | |
| 801 |
|
19년 전 | 1883 | |
| 800 | 19년 전 | 3771 | ||
| 799 | 19년 전 | 3438 | ||
| 798 | 19년 전 | 4210 | ||
| 797 | 19년 전 | 4075 | ||
| 796 |
|
19년 전 | 1898 | |
| 795 |
|
19년 전 | 1859 | |
| 794 | 19년 전 | 4280 | ||
| 793 | 19년 전 | 2674 | ||
| 792 | 19년 전 | 2551 | ||
| 791 | 19년 전 | 2402 | ||
| 790 | 19년 전 | 1984 | ||
| 789 | 19년 전 | 2594 | ||
| 788 | 19년 전 | 2212 | ||
| 787 | 19년 전 | 1850 | ||
| 786 | 19년 전 | 1979 | ||
| 785 | 19년 전 | 1444 | ||
| 784 |
|
19년 전 | 1699 | |
| 783 | 19년 전 | 2842 | ||
| 782 |
|
19년 전 | 1964 | |
| 781 | 19년 전 | 3253 | ||
| 780 | 19년 전 | 3162 | ||
| 779 |
|
19년 전 | 2250 | |
| 778 |
|
19년 전 | 1804 | |
| 777 | 19년 전 | 2846 | ||
| 776 | 19년 전 | 2913 | ||
| 775 | 19년 전 | 4024 | ||
| 774 |
|
19년 전 | 1984 | |
| 773 | 19년 전 | 2624 | ||
| 772 | 19년 전 | 2345 | ||
| 771 | 19년 전 | 3474 | ||
| 770 |
|
19년 전 | 1441 | |
| 769 | 19년 전 | 1505 | ||
| 768 | 19년 전 | 1773 | ||
| 767 | 19년 전 | 2204 | ||
| 766 | 19년 전 | 1837 | ||
| 765 | 19년 전 | 1697 | ||
| 764 |
|
19년 전 | 2115 | |
| 763 |
|
19년 전 | 2224 | |
| 762 |
|
19년 전 | 4964 | |
| 761 | 19년 전 | 2330 | ||
| 760 |
|
19년 전 | 3197 | |
| 759 | 19년 전 | 2645 | ||
| 758 |
|
19년 전 | 2407 | |
| 757 | 19년 전 | 4705 | ||
| 756 | 19년 전 | 2573 | ||
| 755 |
|
19년 전 | 2420 | |
| 754 |
|
19년 전 | 1962 | |
| 753 |
|
19년 전 | 1745 | |
| 752 |
pearly
|
19년 전 | 3372 | |
| 751 | 19년 전 | 2350 | ||
| 750 |
|
19년 전 | 6166 | |
| 749 | 19년 전 | 2038 | ||
| 748 |
|
19년 전 | 1908 | |
| 747 |
|
19년 전 | 2710 | |
| 746 |
|
19년 전 | 1819 | |
| 745 | 19년 전 | 2288 | ||
| 744 | 19년 전 | 2116 | ||
| 743 |
|
19년 전 | 3574 | |
| 742 | 19년 전 | 2586 | ||
| 741 | 19년 전 | 2751 | ||
| 740 |
|
19년 전 | 4376 | |
| 739 | 19년 전 | 3550 | ||
| 738 |
|
19년 전 | 2309 | |
| 737 | 19년 전 | 4320 | ||
| 736 | 19년 전 | 3275 | ||
| 735 |
홀로남은자
|
19년 전 | 4147 | |
| 734 |
홀로남은자
|
19년 전 | 2030 | |
| 733 |
홀로남은자
|
19년 전 | 2234 | |
| 732 | 19년 전 | 2141 | ||
| 731 | 19년 전 | 3358 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기