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건
+
제목 글쓴이 날짜 조회
07-10-19 조회 3,462
07-10-19 조회 3,222
07-10-19 조회 3,172
07-10-19 조회 2,876
07-10-19 조회 4,452
07-10-19 조회 5,818
07-10-19 조회 6,097
07-10-19 조회 3,482
07-10-19 조회 4,946
07-10-17 조회 4,596
07-10-17 조회 5,985
07-10-16 조회 4,609
07-10-15 조회 5,573
07-10-13 조회 5,245
07-10-09 조회 4,949
07-10-09 조회 4,283
07-10-09 조회 4,213
07-10-09 조회 4,771
07-10-09 조회 3,536
07-10-09 조회 3,318
07-10-09 조회 6,791
07-10-09 조회 3,942
07-10-09 조회 3,676
07-10-09 조회 3,995
07-10-09 조회 3,368
07-10-09 조회 4,407
07-10-08 조회 1.1만
07-10-05 조회 3,153
07-10-05 조회 4,079
07-10-03 조회 4,192
07-10-03 조회 3,396
07-10-03 조회 4,241
07-10-03 조회 5,262
07-10-03 조회 4,244
07-10-03 조회 3,644
07-10-03 조회 7,330
07-10-03 조회 4,910
07-10-03 조회 7,581
07-10-03 조회 3,679
07-10-03 조회 3,621
07-10-03 조회 3,627
07-10-03 조회 4,663
07-10-03 조회 4,615
07-10-03 조회 3,312
07-10-03 조회 5,174
07-10-03 조회 2,976
07-10-03 조회 2,646
07-10-03 조회 2,699
07-10-03 조회 2,906
07-10-03 조회 2,914
07-10-03 조회 4,730
07-10-02 조회 3,620
07-10-02 조회 3,150
07-10-02 조회 3,488
07-10-02 조회 5,792
07-10-02 조회 3,524
07-10-02 조회 4,150
07-10-02 조회 3,166
07-10-02 조회 4,832
07-10-02 조회 3,077
07-10-02 조회 8,909
07-10-02 조회 4,566
07-10-01 조회 2,530
07-10-01 조회 3,729
07-09-28 조회 4,756
07-09-28 조회 3,628
07-09-27 조회 3,526
07-09-27 조회 4,035
07-09-27 조회 5,078
07-09-27 조회 4,680
07-09-27 조회 3,817
07-09-27 조회 3,227
07-09-27 조회 3,280
07-09-27 조회 3,915
07-09-27 조회 3,250
07-09-15 조회 4,188
07-09-15 조회 2,906
07-09-13 조회 3,424
07-09-13 조회 2,947
07-09-13 조회 3,381
07-09-11 조회 3,616
07-09-09 조회 3,552
07-08-28 조회 3,494
07-08-28 조회 3,368
07-08-23 조회 4,672
07-08-22 조회 2,866
07-08-21 조회 4,652
07-08-21 조회 3,232
07-08-16 조회 6,505
07-08-07 조회 3,412
07-08-04 조회 3,540
07-08-04 조회 2,910
07-08-04 조회 3,321
07-08-04 조회 4,880
07-08-04 조회 2,722
07-08-04 조회 2,928
07-08-01 조회 5,565
07-08-01 조회 4,978
07-07-31 조회 4,439
07-07-31 조회 4,690