<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년 전
정말 좋은 소스네요..감사합니다...잘 쓰겠습니다...^^*
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7930 | 9년 전 | 442 | ||
| 7929 | 9년 전 | 373 | ||
| 7928 | 9년 전 | 459 | ||
| 7927 | 9년 전 | 371 | ||
| 7926 | 9년 전 | 680 | ||
| 7925 | 9년 전 | 393 | ||
| 7924 | 9년 전 | 378 | ||
| 7923 | 9년 전 | 373 | ||
| 7922 | 9년 전 | 406 | ||
| 7921 | 9년 전 | 421 | ||
| 7920 | 9년 전 | 339 | ||
| 7919 | 9년 전 | 349 | ||
| 7918 | 9년 전 | 502 | ||
| 7917 | 9년 전 | 353 | ||
| 7916 | 9년 전 | 438 | ||
| 7915 | 9년 전 | 443 | ||
| 7914 | 9년 전 | 452 | ||
| 7913 | 9년 전 | 626 | ||
| 7912 | 9년 전 | 458 | ||
| 7911 | 9년 전 | 392 | ||
| 7910 | 9년 전 | 437 | ||
| 7909 | 9년 전 | 540 | ||
| 7908 | 9년 전 | 481 | ||
| 7907 | 9년 전 | 417 | ||
| 7906 | 9년 전 | 439 | ||
| 7905 | 9년 전 | 406 | ||
| 7904 | 9년 전 | 390 | ||
| 7903 | 9년 전 | 387 | ||
| 7902 | 9년 전 | 586 | ||
| 7901 |
|
9년 전 | 764 | |
| 7900 | 9년 전 | 636 | ||
| 7899 | 9년 전 | 421 | ||
| 7898 | 9년 전 | 424 | ||
| 7897 | 9년 전 | 379 | ||
| 7896 | 9년 전 | 395 | ||
| 7895 | 9년 전 | 506 | ||
| 7894 | 9년 전 | 424 | ||
| 7893 | 9년 전 | 395 | ||
| 7892 | 9년 전 | 430 | ||
| 7891 | 9년 전 | 793 | ||
| 7890 | 9년 전 | 1225 | ||
| 7889 | 9년 전 | 762 | ||
| 7888 |
limsy1987
|
9년 전 | 572 | |
| 7887 | 9년 전 | 599 | ||
| 7886 | 9년 전 | 492 | ||
| 7885 | 9년 전 | 452 | ||
| 7884 | 9년 전 | 447 | ||
| 7883 | 9년 전 | 452 | ||
| 7882 | 9년 전 | 511 | ||
| 7881 | 9년 전 | 477 | ||
| 7880 | 9년 전 | 608 | ||
| 7879 | 9년 전 | 497 | ||
| 7878 | 9년 전 | 1268 | ||
| 7877 | 9년 전 | 794 | ||
| 7876 | 9년 전 | 530 | ||
| 7875 | 9년 전 | 605 | ||
| 7874 |
|
9년 전 | 825 | |
| 7873 | 9년 전 | 541 | ||
| 7872 | 9년 전 | 708 | ||
| 7871 | 9년 전 | 524 | ||
| 7870 | 9년 전 | 643 | ||
| 7869 | 9년 전 | 456 | ||
| 7868 | 9년 전 | 490 | ||
| 7867 | 9년 전 | 487 | ||
| 7866 | 9년 전 | 542 | ||
| 7865 | 9년 전 | 486 | ||
| 7864 | 9년 전 | 551 | ||
| 7863 | 9년 전 | 548 | ||
| 7862 | 9년 전 | 501 | ||
| 7861 | 9년 전 | 682 | ||
| 7860 | 9년 전 | 657 | ||
| 7859 | 9년 전 | 436 | ||
| 7858 | 9년 전 | 739 | ||
| 7857 | 9년 전 | 1126 | ||
| 7856 | 9년 전 | 556 | ||
| 7855 | 9년 전 | 785 | ||
| 7854 | 9년 전 | 743 | ||
| 7853 | 9년 전 | 632 | ||
| 7852 | 9년 전 | 554 | ||
| 7851 | 9년 전 | 543 | ||
| 7850 | 9년 전 | 623 | ||
| 7849 | 9년 전 | 389 | ||
| 7848 | 9년 전 | 459 | ||
| 7847 | 9년 전 | 701 | ||
| 7846 | 9년 전 | 491 | ||
| 7845 | 9년 전 | 459 | ||
| 7844 | 9년 전 | 430 | ||
| 7843 | 9년 전 | 468 | ||
| 7842 | 9년 전 | 442 | ||
| 7841 | 9년 전 | 421 | ||
| 7840 | 9년 전 | 432 | ||
| 7839 | 9년 전 | 474 | ||
| 7838 | 9년 전 | 538 | ||
| 7837 | 9년 전 | 381 | ||
| 7836 | 9년 전 | 433 | ||
| 7835 | 9년 전 | 509 | ||
| 7834 |
|
9년 전 | 1220 | |
| 7833 | 10년 전 | 475 | ||
| 7832 | 10년 전 | 454 | ||
| 7831 | 10년 전 | 610 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기