<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년 전 | 4120 | ||
| 429 | 19년 전 | 3316 | ||
| 428 | 19년 전 | 4138 | ||
| 427 | 19년 전 | 3487 | ||
| 426 | 19년 전 | 3110 | ||
| 425 | 19년 전 | 3421 | ||
| 424 | 19년 전 | 2446 | ||
| 423 | 19년 전 | 2870 | ||
| 422 | 19년 전 | 2360 | ||
| 421 | 19년 전 | 3712 | ||
| 420 | 19년 전 | 4749 | ||
| 419 | 19년 전 | 3819 | ||
| 418 |
|
19년 전 | 1758 | |
| 417 | 19년 전 | 2761 | ||
| 416 | 19년 전 | 2402 | ||
| 415 | 19년 전 | 2612 | ||
| 414 | 19년 전 | 4425 | ||
| 413 |
|
19년 전 | 2617 | |
| 412 | 19년 전 | 3061 | ||
| 411 |
|
19년 전 | 2999 | |
| 410 |
|
19년 전 | 3702 | |
| 409 |
|
19년 전 | 3650 | |
| 408 |
|
19년 전 | 1867 | |
| 407 | 19년 전 | 2240 | ||
| 406 | 19년 전 | 2800 | ||
| 405 | 19년 전 | 2472 | ||
| 404 | 19년 전 | 4320 | ||
| 403 | 19년 전 | 3309 | ||
| 402 |
NeoGenesis
|
19년 전 | 4107 | |
| 401 | 19년 전 | 2615 | ||
| 400 |
|
19년 전 | 2507 | |
| 399 | 19년 전 | 2970 | ||
| 398 | 19년 전 | 2503 | ||
| 397 | 19년 전 | 2796 | ||
| 396 | 19년 전 | 2498 | ||
| 395 | 19년 전 | 3204 | ||
| 394 | 19년 전 | 1743 | ||
| 393 | 19년 전 | 3004 | ||
| 392 | 19년 전 | 2280 | ||
| 391 | 19년 전 | 2187 | ||
| 390 | 19년 전 | 2297 | ||
| 389 | 19년 전 | 2655 | ||
| 388 | 19년 전 | 2199 | ||
| 387 | 19년 전 | 4491 | ||
| 386 |
|
19년 전 | 2697 | |
| 385 |
|
19년 전 | 2502 | |
| 384 | 19년 전 | 3035 | ||
| 383 | 19년 전 | 3068 | ||
| 382 | 19년 전 | 3122 | ||
| 381 |
|
19년 전 | 2646 | |
| 380 |
|
19년 전 | 3030 | |
| 379 | 19년 전 | 2555 | ||
| 378 | 19년 전 | 2222 | ||
| 377 | 19년 전 | 2788 | ||
| 376 | 19년 전 | 2476 | ||
| 375 |
|
19년 전 | 2571 | |
| 374 | 19년 전 | 3830 | ||
| 373 | 19년 전 | 3283 | ||
| 372 | 19년 전 | 5003 | ||
| 371 |
세은아빠2
|
19년 전 | 2423 | |
| 370 | 19년 전 | 4507 | ||
| 369 | 19년 전 | 3117 | ||
| 368 | 19년 전 | 2918 | ||
| 367 | 19년 전 | 3743 | ||
| 366 | 19년 전 | 2668 | ||
| 365 | 19년 전 | 3754 | ||
| 364 | 19년 전 | 4025 | ||
| 363 | 19년 전 | 3458 | ||
| 362 | 19년 전 | 3496 | ||
| 361 | 19년 전 | 4117 | ||
| 360 |
hwatta
|
19년 전 | 2375 | |
| 359 | 19년 전 | 5119 | ||
| 358 | 19년 전 | 3667 | ||
| 357 | 19년 전 | 2612 | ||
| 356 |
sdesign1s
|
20년 전 | 2293 | |
| 355 | 20년 전 | 2770 | ||
| 354 | 20년 전 | 3034 | ||
| 353 | 20년 전 | 2804 | ||
| 352 |
|
20년 전 | 5784 | |
| 351 |
|
20년 전 | 2719 | |
| 350 |
|
20년 전 | 4305 | |
| 349 |
hwatta
|
20년 전 | 2194 | |
| 348 | 20년 전 | 7315 | ||
| 347 | 20년 전 | 2422 | ||
| 346 | 20년 전 | 3516 | ||
| 345 | 20년 전 | 4323 | ||
| 344 | 20년 전 | 2660 | ||
| 343 | 20년 전 | 3930 | ||
| 342 | 20년 전 | 3080 | ||
| 341 | 20년 전 | 4107 | ||
| 340 |
|
20년 전 | 5159 | |
| 339 |
|
20년 전 | 4246 | |
| 338 | 20년 전 | 5891 | ||
| 337 | 20년 전 | 2053 | ||
| 336 |
|
20년 전 | 3341 | |
| 335 |
|
20년 전 | 3559 | |
| 334 |
|
20년 전 | 2953 | |
| 333 |
hwatta
|
20년 전 | 2455 | |
| 332 | 20년 전 | 4666 | ||
| 331 | 20년 전 | 2290 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기