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,188건
+
제목 글쓴이 날짜 조회
08-04-03 조회 3,951
08-04-03 조회 2,754
08-04-02 조회 2,947
08-04-02 조회 2,824
08-04-02 조회 3,136
08-04-02 조회 3,093
08-04-02 조회 3,134
08-04-02 조회 3,086
08-04-02 조회 2,784
08-04-02 조회 2,766
08-04-02 조회 2,873
08-04-02 조회 3,166
08-04-02 조회 3,067
08-04-02 조회 2,848
08-04-02 조회 2,994
08-04-02 조회 2,651
08-04-02 조회 2,902
08-04-02 조회 3,225
08-04-02 조회 4,030
08-04-02 조회 3,236
08-03-31 조회 2,536
08-03-31 조회 3,110
08-03-31 조회 3,610
08-03-29 조회 2,736
08-03-28 조회 3,441
08-03-28 조회 2,941
08-03-28 조회 2,611
08-03-27 조회 2,440
08-03-26 조회 3,340
08-03-26 조회 4,290
08-03-25 조회 3,764
08-03-25 조회 2,773
08-03-25 조회 4,102
08-03-25 조회 3,616
08-03-25 조회 4,035
08-03-25 조회 4,061
08-03-25 조회 3,725
08-03-25 조회 3,622
08-03-25 조회 2,870
08-03-25 조회 3,627
08-03-25 조회 5,327
08-03-21 조회 2,987
08-03-19 조회 5,146
08-03-18 조회 3,009
08-03-16 조회 2,972
08-03-14 조회 3,275
08-03-13 조회 3,678
08-03-13 조회 2,655
08-03-11 조회 2,976
08-03-11 조회 3,517
08-03-11 조회 3,012
08-03-11 조회 2,977
08-03-11 조회 2,772
08-03-11 조회 2,621
08-03-11 조회 2,552
08-03-11 조회 2,364
08-03-11 조회 2,385
08-03-11 조회 2,422
08-03-11 조회 2,397
08-03-11 조회 2,817
08-03-11 조회 2,896
08-03-08 조회 3,106
08-03-07 조회 4,232
08-03-07 조회 3,328
08-03-07 조회 2,989
08-03-06 조회 3,330
08-03-06 조회 3,080
08-03-06 조회 4,773
08-03-05 조회 2,712
08-03-04 조회 2,853
08-03-04 조회 2,549
08-03-04 조회 3,408
08-03-03 조회 4,377
08-02-28 조회 3,471
08-02-27 조회 2,966
08-02-22 조회 4,289
08-02-22 조회 5,666
08-02-22 조회 2,940
08-02-21 조회 4,607
08-02-21 조회 2,825
08-02-21 조회 4,826
08-02-21 조회 7,116
08-02-21 조회 2,627
08-02-21 조회 3,392
08-02-20 조회 3,052
08-02-19 조회 2,723
08-02-19 조회 3,583
08-02-19 조회 3,798
08-02-15 조회 2,765
08-02-15 조회 3,950
08-02-14 조회 4,460
08-02-14 조회 2,663
08-02-12 조회 3,120
08-02-11 조회 5,113
08-02-09 조회 5,845
08-02-09 조회 3,042
08-02-08 조회 2,900
08-02-05 조회 3,905
08-02-04 조회 3,116
08-02-03 조회 5,405