메뉴 건너뛰기

tnt_etc

정보추출 실시간 TV/RADIO 홈페이지에 넣기

운영자 2003.10.06 17:56 조회 수 : 1389 추천:35

== http://linkhi.co.kr 실시간 TV/RADIO 홈페이지에 넣기  ==

실시간 TV/RADIO 보기

실시간 TV/RADIO를 삽입하고자 하는 페이지에 다음과 같이 소스를 붙여넣기 합니다.

<SCRIPT ...>에서 </SCRIPT>까지를 <head></head>사이에 붙이고..

<SCRIPT LANGUAGE="JavaScript" type="text/Javascript">

function popUpCenteredWindow() {

        var iMyWidth;

        var iMyHeight;

        //gets top and left positions based on user's resolution so hint window is centered.

        iMyWidth = (window.screen.width/2) - (122 + 10); //half the screen width minus half the new window width (plus 5 pixel borders).

        iMyHeight = (window.screen.height/2) - (27 + 50); //half the screen height minus half the new window height (plus title and status bars).

        var win2 = window.open("http://linkhi.co.kr/tv/tv_main.htm","Window2","status=no,height=450,width=325,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");

        win2.focus();

}

</SCRIPT>

<body></body>사이 원하는 위치에 아래 부분을 가져다 붙이면 되겠습니다.

<A HREF="javascript:void(0);" onClick="popUpCenteredWindow();"><font size="2" face="돋움">실시간 TV/RADIO</font></A>

문의 : webmaster@linkhi.co.kr

제공 :  인터넷 시작페이지 http://linkhi.co.kr/
위로