외부 문서 불러오기 입니다.

· 2016-01-28 (목) 19:22:29 · 2379

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script>
var please_wait = null;

function open_url(url, target) {
    if ( ! document.getElementById) {
          return false;
    }

    if (please_wait != null) {
          document.getElementById(target).innerHTML = please_wait;
    }

    if (window.ActiveXObject) {
          link = new ActiveXObject("Microsoft.XMLHTTP");
    } else if (window.XMLHttpRequest) {
          link = new XMLHttpRequest();
    }

    if (link == undefined) {
          return false;
    }
    link.onreadystatechange = function() { response(url, target); }
    link.open("GET", url, true);
    link.send(null);
}

function response(url, target) {
    if (link.readyState == 4) {
         document.getElementById(target).innerHTML = (link.status == 200) ? link.responseText : "링크가 정확하지 않습니다. 에러코드: " + link.status;
    }
}

function set_loading_message(msg) {
    please_wait = msg;
}

</script>
</head>
<body>

<table>
<tr>
<td valign=top width=150>
<H5>외부문서 불러오기</H5>
<a href="javascript:void(0)" onclick="open_url('http://www.blueb.co.kr/rss_xml.php?table=community_QNA','my_site_content');">Go to page 1</a><br>
<a href="javascript:void(0)" onclick="open_url('http://www.blueb.co.kr/rss_xml.php?table=community_tipntech','my_site_content');">Go to page 2</a><br>
<a href="javascript:void(0)" onclick="open_url('http://www.blueb.co.kr/rss_xml.php?table=JS_50','my_site_content');">Go to page 3</a><br>
<a href="javascript:void(0)" onclick="open_url('http://www.blueb.co.kr/rss_xml.php?table=JS_02','my_site_content');">Go to page 4</a><br>
<a href="javascript:void(0)" onclick="open_url('링크없다.html','my_site_content');">Broken Link</a><br>
</td>
<td valign=top>
<div id="my_site_content">
</div>
</td>
</tr>
</table> 

|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
16-05-12 조회 2,802
16-04-12 조회 2,989
16-02-03 조회 2,704
16-02-03 조회 2,809
16-02-02 조회 2,607
16-02-01 조회 2,441
16-02-01 조회 2,497
16-01-31 조회 2,448
16-01-31 조회 2,581
16-01-31 조회 2,576
16-01-30 조회 2,477
16-01-29 조회 2,479
16-01-29 조회 2,363
16-01-29 조회 2,352
16-01-28 조회 2,380
16-01-28 조회 2,287
16-01-27 조회 2,434
16-01-27 조회 2,380
16-01-26 조회 2,349
16-01-25 조회 2,425
16-01-25 조회 2,344
16-01-24 조회 2,281
16-01-24 조회 2,312
16-01-24 조회 2,290
16-01-23 조회 2,299
16-01-23 조회 2,328
16-01-23 조회 2,302
16-01-22 조회 2,250
16-01-21 조회 2,500
16-01-21 조회 2,365
16-01-21 조회 2,310
16-01-20 조회 2,293
16-01-20 조회 2,265
16-01-20 조회 2,229
16-01-19 조회 2,306
16-01-19 조회 2,346
16-01-18 조회 2,405
16-01-16 조회 2,247
16-01-16 조회 2,258
16-01-16 조회 2,266
16-01-15 조회 2,436
16-01-15 조회 2,301
16-01-15 조회 2,376
16-01-15 조회 2,351
16-01-14 조회 2,352
16-01-14 조회 2,582
16-01-14 조회 2,389
16-01-13 조회 2,416
16-01-13 조회 2,342
16-01-13 조회 2,286
16-01-12 조회 2,312
16-01-11 조회 2,548
16-01-11 조회 2,216
16-01-11 조회 2,327
16-01-02 조회 2,724
15-12-31 조회 2,462
15-12-27 조회 2,563
15-12-27 조회 2,470
15-12-27 조회 2,458
15-12-26 조회 2,463
15-12-26 조회 2,487
15-12-26 조회 2,496
15-12-25 조회 3,119
15-12-25 조회 2,419
15-12-25 조회 2,408
15-12-25 조회 2,326
15-12-24 조회 2,920
15-12-23 조회 2,363
15-12-23 조회 2,513
15-12-23 조회 2,442
15-12-22 조회 2,476
15-12-22 조회 2,480
15-12-22 조회 2,396
15-12-21 조회 2,396
15-12-21 조회 2,479
15-12-21 조회 2,416
15-12-20 조회 2,489
15-12-20 조회 2,596
15-12-20 조회 2,452
15-12-19 조회 2,486
15-12-19 조회 2,513
15-12-19 조회 2,484
15-12-18 조회 2,788
15-12-18 조회 2,503
15-12-18 조회 2,489
15-12-18 조회 2,495
15-12-17 조회 2,454
15-12-17 조회 2,462
15-12-17 조회 2,439
15-12-16 조회 2,441
15-12-16 조회 2,484
15-12-16 조회 2,419
15-12-15 조회 2,439
15-12-15 조회 2,422
15-12-15 조회 2,427
15-12-14 조회 2,393
15-12-14 조회 2,574
15-12-14 조회 2,416
15-12-13 조회 2,398
15-12-13 조회 2,422