Contents

조회 수 6808 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

블루비에서 퍼온 샘플..

<html>
<head>
<title>http://www.blueb.co.kr</title>
<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://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://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://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://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>
		<divs id="my_site_content"></divs>
	</td>
</tr>
</table>


?

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
841 Develop '2014 모바일 개발 트렌드' 발표자료입니다. file hooni 2014.10.02 1134
840 Develop Aspect Oriented Programming in Objective-C hooni 2015.05.18 939
839 Develop DDay Memo 1.9.4 소스코드 secret hooni 2015.10.03 0
838 Develop GCM 사용하기 2 (단말에 GCM 구현하기) file hooni 2013.07.06 23408
837 Develop GCM 사용하기 3 (JSP로 GCM 푸시 서버 만들기) 4 file hooni 2013.07.06 25419
836 Develop git 브런치 배우기 (링크) hooni 2013.07.09 20696
835 Develop GPL, AGPL, MPL,.. 한눈에 보는 오픈소스SW 라이선스 file hooni 2014.10.14 1259
834 Develop How to Test SMTP AUTH using Telnet hooni 2018.04.05 1582
833 Develop JSON, BSON 변환 file hooni 2013.04.23 11868
832 Develop Laravel 5 Failed opening required bootstrap/../vendor/autoload.php hooni 2018.01.24 1827
831 Develop Mac OS 에 Jenkins 설치하기 (Homebrew) 2 file hooni 2017.03.15 8385
830 Develop macOS에 node, npm 설치하기 (homebrew) file hooni 2021.11.06 1450
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 71 Next
/ 71