y

외부문서불러오기

<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>
 
 
[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]

댓글 1개

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

프로그램

8,187건
+
제목 글쓴이 날짜 조회
09-10-03 조회 3,153
08-02-03 조회 3,465
08-02-03 조회 3,404
08-01-30 조회 4,912
08-01-29 조회 2,790
08-01-27 조회 3,924
08-01-27 조회 2,858
08-01-27 조회 3,134
08-01-26 조회 8,686
08-01-26 조회 3,242
08-01-24 조회 5,293
08-01-23 조회 3,631
08-01-21 조회 3,677
08-01-21 조회 3,417
08-01-21 조회 3,433
08-01-18 조회 3,952
08-01-18 조회 4,594
08-01-18 조회 6,746
08-01-18 조회 4,033
08-01-17 조회 4,017
08-01-17 조회 3,837
08-01-16 조회 3,099
08-01-15 조회 3,485
08-01-14 조회 6,736
08-01-12 조회 4,335
08-01-12 조회 3,903
08-01-12 조회 4,614
08-01-12 조회 3,854
08-01-12 조회 4,146
08-01-11 조회 7,179
08-01-10 조회 3,911
08-01-08 조회 3,454
08-01-08 조회 3,930
08-01-06 조회 2,719
08-01-04 조회 1.1만
08-01-02 조회 5,803
07-12-28 조회 4,735
07-12-24 조회 3,156
07-12-21 조회 4,854
07-12-17 조회 3,631
07-12-14 조회 5,005
07-12-13 조회 6,435
07-12-10 조회 5,078
07-12-10 조회 3,957
07-12-10 조회 4,356
07-12-08 조회 3,715
07-12-07 조회 4,054
07-12-07 조회 3,179
07-12-06 조회 4,924
07-12-04 조회 3,498
07-12-04 조회 3,646
07-12-03 조회 3,407
07-12-03 조회 4,443
07-12-02 조회 3,271
07-11-30 조회 4,012
07-11-30 조회 5,239
07-11-30 조회 5,826
07-11-29 조회 3,689
07-11-27 조회 4,144
07-11-27 조회 5,919
07-11-27 조회 4,024
07-11-26 조회 3,135
07-11-23 조회 4,605
07-11-23 조회 4,333
07-11-22 조회 5,228
07-11-21 조회 3,456
07-11-21 조회 3,586
07-11-21 조회 1.2만
07-11-20 조회 4,963
07-11-16 조회 4,815
07-11-13 조회 4,483
07-11-12 조회 4,204
07-11-10 조회 5,586
07-11-08 조회 6,748
07-11-08 조회 5,076
07-11-07 조회 4,540
07-11-07 조회 4,993
07-11-06 조회 3,541
07-11-06 조회 3,912
07-11-05 조회 5,235
07-11-02 조회 4,119
07-11-01 조회 5,584
07-10-31 조회 3,277
07-10-30 조회 3,739
07-10-29 조회 3,730
07-10-26 조회 5,056
07-10-25 조회 5,134
07-10-25 조회 3,924
07-10-24 조회 3,921
07-10-24 조회 4,239
07-10-24 조회 4,095
07-10-24 조회 3,363
07-10-24 조회 3,480
07-10-23 조회 6,126
07-10-23 조회 5,512
07-10-22 조회 4,246
07-10-22 조회 3,626
07-10-22 조회 4,154
07-10-22 조회 3,746
07-10-19 조회 4,806