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개

댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
18년 전 조회 2,710
18년 전 조회 2,333
18년 전 조회 3,265
18년 전 조회 3,179
18년 전 조회 3,334
18년 전 조회 3,269
18년 전 조회 4,929
18년 전 조회 5,218
18년 전 조회 3,421
18년 전 조회 2,725
18년 전 조회 2,958
18년 전 조회 2,285
18년 전 조회 2,098
18년 전 조회 2,048
18년 전 조회 3,080
18년 전 조회 2,367
18년 전 조회 2,386
18년 전 조회 2,062
18년 전 조회 2,435
18년 전 조회 3,168
18년 전 조회 4,102
18년 전 조회 3,382
18년 전 조회 2,017
18년 전 조회 1,959
18년 전 조회 2,873
18년 전 조회 1,670
18년 전 조회 2,021
18년 전 조회 2,308
18년 전 조회 2,176
18년 전 조회 2,274
18년 전 조회 4,043
18년 전 조회 1,794
18년 전 조회 4,395
18년 전 조회 2,930
18년 전 조회 2,239
18년 전 조회 3,281
18년 전 조회 2,905
18년 전 조회 2,840
18년 전 조회 5,637
18년 전 조회 2,303
18년 전 조회 3,424
18년 전 조회 3,333
18년 전 조회 3,718
18년 전 조회 3,272
18년 전 조회 2,451
18년 전 조회 2,099
18년 전 조회 2,553
18년 전 조회 6,120
18년 전 조회 2,745
18년 전 조회 4,546
18년 전 조회 2,042
18년 전 조회 1만
18년 전 조회 2,492
18년 전 조회 1,555
18년 전 조회 2,990
18년 전 조회 2,933
18년 전 조회 2,831
18년 전 조회 2,144
18년 전 조회 2,328
18년 전 조회 2,879
18년 전 조회 2,968
18년 전 조회 4,137
18년 전 조회 6,121
18년 전 조회 2,061
18년 전 조회 2,198
18년 전 조회 1,905
18년 전 조회 1,662
18년 전 조회 2,639
18년 전 조회 1,690
18년 전 조회 1,565
18년 전 조회 4,739
18년 전 조회 1,794
18년 전 조회 1,847
18년 전 조회 1,855
18년 전 조회 1,979
18년 전 조회 3,633
18년 전 조회 1,658
18년 전 조회 1,532
18년 전 조회 1,362
18년 전 조회 1,867
18년 전 조회 1,913
18년 전 조회 3,656
18년 전 조회 1,981
18년 전 조회 3,122
18년 전 조회 4,745
18년 전 조회 2,877
18년 전 조회 8,056
18년 전 조회 4,064
18년 전 조회 2,751
18년 전 조회 1,527
18년 전 조회 2,632
18년 전 조회 5,047
18년 전 조회 5,226
18년 전 조회 2,102
18년 전 조회 4,362
18년 전 조회 4,100
18년 전 조회 4,156
18년 전 조회 2,278
18년 전 조회 4,199
18년 전 조회 2,180
🐛 버그신고