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-05-09 조회 3,509
07-05-09 조회 5,453
07-05-09 조회 3,534
07-05-09 조회 4,597
07-05-09 조회 6,149
07-05-08 조회 3,200
07-05-08 조회 4,560
07-05-08 조회 2,888
07-05-08 조회 3,936
07-05-07 조회 2,944
07-05-05 조회 3,979
07-05-04 조회 3,808
07-05-04 조회 2,803
07-05-04 조회 2,742
07-05-04 조회 2,963
07-05-04 조회 3,532
07-05-04 조회 3,298
07-05-04 조회 3,636
07-05-04 조회 6,232
07-05-04 조회 2,999
07-05-04 조회 2,429
07-05-04 조회 2,532
07-05-04 조회 2,503
07-05-04 조회 2,247
07-05-04 조회 2,204
07-05-04 조회 2,563
07-05-04 조회 2,535
07-05-04 조회 3,492
07-05-04 조회 2,408
07-05-04 조회 2,800
07-05-04 조회 3,315
07-05-04 조회 2,448
07-05-04 조회 4,034
07-05-04 조회 2,501
07-05-04 조회 2,877
07-05-04 조회 2,699
07-05-04 조회 2,606
07-05-04 조회 2,436
07-05-04 조회 2,280
07-05-04 조회 2,902
07-05-04 조회 2,288
07-05-04 조회 4,875
07-05-04 조회 2,925
07-05-02 조회 3,010
07-05-02 조회 2,326
07-05-02 조회 3,052
07-05-02 조회 2,283
07-05-02 조회 2,344
07-05-02 조회 2,185
07-05-02 조회 2,154
07-05-02 조회 2,241
07-05-02 조회 3,765
07-05-01 조회 2,725
07-05-01 조회 2,830
07-05-01 조회 2,390
07-05-01 조회 3,072
07-05-01 조회 2,721
07-05-01 조회 2,691
07-05-01 조회 2,908
07-05-01 조회 2,180
07-05-01 조회 2,618
07-05-01 조회 3,493
07-05-01 조회 2,346
07-05-01 조회 2,528
07-05-01 조회 2,758
07-05-01 조회 2,360
07-05-01 조회 2,166
07-05-01 조회 2,372
07-05-01 조회 2,721
07-05-01 조회 2,840
07-05-01 조회 2,777
07-05-01 조회 2,395
07-04-30 조회 9,879
07-04-30 조회 3,191
07-04-30 조회 2,736
07-04-30 조회 2,694
07-04-30 조회 3,038
07-04-30 조회 3,107
07-04-30 조회 2,460
07-04-30 조회 2,205
07-04-30 조회 4,020
07-04-30 조회 4,410
07-04-30 조회 3,457
07-04-30 조회 2,862
07-04-30 조회 2,677
07-04-30 조회 2,106
07-04-28 조회 3,046
07-04-28 조회 6,572
07-04-27 조회 4,148
07-04-27 조회 3,482
07-04-27 조회 4,385
07-04-26 조회 3,786
07-04-26 조회 3,493
07-04-26 조회 5,807
07-04-26 조회 4,795
07-04-25 조회 4,800
07-04-25 조회 5,340
07-04-25 조회 3,227
07-04-22 조회 2,982
07-04-22 조회 2,995