'2008/02/01'에 해당되는 글 91건

  1. 2008.02.01 같은 글자 반복해서 나타내기
  2. 2008.02.01 마우스 오버시 툴팁 - 풍선 도움말
  3. 2008.02.01 E-mail :: 이메일 추출기에 걸리지 않게 E-mail 링크하기 2
  4. 2008.02.01 테이블 순서 바꾸기
  5. 2008.02.01 무단링크 방지
  6. 2008.02.01 iframe 리로드 시키기
  7. 2008.02.01 날아 다니는 이미지
  8. 2008.02.01 레이어 셀렉트 박스 최상위에...
  9. 2008.02.01 콤보박스(셀렉트박스다운) 메뉴 미 선택시 컬러 바뀌게...
  10. 2008.02.01 자바 스크립트로 md4, md5, hex 변환하기
  11. 2008.02.01 새창 가운데 띄우기
  12. 2008.02.01 지정 시간 후 재생 시작되는 스크립트
  13. 2008.02.01 포커스 하일라이트 주기
  14. 2008.02.01 페이지 확대 / 페이지 축소
  15. 2008.02.01 한글만 되게 하기
  16. 2008.02.01 방문자 OS보여주기
  17. 2008.02.01 대문이나 기타 문서에 사용하면...;;
  18. 2008.02.01 로봇의 이메일 추출을 방지하는 자바소스
  19. 2008.02.01 마우스의 휠 버튼 사용 금지 소스
  20. 2008.02.01 크롬리스 비슷한 윈도창 띄우기
  21. 2008.02.01 링크 점선 테두리 없애는 스크립트
  22. 2008.02.01 마우스 좌표 값 하단 상태바에 표시
  23. 2008.02.01 마우스 오른쪽 클릭시 컨텍스트 메뉴(context menu)
  24. 2008.02.01 문서 없이 자동으로 이미지 크기에 맞게 새창 및 .....
  25. 2008.02.01 표의 한줄 숨겼다가 나왔다가 제어하기
  26. 2008.02.01 랜덤 이미지 마우스오버시 롤오버 시키기
  27. 2008.02.01 배경그림을 정해진 시간마다 바꿉니다
  28. 2008.02.01 링크에대한 설명을 간단히 보여드립니다
  29. 2008.02.01 ie 버전에 따라서 페이지 접속 시키기
  30. 2008.02.01 간단한 공지

- 같은 글자 반복해서 나타내기 -
- 소스 - 

<script language="JavaScript">
<!--
document.write("<font style='font-size:11px;font-family:맑은 고딕, Dotum;'>");
var x;
for(x=1; x<=4000; x++) {
 document.write("사랑해 ");
}
document.write("</font>");
//-->
</script> 

4000 - 사랑해란 글자를 4000번 나타내게 한다 (원하는 만큼 나타낼 숫자를 쓴다)
사랑해 - 반복되어 보여질 글자

Posted by 알 수 없는 사용자
,
<script>
/* 마우스 이동 이벤트 등록*/
document.onmousemove = mouse_move
/**************************/

//사용 예시 : onMouseOver=\"visible_tooltip('하하히하하');\" onMouseOut=\"hidden_tooltip();\"

var mouse_x;
var mouse_y;
var tooltip_visible_flag;
var tooltip_text;

document.write("<div id=tooltip_layer style='position:absolute; visibility: hidden; left:0px; top:0px; z-index:1'>");
document.write("<table border=0 cellspacing=0 cellpadding=0 align=center style='border:1px #999999 solid' bgcolor=FFFFFF>");
document.write("<tr><td colspan=3></td></tr>");
document.write("<tr height=20><td width=10></td><td bgcolor=FFFFFF><font size=2 id=tooltip_text></font></td><td width=10></td></tr>");
document.write("<tr><td colspan=3></td></tr>");
document.write("</table>");
document.write("</div>");


/*
document.write("<table border=0 cellspacing=0 cellpadding=0 align=center>");
document.write("<tr height=9><td valign=bottom><img src=http://inc-image.muz.co.kr/tool_tip/left_top.gif></td><td background=http://inc-image.muz.co.kr/tool_tip/center_top.gif></td><td width=14 background=http://inc-image.muz.co.kr/tool_tip/center_top.gif></td><td valign=bottom><img src=http://inc-image.muz.co.kr/tool_tip/right_top.gif></td></tr>");
document.write("<tr height=2><td background=http://inc-image.muz.co.kr/tool_tip/left_left.gif></td><td bgcolor=FFFFFF></td><td width=14 bgcolor=FFFFFF></td><td background=http://inc-image.muz.co.kr/tool_tip/right_right.gif></td></tr>");
document.write("<tr height=20><td background=http://inc-image.muz.co.kr/tool_tip/left_left.gif></td><td bgcolor=FFFFFF><font size=2 id=tooltip_text></font></td><td width=14 bgcolor=FFFFFF></td><td background=http://inc-image.muz.co.kr/tool_tip/right_right.gif></td></tr>");
document.write("<tr height=9><td><img src=http://inc-image.muz.co.kr/tool_tip/left_bottom.gif></td><td background=http://inc-image.muz.co.kr/tool_tip/center_bottom.gif></td><td width=14 background=http://inc-image.muz.co.kr/tool_tip/center_bottom.gif></td><td valign=top><img src=http://inc-image.muz.co.kr/tool_tip/right_bottom.gif></td></tr>");
document.write("</table>");*/


function move_tooltip()
{
        document.all.tooltip_layer.style.left = mouse_x-14;
        document.all.tooltip_layer.style.top = mouse_y-35;        
}

function visible_tooltip(str,mode)
{
        if(mode=='chart')        return;
       
        move_tooltip();
               
        document.all.tooltip_text.innerHTML=str;        
        document.all.tooltip_layer.style.visibility='visible';        
       
        tooltip_visible_flag=1;
        tooltip_text=str;
}

function hidden_tooltip()
{
        document.all.tooltip_layer.style.visibility='hidden';
       
        tooltip_visible_flag=0;
}

function mouse_move(E)
{        
        mouse_x=event.x+document.body.scrollLeft;
        mouse_y=event.y+document.body.scrollTop;        
        //if(tooltip_visible_flag) move_tooltip();
}
</script>


<img src=http://www.muz.co.kr/inc/images/music_button07_30s.gif width=18 height=18 border=0 onMouseOver="visible_tooltip('30초 듣기');" onMouseOut="hidden_tooltip();">
Posted by 알 수 없는 사용자
,
스팸 메일이 오게 되는 경우는 대부분
웹사이트에 적혀있는 이메일 주소를 추출하는 경우가 대부분이며..
현재 판매되고 있는 대부분의 로봇 프로그램이 사용하는 방식입니다.

그러나 다음과 같은 방법을 이용하면 기존과 똑같이 이메일 링크를 걸 수 있으나,
로봇은 해당 이메일을 알 수 없게 됩니다.

스팸 방지 연합회에서 권고하는 TIP입니다.

<a href=mailto:abc@domain.com>이메일을 보내주세요</a> 와 같은 형태로
태그가 들어가 있는 경우를 자동으로 긁어 옵니다.

이제 스패머들로부터 해방 되시려면 아래의 방법으로 이메일 주소를 링크 시켜 보세요.


<!-- 메모장 등으로 아래의 방법으로 이메일 주소가 들어갈 곳에 붙여 넣으세요 -->
<SCRIPT LANGUAGE="Javascript">
<!--
mailname="webmaster" // 아이디를 입력 합니다. 이메일 주소가 abc@domain.com 인 경우 abc
at="@" // 그냥 둡니다
maildomain="domain.com" // 도메인이름
document.write("<A HREF=`mailto:"+mailname+""+at+""+maildomain+"`>"+mailname+""+at+""+maildomain+"</a>")
//-->
</script>

'인터넷관련' 카테고리의 다른 글

이미지 슬라이드  (0) 2008.02.02
은은하게 변하는 롤오버 이미지  (0) 2008.02.02
같은 글자 반복해서 나타내기  (0) 2008.02.01
마우스 오버시 툴팁 - 풍선 도움말  (0) 2008.02.01
테이블 순서 바꾸기  (0) 2008.02.01
무단링크 방지  (0) 2008.02.01
iframe 리로드 시키기  (0) 2008.02.01
날아 다니는 이미지  (0) 2008.02.01
Posted by 알 수 없는 사용자
,
테이블 줄 순서 바꾸기

에.. 그러니깐

<tr></tr>이 이동 되는거랄까요??


<script>

var prev = null;

function getRowIndexFromId(obj)
{
for (i=0;i<oTable.rows.length;i++) if (oTable.rows[i].id==obj) return i;
}

function selectCell(obj)
{
obj = getRowIndexFromId(obj);
if (prev!=null) oTable.rows[prev].style.backgroundColor = "";
prev = obj;
oTable.rows[prev].style.backgroundColor = "#f7f7f7";
}

function moveCell(direc)
{
var next = prev + direc;
if (next==oTable.rows.length) next = 0;
else if (next==-1) next = oTable.rows.length - 1;
oTable.moveRow(prev,next);
prev = next;
}

</script>

<table width=100 id=oTable border=1>
<tr id=tr_0 onclick="selectCell(this.id)"><td>바나나</td></tr>
<tr id=tr_1 onclick="selectCell(this.id)"><td>사과</td></tr>
<tr id=tr_2 onclick="selectCell(this.id)"><td>딸기</td></tr>
</table>

<a href="javascript:void(0)" onClick="moveCell(-1)">위로</a><br>
<a href="javascript:void(0)" onClick="moveCell(1)">아래로</a>
Posted by 알 수 없는 사용자
,
<SCRIPT LANGUAGE="JavaScript">
var home="http://자신의도메인/copyright.htm"; //이곳이 복귀할 주소 (무단 링크되었을 경우 돌아올  URL)
var link1="http://허락.com"; //링크가 허락된 주소 (링크를 허용할 URL 계속추가가능)
var link2="http://허락하는.co.kr"; //링크가 허락된 주소 (링크를 허용할 URL 계속추가가능)
var link3="http://허락하는2.co.kr"; //링크가 허락된 주소 (링크를 허용할 URL 계속추가가능)

if (document.referrer.indexOf(home)==-1 && document.referrer.indexOf(link1)==-1 && document.referrer.indexOf(link2)==-1 && document.referrer.indexOf(link3)==-1)
{
        if (document.referrer)
        {
                alert("무단링크된 주소로 연결을 시도하였습니다.");
                window.location=home;
        }
        else
        {
        alert("반드시 홈페이지를 통해서 연결되어야 합니다.");
        window.location=home;
        }
}

</script>
Posted by 알 수 없는 사용자
,
iframe 리로드 시키기

<a href='javascript:void(0);' onclick=parent.iframe_name.location.reload()>새로고침 합니다</a><br>

<iframe src='/html/marquee.html' name='iframe_name'></iframe>




















Posted by 알 수 없는 사용자
,

http://oxtag.com/html/ex/ex/ex112/ex1234.html


<script language="JavaScript" SRC="./moveobj.js"> </script>

<script>
<!--

var chip1;
var chip2;
var chip3;
//add or delete more variables, depending on how many images you're using

function pagestart()
{checkbrOK();
 chip1=new Chip("chip1",60,80);
 chip2=new Chip("chip2",60,80);
 chip3=new Chip("chip3",60,80);
 //add or delete more of the above, depending on how many images you're using
 if(brOK)
   { movechip("chip1");
     movechip("chip2");
     movechip("chip3");
     //add or delete more of the above, depending on how many images you're using
   }
}

//-->
</script>

<DIV ID="chip1" STYLE="position:absolute; width:47; height:68;">
<IMG SRC="animal1.gif" BORDER=0>
</DIV>

<DIV ID="chip2" STYLE="position:absolute; width:47; height:68;">
<IMG SRC="animal2.gif" BORDER=0>
</DIV>

<DIV ID="chip3" STYLE="position:absolute; width:47; height:68;">
<IMG SRC="animal3.gif" BORDER=0>
</DIV>


<script>
 pagestart();
</script>

Posted by 알 수 없는 사용자
,
<script language='javascript'>
function test(){
var _obj = document.all.ch.style;
var obj = document.all.pa.style;

if(obj.display == 'none'){
obj.display = '';
_obj.clip = 'rect(0,70,22,50)';
}else{
obj.display = 'none';
_obj.clip = 'rect(0,70,22,0)';
}
}
</script>
<div id='pa' style='position:absolute;width:100px;height:100px;background-color:#333333;left:100px;top:120px;z-index;1;display:none'>
<font color='#ffffff'>레이어 살리기라우</font>
</div>
<div id='ch' style='position:absolute;width:70px;height:22px;background-color:#333333;left:150px;top:150px;'>
<select style='width:70px'>
<option>a</option>
</select>
</div>
<a href='javascript:test()'>이거 어때요?</a>
Posted by 알 수 없는 사용자
,

http://oxtag.com/zboard/zboard.php?id=js&no=439

<form name="qform">
<select name="qsel" onfocus="stop_roll();" onmouseover="stop_roll();" onclick="flag_expand = 'Y';" onblur="flag_expand = 'N'; start_roll();" onmouseout="start_roll();" onchange="eval(this.value); this.blur();">
<option>-선 택-</option>
<option value="window.open('http://www.empas.com/');">엠파스</option>
<option value="window.open('http://www.naver.com/');">네이버</option>
<option value="window.open('http://www.daum.net/');">다음</option>
<option value="alert('My name is Camelot. ^-^ㆀ'); alert('Nice to meet you!');">Who are you?</option>
<option value="document.body.style.background = '#AAAAAA';">배경색 바꾸기</option>
<option value="document.body.style.background = '';">배경색 원래대로</option>
</select>
</form>

<script language="javascript">
<!--
var obj = document.qform.qsel, flag_expand = 'N', cnt = 1, timer;

function start_roll(){
var color_=new Array('#ff9900','#33CC00');
if(flag_expand == 'N'){
if(cnt >= obj.length) cnt = 1;
obj.options[cnt].selected = true;
obj.options[cnt].style.color= cnt% 2 == 0 ? color_[0] : color_[1];
cnt++;
timer=setTimeout('start_roll()', 1000);
}
}

function stop_roll(){
obj.options[0].selected = true;
clearTimeout(timer);
}

start_roll();
//-->
</script>


Posted by 알 수 없는 사용자
,

http://oxtag.com/html/ex/ex/md5/md5.html

<script src="md4.js" type="text/javascript"></script>
<script src="md5.js" type="text/javascript"></script>
<script src="sha1.js" type="text/javascript"></script>

<form>

<table class="indented">
  <tr><th>Input</th><td><input type="text" name="input" size="40"></td></tr>
  <tr><th>Calculate</th>
  <td style="text-align:center"><input type="button" onclick="hash.value = hex_md4(input.value)" value="MD4">
  <input type="button" value="MD5" onclick="hash.value = hex_md5(input.value)">
  <input type="button" value="SHA-1" onclick="hash.value = hex_sha1(input.value)"></td></tr>
  <tr><th>Result</th><td><input type="text" name="hash" size="40"></td></tr>
</table>

</form>

Posted by 알 수 없는 사용자
,
<Script Language=javascript>
pw = (screen.availWidth - window.document.body.clientWidth) /2;
ph = (screen.availHeight - window.document.body.clientHeight) /2;
window.moveTo(pw,ph);
</Script>

위 소스를 문서 </body> 바로 위에 넣으세요.
Posted by 알 수 없는 사용자
,
<html>
<head>
<title>지정 시간 후 재생 시작되는 스크립트</title>
<script>
function delay_play()   {
   document.player1.Play();
   }
</script>
</head>
<body onload="setTimeout('delay_play()',5000)">
<embed src=http://oxtag.com/html/music/wma/adrine.wma autostart=false hidden=false name=player1>
</body>
</html>

1000 = 1초
Posted by 알 수 없는 사용자
,
<span id=layer_username1>이름</span>
<input type=textbox name=username1 style="font-size:12px;" maxlength=12 size=12 onfocus="layer_username1.style.color='#FF0000'" onblur="layer_username1.style.color='#000000'">

<span id=layer_username2>이름</span>
<input type=textbox name=username1 style="font-size:12px;" maxlength=12 size=12 onfocus="layer_username2.style.color='#FF0000'" onblur="layer_username2.style.color='#000000'">

실행화면 : 이름 아이디
Posted by 알 수 없는 사용자
,
<table>
<TR>
<TD STYLE="cursor:hand;border:1pt solid #CCCCCC;font-size:8pt;" ID="i2" ONMOUSEOVER="document.all.i2.style.background=\'#F6F6F6\';document.all.i2.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i2.style.background=\'#FFFFFF\';document.all.i2.style.border=\'1pt solid #CCCCCC\';" ONCLICK="if(window.parent.document.body.style.zoom!=0) window.parent.document.body.style.zoom*=1.6; else window.parent.document.body.style.zoom=1.6;">
 페이지확대
</TD>
</TR>
<TR>
<TD STYLE="cursor:hand;border:1pt solid #CCCCCC;font-size:8pt;" ID="i3" ONMOUSEOVER="document.all.i3.style.background=\'#F6F6F6\';document.all.i3.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i3.style.background=\'#FFFFFF\';document.all.i3.style.border=\'1pt solid #CCCCCC\';" ONCLICK="if(window.parent.document.body.style.zoom!=0) window.parent.document.body.style.zoom*=0.625; else window.parent.document.body.style.zoom=0.625;">
 페이지축소
</TD>
</TR>
</table>
Posted by 알 수 없는 사용자
,
한글을 쓰려면 먼저 한/영 전환 키를 누른 후...
기본 설정이 영어로 되어 있기 때문에...

<script language='javascript'>
function hangul()
{
if((event.keyCode < 12592) || (event.keyCode > 12687))
event.returnValue = false
}
</script>

<input type="text" name="Name" size="10" maxlength="15" class=ad onKeyPress="hangul();">

이거 하면 한글만 적힙니다.
- 붙혀넣기, 한문등은 됨..-_-;
Posted by 알 수 없는 사용자
,
<SCRIPT LANGUAGE="JavaScript">
document.write("당신의 브라우저는 : "+navigator.appVersion+"입니다.");
</script>


















Posted by 알 수 없는 사용자
,
http://oxtag.com/html/ex/reveal/reveal.html


<script language="JavaScript" src="http://oxtag.com/html/ex/reveal/reveal.js"></script>

<script language="JavaScript">
//////////////////////////////////
//        Customise Reveal        //
//////////////////////////////////

/*
The following is required only if you
want the user to click to reveal the page
*/
var clickw=150;                // 버튼 가로크기
var clickh=20;                // 버튼 세로크기
var clickb=2;                // 테두리 두께
var clickc="#000000";        // 버튼 테두리 색상
var clickbg="#000000";        // 버튼 배경색
var clickt="들어가기";        // 처음 클릭하는 버튼 글자
var clickFont="font-family:돋움,verdana,arial,helvetica; font-size:10pt; font-weight:bold; color:#FFFFFF";                // 글자 글꼴 크기 두께 색상 등 조절

/*
Following is required to initialise Reveal
The function is called in the following manner :
        initReveal(type,div1bg,div2bg,div1bw,div2bw,div1bc,div2bc,step,timeOut,click)
        Parameter description :
        type        ->        0 for vertical | 1 for horizantal
        div1bg        ->        Background color of first layer                (eg. '#CCCCCC')
        div2bg        ->        Background color of second layer        (eg. '#CCCCCC')        
        div1bw        ->        Border width of first layer                (eg. 1)
        div2bw        ->        Border width of second layer                (eg. 1)
        div1bc        ->        Border color of first layer                (eg. '#000000')
        div2bc        ->        Border color of second layer                (eg. '#000000')
        step        ->        The amount revealed every interval        (eg. 5)
        timeOut        ->        The delay in milliseconds
        click        ->        true if user has to click to reveal | false for auto reveal
        See below for an example of how to call the function.
*/

new initReveal(0,'#c2c2c2','#CCCCCC',1,1,'#000000','#000000',3,10,true);
// 차례대로 상단-하단 배경색상, 상단-하단 경계선 색상
</script>
Posted by 알 수 없는 사용자
,
<script>
function mailto(id,address)
{
location.href='mailto:'+id+'@'+address;
}
</script>

<a href="javascript:mailto('webmaster','wi.co.kr');">운영자에게 메일보내기</a>
Posted by 알 수 없는 사용자
,
<SCRIPT LANGUAGE="Javascript">
<!--
ie = (document.all) ? 1 : 0

function noRight(e) {
   if(ie) {

      if (event.button == 4)
     alert("휠 버튼은 사용할 수 없습니다.")
   }
   else {
      if(e.which == 4) {
          alert("휠 버튼은 사용할 수 없습니다.")
          return false
       }
   }
}
document.onmousedown = noRight
if(!ie) document.captureEvents(Event.MOUSEDOWN)
//-->
</SCRIPT>
Posted by 알 수 없는 사용자
,
미리보기 http://oxtag.com/html/ex/popup/win/win2.html


<script>
//Windows In JavaScript (Test Ver / Modifed)
//This source is created by Zective (http://zective.com) and modified by TheMics
//Div 태그와 Table 태그 그리고 JavaScript 를 이용하여 윈도우 구조 비슷하게 나타내기 위한 스크립트

D_curX = D_curY = 0;
D_now = null;
D_prev = null;
D_1stmv = 1;
lrs = null;
dtm = null;
stm = null;
w_size = 1;

document.onmouseup = FinishDrag;

function FinishDrag() {
        if(document.onmousemove == OnDragMove) {
                if(D_now.style.pixelLeft < 0) D_now.style.pixelLeft = 1;
                //else if(D_now.style.pixelLeft + w_width > document.body.clientWidth) D_now.style.pixelLeft = document.body.clientWidth - w_width;
                if(D_now.style.pixelTop < 0) D_now.style.pixelTop = 1;
                //else if(D_now.style.pixelTop + w_height > document.body.clientHeight) D_now.style.pixelTop = document.body.clientHeight - w_height;
        }

        if(document.onmousemove == OnResizeMove) lrs.Finish();
        if(D_now) D_now.style.filter = "";
        if(D_now && w_size == 1) ResizeForMove("2");
        document.onmousemove = null;
        D_now = null;
}

function BeginDragging(lyr) {
        D_now = lyr;
        D_1stmv = 1;
        D_now.style.filter = "alpha(opacity:60)";
        if(w_size == 1) ResizeForMove("1");
        document.onmousemove = OnDragMove;
}

function OnDragMove() {
        if(D_now == null) return true;
        if(D_1stmv) {
                D_curX = event.clientX;
                D_curY = event.clientY;
                D_1stmv = 0;
                if(D_prev != D_now) D_now.style.zIndex = D_now.style.zIndex + 1;
                D_prev = D_now;
                return false;
        }
        D_now.style.pixelLeft += (event.clientX - D_curX);
        D_now.style.pixelTop += (event.clientY - D_curY);
        D_curX = event.clientX;
        D_curY = event.clientY;
        event.returnValue = false;
}

function diOnMouseDown(i) {
        if(event.button == 1) BeginDragging(i);
        event.returnValue = false;
}

function OnResizeMove() {
        if(D_1stmv) {
                D_curX = event.clientX;
                D_curY = event.clientY;
                D_1stmv = 0;
                return false;
        }
        lrs.AddSize(event.clientX - D_curX, event.clientY - D_curY);
        D_curX = event.clientX;
        D_curY = event.clientY;
        event.returnValue = false;
}

function DoExit(_obj,_order) {
        dele = eval("document.all."+_obj+".style");
        if(_order == 0) {
                dele.display = "block";
        } else {
                dele.display = "none";
                i_frame.location.href = "about:blank";
        }
}

function ChangeFrame(name,title,width,height) {
        w_width = width;
        w_height = height;
        if(w_size == 0) Resize();
        document.all.i_window.style.width = width;
        document.all.i_window.style.height = height;
        document.all.i_frame.style.width = width - 2;
        document.all.i_frame.style.height = height - 18;
        //if(document.all.i_window.pixelLeft + width > document.body.clientWidth) document.all.i_window.pixelLeft = document.body.clientWidth - width;
        //if(document.all.i_window.pixelTop + height > document.body.clientHeight) document.all.i_window.pixelTop = document.body.clientHeight - height;
        i_title.innerHTML = title;

        if(name.substr(0,4) == "http") {
                i_frame.location.href = name;
                // reload.innerHTML = "";
        }
/*
         else {
                if(name == "search") i_frame.location.href = "http://oxtag.com/zboard/search.php";
                else if(name == "search2")i_frame.location.href = "http://oxtag.com/zboard/search.php";
                else if(name == "game")i_frame.location.href = "http://oxtag.com/html/ex/game/game.html";
                else i_frame.location.href = "http://oxtag.com/html/"+name+".html";
                reload.innerHTML = "R";
        }
*/
        DoExit("i_window",0);
}

function Resize() {
        if(w_size == 1) {
                w_size = 0;
                w_width = document.all.i_window.style.width.substr(0,3);
                w_height = document.all.i_window.style.height.substr(0,3);
                document.all.i_window.style.width = 200;
                document.all.i_window.style.height = 18;
                document.all.i_frame.style.display = "none";
        } else {
                w_size = 1;
                document.all.i_window.style.width = w_width;
                document.all.i_window.style.height = w_height;
                //if(document.all.i_window.style.pixelLeft + w_width > document.body.clientWidth) document.all.i_window.style.pixelLeft = document.body.clientWidth - w_width;
                //if(document.all.i_window.style.pixelTop + w_height > document.body.clientHeight) document.all.i_window.style.pixelTop = document.body.clientHeight - w_height;
                document.all.i_frame.style.display = "block";
        }
}

function ResizeForMove(type) {
        if(type == "1") {
                document.all.i_window.style.height = 18;
                document.all.i_frame.style.display = "none";
        } else {
                document.all.i_window.style.height = w_height;
                document.all.i_frame.style.display = "block";
        }
}
</script>

</head>
<body>

<!--윈도우 레이어-->
<div id='i_window' style='left:170;top:70;width:600;height:400;position:absolute;z-index:99'>
<table cellspacing='1' cellpadding='0' border='0' width='100%' height='100%' bgcolor='#C7B4A5'>
        <tr bgcolor='#B9A08B'>
                <td oncontextmenu='return false' onmousedown='diOnMouseDown(i_window)'>
<table cellspacing='0' cellpadding='0' border='0' width='100%' height='15'>
        <tr style='cursor:move'>
                <td class='th8'> <span id='i_title' style='font-weight:bold'></span></td>
                <td align='right' class='th8'>
<!-- <span onclick='i_frame.location.reload()' id='reload' style='cursor:hand;color:#715B52'>R</span> -->
<span onclick='Resize()' style='cursor:hand;color:#715B52'>M</span>
<span onclick='DoExit("i_window",1)' style='cursor:hand;color:#715B52'><b>X</b></span>
                </td>
        </tr>
</table>
                </td>
        </tr>
        <tr>
                <td bgcolor='white'><iframe id='i_frame' src='about:blank' frameborder='0' width='598' height='392' marginwidth='10' marginheight='10' scrolling='auto'></iframe></td>
        </tr>
</table>
</div>

** <span onclick='ChangeFrame("http://oxtag.com/zboard/search.php","title 1 - 게시판 통합검색",640,330)' style='cursor:hand'>BBS Search</span> <br>
** <span onclick='ChangeFrame("http://oxtag.com/html/ex/game/game.html","title 3 - 게임",500,330)' style='cursor:hand'>Game</span> <br>
** <span onclick='ChangeFrame("http://oxtag.com/html/ex/banner.html","title 4 - 태그피아 배너",500,330)' style='cursor:hand'>TagPia BanNer</span> <br>
** <span onclick='ChangeFrame("http://oxtag.com/html/marquee.html","title 5 - 마퀴",750,420)' style='cursor:hand'>Marquee</span> <br>
** <span ondblclick='ChangeFrame("http://oxtag.com/html/about/ctpersonal/","Administrator Page",580,420)'>admin</span><br><br>

<script>
ChangeFrame("http://oxtag.com/html/ex/game/game.html","OnLoad 시 띄우기",650,400)
</script>
Posted by 알 수 없는 사용자
,
<script>
<!--
function linkblur(){  // 링크에 점선 없애기
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=linkblur;
document.write('<body>');
//-->
</script>

<a href=#none>aaa</a>




다른거..

자동 onfocus=blur()
<script>
function autoblur() {
        if(event.srcElement.tagName == "A") document.body.focus();
}
document.onfocusin = autoblur;
</script>



또.. 다른거..

function autoblur()
{ if(event.srcElement.tagName=="INPUT" || event.srcElement.tagName=="TEXTAREA" || event.srcElement.tagName=="SELECT" || event.srcElement.tagName=="OBJECT" ){ document.onfocusin = tempautoblur; return ; }
if(event.srcElement.tagName=="EMBED")return ;
if(event.srcElement.tagName!="BODY" && typeof(document.body)=='object') { document.body.focus(); event.returnValue=false; } }

function OnLoad(){ document.onfocusin=autoblur; } window.onload = OnLoad;
Posted by 알 수 없는 사용자
,
..
<script language="Javascript">
<!--
var x=0; y=0; cX=0; cY=0
var tM
var running=false
if (document.layers){
    document.captureEvents(Event.MOUSEMOVE)
}
function FindXY(loc) {
    x = (document.layers) ? loc.pageX : event.clientX;
    y = (document.layers) ? loc.pageY : event.clientY;
    window.status = 'x : ' + x + ' / ' + cX + '  y : ' + y + ' / ' + cY;
    orMove();
}
document.onmousemove = FindXY;
// -->
</script>

<body>

<script>
<!--
cX = (navigator.appName.indexOf('Netscape', 0) != -1) ? innerWidth  : document.body.clientWidth;
cY = (navigator.appName.indexOf('Netscape', 0) != -1) ? innerHeight : document.body.clientHeight;
function orMove(){
    if (y > 50&&(cY - y) > 50) {
            if (running) {
            clearTimeout(tM)
            running = false
        }
    }
    else {
        if (y < 50) {
            scrollBy(0,-1)
        }
        else {
            scrollBy(0,1)
        }
        running = true
        tM = setTimeout('orMove()',20)
    }
}
// -->
</script>
Posted by 알 수 없는 사용자
,

http://oxtag.com/html/ex/mouse/mouse_context/mouse2.htm

<!--


// 마우스 오른쪽버튼 메뉴

var isIE = 0;
if(window.navigator.appName == 'Microsoft Internet Explorer' && window.navigator.appVersion.substring(window.navigator.appVersion.indexOf('MSIE') + 5,window.navigator.appVersion.indexOf('MSIE') + 8) >= 5.5) {
 isIE = 1;
} else {
 isIE = 0;
}
if(isIE) {
 var HTML = "<table width=100% bgcolor=white border=0 cellpadding=0 cellspacing=0 style='font-family:굴림;font-size:9pt;color:#323232;border:1 #323232 solid;cursor:default' ";
 HTML += "onContextMenu='return false' onDragStart='return false' onSelectStart='return false' onMouseUp='parent.nContext.show(0,0,document.body)'>\n";
 HTML += "<tr><td height=23 align=center bgcolor=#969696 onMouseUp=\"alert('http://oxtag.com/')\"><img src='./img/c_title.gif' width=113 height=15 align=middle border=0 alt='컨텍스트 메뉴입니다. ^-^;'></td></tr>\n";
 HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='이전 페이지로 이동'>\n";
 HTML += "<td onMouseUp='parent.history.go(-1)'><img src='./img/c_back.gif' width=9 height=9 align=middle border=0 hspace=7>뒤로</td></tr>\n";
 HTML += "<tr height=1><td background='./img/dot_b.gif'></td></tr>";
 HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='앞 페이지로 이동'>\n";
 HTML += "<td onMouseUp='parent.history.go(1)'><img src='./img/c_fwd.gif' width=9 height=9 align=middle border=0 hspace=7>앞으로</td></tr>\n";
 HTML += "<tr height=1><td background='./img/dot_b.gif'></td></tr>";
 HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='태그피아 홈페이지를 즐겨찾기에 추가'>\n";
 HTML += "<td onMouseUp=\"window.external.AddFavorite('http://oxtag.com/','♡ 카멜롯™의 소스천국 태그피아 ♡');\"><img src='./img/c_fav.gif' width=9 height=9 align=middle border=0 hspace=7>즐겨찾기에 추가</td></tr>\n";
 HTML += "<tr height=1><td background='./img/dot_b.gif'></td></tr>";
 HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='현재 페이지를 인쇄합니다.'>\n";
 HTML += "<td onMouseUp='parent.print()'><img src='./img/c_print.gif' width=9 height=9 align=middle border=0 hspace=7>인쇄</td></tr>\n";
 HTML += "<tr height=1><td background='./img/dot_b.gif'></td></tr>";
 HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='현재 페이지를 새로 고칩니다.'>\n";
 HTML += "<td onMouseUp='parent.location.reload()'><img src='./img/c_reld.gif' width=9 height=9 align=middle border=0 hspace=7>새로 고침</td></tr>\n";
 HTML += "<tr height=1><td bgcolor=#646464></td></tr>";
 HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='현재 페이지 내용을 모두 선택합니다.'>\n";
 HTML += "<td onMouseUp='parent.selectAll()'><img src='./img/c_sele.gif' width=9 height=9 align=middle border=0 hspace=7>모두 선택</td></tr>\n";
 HTML += "<tr height=1><td background='./img/dot_b.gif'></td></tr>";
 HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='선택한 영역을 복사합니다.'>\n";
 HTML += "<td onMouseUp='parent.copyText()'><img src='./img/c_copy.gif' width=9 height=9 align=middle border=0 hspace=7>복사</td></tr>\n";
 HTML += "<tr height=1><td background='./img/dot_b.gif'></td></tr>";
 HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='클립보드 내용을 붙여넣습니다.'>\n";
 HTML += "<td onMouseUp='parent.pasteText()'><img src='./img/c_paste.gif' width=9 height=9 align=middle border=0 hspace=7>붙여넣기</td></tr>\n";
 HTML += "<tr height=1><td background='./img/dot_b.gif'></td></tr>";
 HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='선택한 텍스트를 강조합니다.'>\n";
 HTML += "<td onMouseUp='parent.highlightText()'><img src='./img/c_hlight.gif' width=9 height=9 align=middle border=0 hspace=7>강조</td></tr>\n";
 HTML += "<tr height=1><td background='./img/dot_b.gif'></td></tr>";
 HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='선택한 텍스트를 검색합니다. (네이버)'>\n";
 HTML += "<td onMouseUp='parent.searchText()'><img src='./img/c_srch.gif' width=9 height=9 align=middle border=0 hspace=7>단어 검색</td></tr>\n";
 // HTML +='<TR><TD STYLE="border:0pt solid #FFFFFF" ID="i8" ONMOUSEOVER="document.all.i8.style.background=\'#FFFFFF\';document.all.i8.style.border=\'0pt solid #737B92\';" ONMOUSEOUT="document.all.i8.style.background=\'\';document.all.i0.style.border=\'0pt solid #CCCCCC\';" ONCLICK="if(window.parent.document.body.style.zoom!=0) window.parent.document.body.style.zoom*=1.6; else window.parent.document.body.style.zoom=1.6;"> <img SRC="./img/menuzoom.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle"> 확대해서보기</TD></TR>';
 // HTML +='<TR><TD STYLE="border:0pt solid #FFFFFF" ID="i9" ONMOUSEOVER="document.all.i9.style.background=\'#FFFFFF\';document.all.i9.style.border=\'0pt solid #737B92\';" ONMOUSEOUT="document.all.i9.style.background=\'\';document.all.i0.style.border=\'0pt solid #CCCCCC\';" ONCLICK="if(window.parent.document.body.style.zoom!=0) window.parent.document.body.style.zoom*=0.625; else window.parent.document.body.style.zoom=0.625;"> <img SRC="./img/menuzoom.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle"> 축소해서보기</TD></TR>';
 HTML += "</table>";
 var nContext = window.createPopup();
}

function dnContext(x,y) {
 if(isIE) {
  var nContextBody = nContext.document.body;
  nContextBody.innerHTML = HTML;
  nContext.show(x,y,140,264,document.body);
 }
}

function showContext(e) {
 if(isIE) {
  if(document.all) {
   if(event.button == 2 || event.button == 3) {
    dnContext(event.x,event.y);
   }
  }
 }
}

if(isIE) {
 document.oncontextmenu = function() {
  dnContext(event.x,event.y);
  return false;
 }
 document.onmouseclick = showContext;
}


// 마우스 오른쪽버튼 메뉴용 보조 도구

function selectAll() {
 document.body.createTextRange().select();
}

function copyText() {
 var sel = document.selection;
 var rng = sel.createRange();
 rng.execCommand('Copy');
}

function pasteText() {
 var sel = document.selection;
 var rng = sel.createRange();
 rng.execCommand('Paste');
 // alert(' 아직 스크립트가 불완전하여 구현되지 않습니다. \n\n    Windows 붙여넣기 단축키는 [Ctrl + V] 입니다.');
}

function highlightText() {
 var sel = document.selection;
 var rng = sel.createRange();
 var str = new String(rng.text);
 if (str == '') {
  alert(' 강조할 영역이 선택되지 않았습니다. \n\n    강조할 영역(텍스트)를 긁으세요.');
 } else {
  rng.execCommand('BackColor',0,'yellow');
 }
}

function searchText() {
 var sel = document.selection;
 var rng = sel.createRange();
 var str = new String(rng.text);
 var searchWin = new String('http://search.naver.com/search.naver?where=nexearch&query=' + str);
 if (str == '') {
  alert(' 검색할 단어가 없습니다. \n\n 먼저 텍스트를 긁으세요. ');
 } else {
  window.open(searchWin);
 }
}


//-->

Posted by 알 수 없는 사용자
,

http://oxtag.com/html/ex/popup/img_win/img_win.html

문서 없이 자동으로 이미지 크기에 맞게 새창으로 그림을 띄웁니다.
전체화면으로 열 수 있는 F11 키 제어 했구요.
마우스도 감지 못하게 했습니다.
그리고, 화면 중앙에 열리게 했구요.
소스는 상단의 미리보기를....



function view(what) { 
var imgwin = window.open('','','scrollbars=no,status=no,toolbar=no,resizable=1,location=no,menu=no,width=10,height=10'); 
imgwin.document.open(); 
imgwin.document.write("<html>\n"); 
imgwin.document.write("<head>\n"); 
imgwin.document.write("<title>♡ 카멜롯™의 소스천국 태그피아 ♡</title>\n");
imgwin.document.write("<META HTTP-EQUIV='imagetoolbar' CONTENT='no'>\n"); // IE 이미지 툴바 제거
imgwin.document.write("<script>\n");
imgwin.document.write(" document.onkeydown=KeyEventHandle;\n");   // F11 키 제어
imgwin.document.write(" document.onkeyup=KeyEventHandle;\n");
imgwin.document.write(" document.onkeydown=KeyEventHandle;\n");
imgwin.document.write(" document.onkeyup=KeyEventHandle;\n");
imgwin.document.write(" function KeyEventHandle()\n");
imgwin.document.write(" {\n");
imgwin.document.write("    if  (event.keyCode == 122)\n");
imgwin.document.write("     { \n");
imgwin.document.write("                 event.keyCode = 0;\n");
imgwin.document.write("                 event.cancelBubble = true;\n");
imgwin.document.write("                 event.returnValue = false;\n");
imgwin.document.write("         alert ('윈도우를 종료합니다');\n");
imgwin.document.write("         self.close();     \n");
imgwin.document.write("    }\n");
imgwin.document.write(" }\n");       // F11 키 제어 끝.
imgwin.document.write("var isNav4, isIE4;\n");
imgwin.document.write("var windowX, windowY;\n");
imgwin.document.write("var bLargeImage = 0;\n");
imgwin.document.write("var x,y;\n");
imgwin.document.write("\n");
imgwin.document.write("if (parseInt(navigator.appVersion.charAt(0)) >= 4)\n");
imgwin.document.write("{\n");
imgwin.document.write("    isNav4 = (navigator.appName == 'Netscape') ? 1 : 0;\n");
imgwin.document.write("    isIE4 = (navigator.appName.indexOf('Microsoft') != -1) ? 1 : 0;\n");
imgwin.document.write("}\n");
imgwin.document.write("\n");
imgwin.document.write("function fitWindowSize()\n");
imgwin.document.write("{\n");
imgwin.document.write("    if (isNav4) {\n");
imgwin.document.write("        window.innerWidth = document.layers[0].document.images[0].width;\n");
imgwin.document.write("        window.innerHeight = document.layers[0].document.images[0].height;\n");
imgwin.document.write("    }\n");
imgwin.document.write("    if (isIE4) {\n");
imgwin.document.write("        window.resizeTo(500, 500);\n");
imgwin.document.write("        width = 500 - (document.body.clientWidth -  document.images[0].width);\n");
imgwin.document.write("        height = 500 - (document.body.clientHeight -  document.images[0].height)\n");
imgwin.document.write("        windowX = (window.screen.width-width)/2;\n");
imgwin.document.write("        windowY = (window.screen.height-height)/2;\n");
imgwin.document.write("        if(width>screen.width){\n");
imgwin.document.write("            width = screen.width;\n");
imgwin.document.write("            windowX = 0;\n");
imgwin.document.write("            bLargeImage = 1;\n");
imgwin.document.write("        }\n");
imgwin.document.write("        if(height>screen.height-50){\n");
imgwin.document.write("            height = screen.height-50;\n");
imgwin.document.write("            windowY = 0;\n");
imgwin.document.write("            bLargeImage = 1;\n");
imgwin.document.write("        }\n");
imgwin.document.write("        x = width/2;\n");
imgwin.document.write("        y = height/2;\n");
imgwin.document.write("        window.moveTo(windowX,windowY);\n");
imgwin.document.write("        window.resizeTo(width, height);\n");
imgwin.document.write("    }\n");
imgwin.document.write("}\n");
imgwin.document.write("function move()\n");
imgwin.document.write("{\n");
imgwin.document.write("    if(bLargeImage)\n");
imgwin.document.write("    window.scroll(window.event.clientX - 50,window.event.clientY -50);\n");
imgwin.document.write("}\n");
imgwin.document.write("</script>");
imgwin.document.write("</head>"); 
imgwin.document.write('<body onLoad="fitWindowSize();" onmousemove="move();" onclick=window.close() topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#FFFFFF" oncontextmenu="return false" onselectstart="return false" ondragstart="return false" onkeydown="return false">'); 
imgwin.document.write("<a href='#a' onfocus=this.blur() style='cursor:move'><img border=0 src="+what+" xwidth=100 xheight=9 name=il onload='resize();'></a>"); 
imgwin.document.write("</body>");
imgwin.document.write("</html>"); 
imgwin.document.close(); 

}

Posted by 알 수 없는 사용자
,

<p onClick="test.style.display='';">보이기</p>
<p onClick="test.style.display='none';">감추기</p>

<table border=1>
<tr id=test style="display:none;">
<td> 이 줄이 숨겨질 것입니다. </td>
</tr>
<tr>
<td>이 줄은 남아있겠지요.</td>
</tr>
</table>

위 소스를 보면 id  가 test라고 된 줄이 사라졌다가 생기는 것을 볼 수 있습니다.
이는 style 의 display 속성에 의한 것으로 표만 사용할 수 있는것이 아니라,
div 태그로도 응용해서 사용할 수 있습니다.
Posted by 알 수 없는 사용자
,
http://oxtag.com/html/ex/random/ImgOver_Rand/imgover_rand.html

<script>
// 랜덤 롤오버 이미지
// 만든넘 : 카멜롯™, http://oxtag.com/, tagpia@hotmail.com
       
        var bgimg
        do bgimg = Math.random().toString().charAt(2);
        while (bgimg > 5 || bgimg < 1);        // 5는 이미지 개수, 1은 이미지 파일명 시작 번호.
       
                // 마우스 오버시 나타날 이미지
                imgrandon = new Image;
                imgrandon.src = "./over/top_btn_" +bgimg+ "_on.gif";        // 이미지 파일명은 top_btn_1_on.gif, top_btn_2_on.gif, top_btn_3_on.gif,....
                // 마우스 아웃시 나타날 이미지
                imgrandoff = new Image;
                imgrandoff.src = "./out/top_btn_" +bgimg+ ".gif";        // 이미지 파일명은 top_btn_1.gif, top_btn_2.gif, top_btn_3.gif,...

        function img_on(imgName) {
                imgOn = eval(imgName + "on.src");
                document[imgName].src = imgOn;
        }

        function img_off(imgName) {
                imgOff = eval(imgName + "off.src");
                document[imgName].src = imgOff;
        }

        document.writeln("<a href='#None' onMouseOver=\"img_on('imgrand');\" onMouseout=\"img_off('imgrand');\"><img src=./out/top_btn_" +bgimg+ ".gif border=0 width=90 height=59 align=abdmiddle name='imgrand'></a>");

</script>

페이지 접속시마다 이미지가 랜덤으로 바뀌고, 이미지가 롤오버됨니다.

마우스를 이미지에 올려보세요. 롤오버되죠.

새로 고침도 해보시구요. 마우스도 올려보세요.

처음 나타나는 이미지는 out 폴더에 넣습니다.

마우스 오버시 나타나는 이미지는 over 폴더에 넣으세요.

위 소스를 보시면 느끼시겠지만 파일명은 abc_1_on.gif 와 abc_1.gif

이러한 형태로 숫자만 똑 같이 늘려서 이미지를 만드시면 됨니다.
Posted by 알 수 없는 사용자
,
아래소스를 헤드부분에 넣으시구요...
이미지부분은 고치시구요..시간부분도 고치세요...
<SCRIPT language="JavaScript">
//이미지주소를 쓰시오
var backgroundimage=new Array("bgimage1.jpg","bgimage2.jpg","bgimage3.jpg","bgimage4.jpg","bgimage5.jpg","bgimage6.jpg")

// 배경이바뀌는시간을쓰시오
var swapspeed=2

// 아래는코드요 건드리지마시오
var timer
var imgpreload=new Array()
if (document.all) {
for (i=0;i<=backgroundimage.length-1;i++) {
imgpreload[i]=new Image()
imgpreload[i].src=backgroundimage[i]
}
}

var i_backgroundimage=0

swapspeed=swapspeed*1000

function swapimages() {
if (document.all) {
window.status=i_backgroundimage
document.body.background=backgroundimage[i_backgroundimage]
i_backgroundimage++
if (i_backgroundimage>=backgroundimage.length) {i_backgroundimage=0}
timer=setTimeout("swapimages()",swapspeed)
}
}
window.onload=swapimages

</SCRIPT>
Posted by 알 수 없는 사용자
,
  1. <html>
  2. <head>
  3. <SCRIPT language="JavaScript">
  4. var oldtext
  5. var newtext
  6. var newlink
  7. function shownewtext(thislink,thistext) {
  8. if (document.all) {
  9.     newlink=eval("document.getElementById('"+thislink+"')")
  10.     newtext=thistext
  11.     oldtext=newlink.childNodes[0].nodeValue
  12.     newlink.childNodes[0].nodeValue=thistext;
  13. }
  14. }
  15. function showoldtext() {
  16. if (document.all) {
  17.     newlink.childNodes[0].nodeValue=oldtext;
  18. }
  19. }
  20. </script>
  21. </head>
  22. <body>
  23. <a href="#" name="somelinkname" onMouseOver="shownewtext(this.name,'태그피아로!')" onMouseOut="showoldtext()">oxtag.com</a>
  24. </body>
  25. </html>
Posted by 알 수 없는 사용자
,
if(window.navigator.appName=="Microsoft Internet Explorer" && window.navigator.appVersion.substring(window.navigator.appVersion.indexOf("MSIE")+5,window.navigator.appVersion.indexOf("MSIE")+8)>=5.5){
 window.location="http://oxtag.com";
 }else {
  window.location="http://oxtag.com/html/marquee.html";
  }
Posted by 알 수 없는 사용자
,

간단한 공지

인터넷관련 2008. 2. 1. 09:43
<HTML>
<HEAD>
<TITLE>
타이틀
</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--

function correct(){
        if (finished){
                setTimeout("begin()",5000)
        }
        return true
}

window.onerror=correct

function begin(){
        if (!document.all) return
        if (maxheight==null) maxheight=temp.offsetHeight
        whatsnew.style.height=maxheight
        temp.style.display="none"
        c=1
        finished=true
        change()
}

// -->
</SCRIPT>
</HEAD>
<BODY onload="begin();">

<script language="javascript">
<!--
var bName = navigator.appName;
var bVer = parseInt(navigator.appVersion);
var head=''
var top=0
var maxheight
var finished=false
var tickers=new Array()

        tickers[0]=' <a href=""><font size=2 face=굴림 color=#4B4BCC>초스피드 업데이트! 신문에 소개된 모든 URL이 한자리에...</font></a> '
        tickers[1]=' <a href=""><font size=2 face=굴림 color=#4B4BCC>왕건, 여인천하, 홍국영, 명성황후. 드라마보기</font>'
        tickers[2]=' <a href=""><font size=2 face=굴림 color=#4B4BCC>올 여름 휴가, 어디로 떠나세요? 휴양림을 추천합니다</font>'
       
       
       
       
       
        
if (bName == "Microsoft Internet Explorer" && bVer >= 4) {

        for (i=1;i<=tickers.length-1;i++){
                if (tickers[i].length>=tickers[top].length)
                        top=i
        }
        if (document.all) document.write('<span id="whatsnew" style="width:100%;height=10;filter:revealTrans(duration=2,transition=19)">'+tickers[0]+'</span>')

        function change(){
                whatsnew.innerHTML=''
                whatsnew.filters.revealTrans.apply()
                whatsnew.filters.revealTrans.play()
                whatsnew.innerHTML=tickers[c]
                if (c==tickers.length-1)
                        c=0
                else
                        c+=1
                setTimeout("change()",5000)
        }
        if (document.all)
                document.write('<span id=ns style="display:none;">')
}
else {
        document.write(tickers[0])
}
//-->
</script>
<span id=temp style="position:absolute;left:0;top:0">
<script>
<!--
if (document.all){
temp.style.width=whatsnew.style.width
document.write(tickers[top])
}
//-->
</script>
</span>
</BODY>
</HTML>
Posted by 알 수 없는 사용자
,