<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년 전
정말 좋은 소스네요..감사합니다...잘 쓰겠습니다...^^*
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 430 | 19년 전 | 4107 | ||
| 429 | 19년 전 | 3307 | ||
| 428 | 19년 전 | 4133 | ||
| 427 | 19년 전 | 3478 | ||
| 426 | 19년 전 | 3106 | ||
| 425 | 19년 전 | 3409 | ||
| 424 | 19년 전 | 2440 | ||
| 423 | 19년 전 | 2867 | ||
| 422 | 19년 전 | 2356 | ||
| 421 | 19년 전 | 3708 | ||
| 420 | 19년 전 | 4744 | ||
| 419 | 19년 전 | 3803 | ||
| 418 |
|
19년 전 | 1752 | |
| 417 | 19년 전 | 2750 | ||
| 416 | 19년 전 | 2392 | ||
| 415 | 19년 전 | 2607 | ||
| 414 | 19년 전 | 4413 | ||
| 413 |
|
19년 전 | 2601 | |
| 412 | 19년 전 | 3051 | ||
| 411 |
|
19년 전 | 2996 | |
| 410 |
|
19년 전 | 3691 | |
| 409 |
|
19년 전 | 3640 | |
| 408 |
|
19년 전 | 1860 | |
| 407 | 19년 전 | 2233 | ||
| 406 | 19년 전 | 2786 | ||
| 405 | 19년 전 | 2453 | ||
| 404 | 19년 전 | 4307 | ||
| 403 | 19년 전 | 3305 | ||
| 402 |
NeoGenesis
|
19년 전 | 4095 | |
| 401 | 19년 전 | 2610 | ||
| 400 |
|
19년 전 | 2501 | |
| 399 | 19년 전 | 2959 | ||
| 398 | 19년 전 | 2488 | ||
| 397 | 19년 전 | 2784 | ||
| 396 | 19년 전 | 2484 | ||
| 395 | 19년 전 | 3188 | ||
| 394 | 19년 전 | 1730 | ||
| 393 | 19년 전 | 2995 | ||
| 392 | 19년 전 | 2260 | ||
| 391 | 19년 전 | 2179 | ||
| 390 | 19년 전 | 2289 | ||
| 389 | 19년 전 | 2647 | ||
| 388 | 19년 전 | 2184 | ||
| 387 | 19년 전 | 4486 | ||
| 386 |
|
19년 전 | 2693 | |
| 385 |
|
19년 전 | 2487 | |
| 384 | 19년 전 | 3020 | ||
| 383 | 19년 전 | 3060 | ||
| 382 | 19년 전 | 3111 | ||
| 381 |
|
19년 전 | 2634 | |
| 380 |
|
19년 전 | 3021 | |
| 379 | 19년 전 | 2551 | ||
| 378 | 19년 전 | 2210 | ||
| 377 | 19년 전 | 2781 | ||
| 376 | 19년 전 | 2470 | ||
| 375 |
|
19년 전 | 2566 | |
| 374 | 19년 전 | 3823 | ||
| 373 | 19년 전 | 3273 | ||
| 372 | 19년 전 | 4993 | ||
| 371 |
세은아빠2
|
19년 전 | 2416 | |
| 370 | 19년 전 | 4502 | ||
| 369 | 19년 전 | 3109 | ||
| 368 | 19년 전 | 2908 | ||
| 367 | 19년 전 | 3728 | ||
| 366 | 19년 전 | 2658 | ||
| 365 | 19년 전 | 3741 | ||
| 364 | 19년 전 | 4019 | ||
| 363 | 19년 전 | 3445 | ||
| 362 | 19년 전 | 3484 | ||
| 361 | 19년 전 | 4108 | ||
| 360 |
hwatta
|
19년 전 | 2366 | |
| 359 | 19년 전 | 5110 | ||
| 358 | 19년 전 | 3659 | ||
| 357 | 19년 전 | 2603 | ||
| 356 |
sdesign1s
|
19년 전 | 2282 | |
| 355 | 20년 전 | 2757 | ||
| 354 | 20년 전 | 3031 | ||
| 353 | 20년 전 | 2796 | ||
| 352 |
|
20년 전 | 5777 | |
| 351 |
|
20년 전 | 2707 | |
| 350 |
|
20년 전 | 4297 | |
| 349 |
hwatta
|
20년 전 | 2185 | |
| 348 | 20년 전 | 7308 | ||
| 347 | 20년 전 | 2417 | ||
| 346 | 20년 전 | 3505 | ||
| 345 | 20년 전 | 4313 | ||
| 344 | 20년 전 | 2655 | ||
| 343 | 20년 전 | 3922 | ||
| 342 | 20년 전 | 3072 | ||
| 341 | 20년 전 | 4095 | ||
| 340 |
|
20년 전 | 5144 | |
| 339 |
|
20년 전 | 4236 | |
| 338 | 20년 전 | 5877 | ||
| 337 | 20년 전 | 2046 | ||
| 336 |
|
20년 전 | 3326 | |
| 335 |
|
20년 전 | 3541 | |
| 334 |
|
20년 전 | 2933 | |
| 333 |
hwatta
|
20년 전 | 2441 | |
| 332 | 20년 전 | 4657 | ||
| 331 | 20년 전 | 2275 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기