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-04-22 조회 2,605
07-04-22 조회 2,429
07-04-22 조회 2,349
07-04-21 조회 2,421
07-04-21 조회 2,748
07-04-21 조회 2,098
07-04-21 조회 2,521
07-04-21 조회 2,355
07-04-21 조회 2,432
07-04-20 조회 4,238
07-04-20 조회 2,155
07-04-20 조회 2,374
07-04-20 조회 3,409
07-04-20 조회 3,512
07-04-20 조회 2,535
07-04-20 조회 3,139
07-04-20 조회 2,399
07-04-19 조회 3,749
07-04-18 조회 7,829
07-04-18 조회 5,032
07-04-18 조회 3,428
07-04-17 조회 7,585
07-04-17 조회 3,843
07-04-17 조회 3,886
07-04-17 조회 3,329
07-04-16 조회 3,345
07-04-16 조회 3,334
07-04-16 조회 5,207
07-04-15 조회 5,255
07-04-15 조회 6,325
07-04-14 조회 5,424
07-04-13 조회 3,858
07-04-13 조회 3,168
07-04-13 조회 4,131
07-04-13 조회 3,990
07-04-13 조회 3,487
07-04-12 조회 6,683
07-04-12 조회 6,025
07-04-12 조회 5,086
07-04-12 조회 4,685
07-04-12 조회 3,364
07-04-12 조회 3,405
07-04-12 조회 4,924
07-04-11 조회 3,527
07-04-11 조회 3,731
07-04-11 조회 2,975
07-04-11 조회 5,766
07-04-11 조회 3,376
07-04-11 조회 3,505
07-04-11 조회 5,260
07-04-08 조회 5,242
07-04-07 조회 3,335
07-04-05 조회 4,019
07-04-05 조회 6,396
07-04-04 조회 3,624
07-04-04 조회 4,196
07-04-02 조회 9,835
07-03-31 조회 3,221
07-03-31 조회 4,204
07-03-30 조회 3,839
07-03-30 조회 4,211
07-03-29 조회 3,676
07-03-29 조회 3,717
07-03-27 조회 3,966
07-03-27 조회 5,184
07-03-27 조회 3,879
07-03-26 조회 3,939
07-03-24 조회 4,463
07-03-24 조회 4,074
07-03-23 조회 3,318
07-03-22 조회 3,743
07-03-21 조회 3,773
07-03-21 조회 5,273
07-03-21 조회 6,000
07-03-20 조회 3,596
07-03-20 조회 3,777
07-03-20 조회 3,671
07-03-20 조회 5,018
07-03-19 조회 3,650
07-03-19 조회 3,566
07-03-18 조회 2,891
07-03-18 조회 3,186
07-03-18 조회 4,019
07-03-18 조회 4,764
07-03-17 조회 4,266
07-03-16 조회 4,166
07-03-16 조회 3,199
07-03-15 조회 5,332
07-03-15 조회 3,412
07-03-13 조회 5,432
07-03-13 조회 3,729
07-03-13 조회 3,614
07-03-13 조회 4,723
07-03-13 조회 3,446
07-03-13 조회 3,344
07-03-12 조회 4,498
07-03-11 조회 5,183
07-03-11 조회 3,424
07-03-11 조회 3,602
07-03-10 조회 5,038