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건
+
제목 글쓴이 날짜 조회
08-11-25 조회 3,763
08-11-25 조회 2,956
08-11-25 조회 4,531
08-11-25 조회 4,405
08-11-21 조회 4,385
08-11-21 조회 5,313
08-11-20 조회 3,941
08-11-20 조회 3,754
08-11-19 조회 4,021
08-11-19 조회 4,261
08-11-18 조회 4,045
08-11-15 조회 2,921
08-11-14 조회 3,224
08-11-14 조회 2,890
08-11-14 조회 3,283
08-11-13 조회 3,909
08-11-12 조회 1만
08-11-07 조회 4,610
08-11-07 조회 5,595
08-11-03 조회 3,362
08-11-01 조회 5,076
08-11-01 조회 3,029
08-10-30 조회 2,738
08-10-30 조회 3,669
08-10-30 조회 2,764
08-10-30 조회 3,000
08-10-30 조회 2,864
08-10-29 조회 3,945
08-10-29 조회 2,926
08-10-29 조회 2,459
08-10-20 조회 2,590
08-10-18 조회 4,538
08-10-16 조회 3,594
08-10-16 조회 3,397
08-10-14 조회 2,599
08-10-11 조회 3,900
08-10-11 조회 2,495
08-10-09 조회 2,592
08-10-09 조회 2,749
08-10-09 조회 4,215
08-10-08 조회 3,911
08-10-02 조회 3,851
08-10-02 조회 2,598
08-10-02 조회 2,746
08-09-29 조회 4,677
08-09-29 조회 4,306
08-09-26 조회 5,619
08-09-26 조회 3,592
08-09-26 조회 3,659
08-09-26 조회 2,806
08-09-26 조회 3,844
08-09-26 조회 3,582
08-09-26 조회 4,344
08-09-22 조회 3,905
08-09-22 조회 3,090
08-09-22 조회 4,057
08-09-22 조회 3,018
08-09-22 조회 2,666
08-09-21 조회 3,654
08-09-20 조회 4,236
08-09-20 조회 5,507
08-09-20 조회 4,602
08-09-20 조회 2,927
08-09-20 조회 3,324
08-09-20 조회 3,690
08-09-20 조회 3,066
08-09-20 조회 3,257
08-09-20 조회 4,241
08-09-20 조회 3,741
08-09-20 조회 3,322
08-09-19 조회 5,718
08-09-19 조회 4,494
08-09-19 조회 2,808
08-09-18 조회 5,158
08-09-18 조회 4,238
08-09-18 조회 3,614
08-09-18 조회 2,809
08-09-18 조회 3,724
08-09-18 조회 3,516
08-09-17 조회 3,384
08-09-16 조회 3,331
08-09-10 조회 2,544
08-09-09 조회 3,342
08-09-06 조회 4,233
08-09-06 조회 2,795
08-09-06 조회 3,163
08-09-06 조회 2,825
08-09-06 조회 3,055
08-09-06 조회 2,943
08-09-06 조회 2,915
08-09-05 조회 3,913
08-09-05 조회 3,740
08-09-05 조회 3,567
08-09-05 조회 2,787
08-09-05 조회 3,813
08-09-05 조회 5,775
08-09-05 조회 4,233
08-09-05 조회 3,120
08-09-05 조회 3,276
08-09-05 조회 4,702