'2008/01/24'에 해당되는 글 50건

  1. 2008.01.24 이미지 소스보기 금지태그
  2. 2008.01.24 마우스를 대면 이미지가 변신합니다 1
  3. 2008.01.24 이미지가 서서히 밝아짐
  4. 2008.01.24 한문장씩 위로 스크롤 되면서 사라짐
  5. 2008.01.24 글씨가 커졌다 작아졌다.
  6. 2008.01.24 이미지의 fade in / fade out
  7. 2008.01.24 글씨 칼라가 자동으로 변하는 소스
  8. 2008.01.24 링크 글자에 네온사인 효과 주기
  9. 2008.01.24 타이틀바에 메세지가 스크롤되는 소스
  10. 2008.01.24 현재 페이지를 원클릭으로 프린트하게 도와주는 스크립트입니다.
  11. 2008.01.24 글씨가 위에서 아래로 떨어지면서 고정되는 스크립트
  12. 2008.01.24 글씨가 오른쪽 위에서 튀어나와 고정 되는 소스
  13. 2008.01.24 text 타이핑 효과 - 글자 타이핑
  14. 2008.01.24 글이 스크롤 되면서 안개처럼 사라집니다/칼라변화/링크지원
  15. 2008.01.24 글씨의 출렁이는 웨이브 효과
  16. 2008.01.24 타이틀에 날짜 표시하기 - Date
  17. 2008.01.24 링크된 곳에 마우스 오버시 스크롤 텍스트
  18. 2008.01.24 커서를 쫓아다니는 글씨 효과
  19. 2008.01.24 마우스 커서를 맴도는 매직효과
  20. 2008.01.24 마우스 커서를 맴도는 매직 효과
  21. 2008.01.24 마우스 주위에 원을 그리는 매직 효과
  22. 2008.01.24 이미지 물결 효과
  23. 2008.01.24 좌측에서 위 아래로 흐르는 이미지와 문자/링크지원
  24. 2008.01.24 마우스 커서에 스크롤되는 문자가 쫓아다님
  25. 2008.01.24 text 타이핑 효과
  26. 2008.01.24 원하는 글이 좌측으로 흐르는 텍스트로 링크지원(body)에 삽입
  27. 2008.01.24 문자가 순간 적으로 변하면 링크 지원
  28. 2008.01.24 3차원으로 돌아가는 글자 무자게 신기.
  29. 2008.01.24 폼 안에 문자가 스크롤 되는 소스
  30. 2008.01.24 문서의 자동 스크롤 소스
일반 소스보기 금지와 같이 사용하세요.
아래 소스는 body안에 삽입하세요.

<script language="JavaScript1.2">

/*
Disable right click script II (on images)- By Dynamicdrive.com
For full source, Terms of service, and 100s DTHML scripts
Visit http://www.dynamicdrive.com
*/

var clickmessage="이미지를 쓸수 없습니다.!"

function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="IMG"){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="IMG"){
alert(clickmessage)
return false
}
}
}

function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}

if (document.all||document.getElementById)
document.onmousedown=disableclick
else if (document.layers)
associateimages()
</script>
Posted by 알 수 없는 사용자
,


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

 
<html>
<head>
<title></title>
<script language="javascript">
var aon=new Image()
    aon.src="../img/dinosaur/dino2.gif"
var aoff=new Image()
    aoff.src="../img/dinosaur/dino3.gif"
function change(irum){
  if(document.images)
     document[irum].src=eval(irum+'on.src')
  }
function change1(irum){
  if(document.images)
     document[irum].src=eval(irum+'off.src')
  }
</script></head>

<body bgcolor=#ffffff>
<center>
<a href="#" onmouseover="change('a')" onmouseout="change1('a')">
<img src="../img/dinosaur/dino3.gif" name=a border=0></a>

<font color=red size=6 face=휴먼매직체,휴먼고딕체>마우스로 대보셔~~~~</font>

</body>
</html>

Posted by 알 수 없는 사용자
,


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


 
<html>
<head>

</head>
<body bgcolor="black" onLoad="fade()">
<div id="Layer1" style="position:absolute; left:172px; top:71px; width:131px; height:125px; z-index:1; visibility:visible">
  <img src="http://oxtag.com/html/img/model.jpg" name="b" border=0 style="filter:alpha(opacity=0)">

  <script language="">
var a=0
function fade(){
if(document.all)
b.filters.alpha.opacity=0 + a
a++
setTimeout("fade()",100)

/*if(a==100)
document.location="http://oxtag.com/"
*/
}
</script>    



 

  
</div>
</body>
</html>

Posted by 알 수 없는 사용자
,


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


<html>
<HEAD>

<STYLE TYPE='text/css'>
 A:link {color:#009999;text-decoration:none;}

 A:visited {color:#009999;text-decoration:none;}

 A:active {color:#0099ff;text-decoration:none;} A:hover {color:#0066cc;text-decoration:none;}
</STYLE>
</HEAD>
<BODY BGCOLOR="#ff00ff">
<script language="JavaScript">
var isMinNS4 = (navigator.appName.indexOf("Netscape") >= 0 &&

                parseFloat(navigator.appVersion) >= 4) ? 1 : 0;
var isMinIE4 = (document.all) ? 1 : 0;

var isMinIE5 = (isMinIE4 && navigator.appVersion.indexOf("5.")) >= 0 ? 1 : 0;
function hideLayer(layer) {
  if (isMinNS4)

    layer.visibility = "hide";

  if (isMinIE4)

    layer.style.visibility = "hidden";

}


function showLayer(layer) {


  if (isMinNS4)

    layer.visibility = "show";

  if (isMinIE4)

    layer.style.visibility = "visible";

}


function isVisible(layer) {


  if (isMinNS4 && layer.visibility == "show")

    return(true);

  if (isMinIE4 && layer.style.visibility == "visible")

    return(true);


  return(false);

}


function moveLayerTo(layer, x, y) {


  if (isMinNS4)

    layer.moveTo(x, y);

  if (isMinIE4) {

    layer.style.left = x;

    layer.style.top  = y;

  }

}


function moveLayerBy(layer, dx, dy) {


  if (isMinNS4)

    layer.moveBy(dx, dy);

  if (isMinIE4) {

    layer.style.pixelLeft += dx;

    layer.style.pixelTop  += dy;

  }

}


function getLeft(layer) {


  if (isMinNS4)

    return(layer.left);

  if (isMinIE4)

    return(layer.style.pixelLeft);

  return(-1);

}


function getTop(layer) {


  if (isMinNS4)

    return(layer.top);

  if (isMinIE4)

    return(layer.style.pixelTop);

  return(-1);

}


function getRight(layer) {


  if (isMinNS4)

    return(layer.left + getWidth(layer));

  if (isMinIE4)

    return(layer.style.pixelLeft + getWidth(layer));

  return(-1);

}


function getBottom(layer) {


  if (isMinNS4)

    return(layer.top + getHeight(layer));

  else if (isMinIE4)

    return(layer.style.pixelTop + getHeight(layer));

  return(-1);

}


function getPageLeft(layer) {


  if (isMinNS4)

    return(layer.pageX);

  if (isMinIE4)

    return(layer.offsetLeft);

  return(-1);

}


function getPageTop(layer) {


  if (isMinNS4)

    return(layer.pageY);

  if (isMinIE4)

    return(layer.offsetTop);

  return(-1);

}


function getWidth(layer) {


  if (isMinNS4) {

    if (layer.document.width)

      return(layer.document.width);

    else

      return(layer.clip.right - layer.clip.left);

  }

  if (isMinIE4) {

    if (layer.style.pixelWidth)

      return(layer.style.pixelWidth);

    else

      return(layer.clientWidth);

  }

  return(-1);

}


function getHeight(layer) {


  if (isMinNS4) {

    if (layer.document.height)

      return(layer.document.height);

    else

      return(layer.clip.bottom - layer.clip.top);

  }

  if (isMinIE4) {

    if (false && layer.style.pixelHeight)

      return(layer.style.pixelHeight);

    else

      return(layer.clientHeight);

  }

  return(-1);

}


function getzIndex(layer) {


  if (isMinNS4)

    return(layer.zIndex);

  if (isMinIE4)

    return(layer.style.zIndex);


  return(-1);

}


function setzIndex(layer, z) {


  if (isMinNS4)

    layer.zIndex = z;

  if (isMinIE4)

    layer.style.zIndex = z;

}


function clipLayer(layer, clipleft, cliptop, clipright, clipbottom) {


  if (isMinNS4) {

    layer.clip.left   = clipleft;

    layer.clip.top    = cliptop;

    layer.clip.right  = clipright;

    layer.clip.bottom = clipbottom;

  }

  if (isMinIE4)

    layer.style.clip = 'rect(' + cliptop + ' ' +  clipright + ' ' + clipbottom + ' ' + clipleft +')';

}


function getClipLeft(layer) {


  if (isMinNS4)

    return(layer.clip.left);

  if (isMinIE4) {

    var str =  layer.style.clip;

    if (!str)

      return(0);

    var clip = getIEClipValues(layer.style.clip);

    return(clip[3]);

  }

  return(-1);

}


function getClipTop(layer) {


  if (isMinNS4)

    return(layer.clip.top);

  if (isMinIE4) {

    var str =  layer.style.clip;

    if (!str)

      return(0);

    var clip = getIEClipValues(layer.style.clip);

    return(clip[0]);

  }

  return(-1);

}


function getClipRight(layer) {


  if (isMinNS4)

    return(layer.clip.right);

  if (isMinIE4) {

    var str =  layer.style.clip;

    if (!str)

      return(layer.style.pixelWidth);

    var clip = getIEClipValues(layer.style.clip);

    return(clip[1]);

  }

  return(-1);

}


function getClipBottom(layer) {


  if (isMinNS4)

    return(layer.clip.bottom);

  if (isMinIE4) {

    var str =  layer.style.clip;

    if (!str)

      return(layer.style.pixelHeight);

    var clip = getIEClipValues(layer.style.clip);

    return(clip[2]);

  }

  return(-1);

}


function getClipWidth(layer) {


  if (isMinNS4)

    return(layer.clip.width);

  if (isMinIE4) {

    var str = layer.style.clip;

    if (!str)

      return(layer.style.pixelWidth);

    var clip = getIEClipValues(layer.style.clip);

    return(clip[1] - clip[3]);

  }

  return(-1);

}


function getClipHeight(layer) {


  if (isMinNS4)

    return(layer.clip.height);

  if (isMinIE4) {

    var str =  layer.style.clip;

    if (!str)

      return(layer.style.pixelHeight);

    var clip = getIEClipValues(layer.style.clip);

    return(clip[2] - clip[0]);

  }

  return(-1);

}


function getIEClipValues(str) {


  var clip = new Array();

  var i;


  i = str.indexOf("(");

  clip[0] = parseInt(str.substring(i + 1, str.length), 10);

  i = str.indexOf(" ", i + 1);

  clip[1] = parseInt(str.substring(i + 1, str.length), 10);

  i = str.indexOf(" ", i + 1);

  clip[2] = parseInt(str.substring(i + 1, str.length), 10);

  i = str.indexOf(" ", i + 1);

  clip[3] = parseInt(str.substring(i + 1, str.length), 10);

  return(clip);

}


function scrollLayerTo(layer, x, y, bound) {


  var dx = getClipLeft(layer) - x;

  var dy = getClipTop(layer) - y;


  scrollLayerBy(layer, -dx, -dy, bound);

}


function scrollLayerBy(layer, dx, dy, bound) {


  var cl = getClipLeft(layer);

  var ct = getClipTop(layer);

  var cr = getClipRight(layer);

  var cb = getClipBottom(layer);


  if (bound) {

    if (cl + dx < 0)


      dx = -cl;


    else if (cr + dx > getWidth(layer))

      dx = getWidth(layer) - cr;

    if (ct + dy < 0)


      dy = -ct;


    else if (cb + dy > getHeight(layer))

      dy = getHeight(layer) - cb;

  }


  clipLayer(layer, cl + dx, ct + dy, cr + dx, cb + dy);

  moveLayerBy(layer, -dx, -dy);

}


function setBgColor(layer, color) {


  if (isMinNS4)

    layer.bgColor = color;

  if (isMinIE4)

    layer.style.backgroundColor = color;

}


function setBgImage(layer, src) {


  if (isMinNS4)

    layer.background.src = src;

  if (isMinIE4)

    layer.style.backgroundImage = "url(" + src + ")";

}


function getLayer(name) {


  if (isMinNS4)

    return findLayer(name, document);

  if (isMinIE4)

    return eval('document.all.' + name);


  return null;

}


function findLayer(name, doc) {


  var i, layer;


  for (i = 0; i < doc.layers.length; i++) {

    layer = doc.layers[i];

    if (layer.name == name)

      return layer;

    if (layer.document.layers.length > 0) {

      layer = findLayer(name, layer.document);

      if (layer != null)

        return layer;

    }

  }


  return null;

}


function getWindowWidth() {


  if (isMinNS4)

    return(window.innerWidth);

  if (isMinIE4)

    return(document.body.clientWidth);

  return(-1);

}


function getWindowHeight() {


  if (isMinNS4)

    return(window.innerHeight);

  if (isMinIE4)

    return(document.body.clientHeight);

  return(-1);

}


function getPageWidth() {


  if (isMinNS4)

    return(document.width);

  if (isMinIE4)

    return(document.body.scrollWidth);

  return(-1);

}


function getPageHeight() {


  if (isMinNS4)

    return(document.height);

  if (isMinIE4)

    return(document.body.scrollHeight);

  return(-1);

}


function getPageScrollX() {


  if (isMinNS4)

    return(window.pageXOffset);

  if (isMinIE4)

    return(document.body.scrollLeft);

  return(-1);

}


function getPageScrollY() {


  if (isMinNS4)

    return(window.pageYOffset);

  if (isMinIE4)

    return(document.body.scrollTop);

  return(-1);

}


</script>


<script language="JavaScript">


function Scroller(x, y, width, height, border, padding) {


  this.x = x;

  this.y = y;

  this.width = width;

  this.height = height;

  this.border = border;

  this.padding = padding;


  this.items = new Array();

  this.created = false;


  this.fgColor = "#0099FF";

  this.bgColor = "#FFFFEE";

  this.bdColor = "#0066CC";


  this.fontFace = "Arial,Helvetica";

  this.fontSize = "2";


  this.speed = 100; //글자의 스크롤 속도 (숫자를 높일수록 빨라집니다)

  this.pauseTime = 2000; //글자가 머물러 있는 시간 (예:1000 는 1초)


  this.setColors = scrollerSetColors;

  this.setFont = scrollerSetFont;

  this.setSpeed = scrollerSetSpeed;

  this.setPause = scrollersetPause;

  this.addItem = scrollerAddItem;

  this.create = scrollerCreate;

  this.show = scrollerShow;

  this.hide = scrollerHide;

  this.moveTo = scrollerMoveTo;

  this.moveBy = scrollerMoveBy;

  this.getzIndex = scrollerGetzIndex;

  this.setzIndex = scrollerSetzIndex;

  this.stop = scrollerStop;

  this.start = scrollerStart;

}


function scrollerSetColors(fgcolor, bgcolor, bdcolor) {


  if (this.created) {

    alert("Scroller Error: Scroller has already been created.");

    return;

  }

  this.fgColor = fgcolor;

  this.bgColor = bgcolor;

  this.bdColor = bdcolor;

}


function scrollerSetFont(face, size) {


  if (this.created) {

    alert("Scroller Error: Scroller has already been created.");

    return;

  }

  this.fontFace = face;

  this.fontSize = size;

}


function scrollerSetSpeed(pps) {


  if (this.created) {

    alert("Scroller Error: Scroller has already been created.");

    return;

  }

  this.speed = pps;

}


function scrollersetPause(ms) {


  if (this.created) {

    alert("Scroller Error: Scroller has already been created.");

    return;

  }

  this.pauseTime = ms;

}


function scrollerAddItem(str) {


  if (this.created) {

    alert("Scroller Error: Scroller has already been created.");

    return;

  }

  this.items[this.items.length] = str;

}


function scrollerCreate() {


  var start, end;

  var str;

  var i, j;

  var x, y;


  if (!isMinNS4 && !isMinIE4)

    return;


  if (scrollerList.length == 0)

    setInterval('scrollerGo()', scrollerInterval);


  if (this.created) {

    alert("Scroller Error: Scroller has already been created.");

    return;

  }

  this.created = true;


  this.items[this.items.length] = this.items[0];


  start = '<table border=0'

        + ' cellpadding=' + (this.padding + this.border)

        + ' cellspacing=0'

        + ' width=' + this.width

        + ' height=' + this.height + '>'

        + '<tr><td>'

        + '<font'

        + ' color="' + this.fgColor + '"'

        + ' face="' + this.fontFace + '"'

        + ' size=' + this.fontSize + '>';

  end   = '</font></td></tr></table>';


  if (isMinNS4) {

    this.baseLayer = new Layer(this.width);

    this.scrollLayer = new Layer(this.width, this.baseLayer);

    this.scrollLayer.visibility = "inherit";

    this.itemLayers = new Array();

    for (i = 0; i < this.items.length; i++) {

      this.itemLayers[i] = new Layer(this.width, this.scrollLayer);

      this.itemLayers[i].document.open();

      this.itemLayers[i].document.writeln(start + this.items[i] + end);

      this.itemLayers[i].document.close();

      this.itemLayers[i].visibility = "inherit";

    }


    setBgColor(this.baseLayer, this.bdColor);

    setBgColor(this.scrollLayer, this.bgColor);

  }


  if (isMinIE4) {

    i = scrollerList.length;

    str = '<div id="scroller' + i + '_baseLayer"'

        + ' style="position:absolute;'

        + ' background-color:' + this.bdColor + ';'

        + ' width:' + this.width + 'px;'

        + ' height:' + this.height + 'px;'

        + ' overflow:hidden;'

        + ' visibility:hidden;">\n'

        + '<div id="scroller' + i + '_scrollLayer"'

        + ' style="position:absolute;'

        + ' background-color: ' + this.bgColor + ';'

        + ' width:' + this.width + 'px;'

        + ' height:' + (this.height * this.items.length) + 'px;'

        + ' visibility:inherit;">\n';

    for (j = 0; j < this.items.length; j++) {

      str += '<div id="scroller' + i + '_itemLayers' + j + '"'

          +  ' style="position:absolute;'

          +  ' width:' + this.width + 'px;'

          +  ' height:' + this.height + 'px;'

          +  ' visibility:inherit;">\n'

          +  start + this.items[j] + end

          +  '</div>\n';

    }

    str += '</div>\n'

        +  '</div>\n';


    if (!isMinIE5) {

      x = getPageScrollX();

      y = getPageScrollY();

      window.scrollTo(getPageWidth(), getPageHeight());

    }

    document.body.insertAdjacentHTML("beforeEnd", str);

    if (!isMinIE5)

      window.scrollTo(x, y);


    this.baseLayer = getLayer("scroller" + i + "_baseLayer");

    this.scrollLayer = getLayer("scroller" + i + "_scrollLayer");

    this.itemLayers = new Array();

    for (j = 0; j < this.items.length; j++)

      this.itemLayers[j] = getLayer("scroller" + i + "_itemLayers" + j);

  }


  moveLayerTo(this.baseLayer, this.x, this.y);

  clipLayer(this.baseLayer, 0, 0, this.width, this.height);

  moveLayerTo(this.scrollLayer, this.border, this.border);

  clipLayer(this.scrollLayer, 0, 0,

            this.width - 2 * this.border, this.height - 2 * this.border);


  x = 0;

  y = 0;

  for (i = 0; i < this.items.length; i++) {

    moveLayerTo(this.itemLayers[i], x, y);

    clipLayer(this.itemLayers[i], 0, 0, this.width, this.height);

    y += this.height;

  }


  this.stopped = false;

  this.currentY = 0;

  this.stepY = this.speed / (1000 / scrollerInterval);

  this.stepY = Math.min(this.height, this.stepY);

  this.nextY = this.height;

  this.maxY = this.height * (this.items.length - 1);

  this.paused = true;

  this.counter = 0;


  scrollerList[scrollerList.length] = this;


  showLayer(this.baseLayer);

}


function scrollerShow() {


  if (this.created)

    showLayer(this.baseLayer);

}


function scrollerHide() {


  if (this.created)

    hideLayer(this.baseLayer);

}


function scrollerMoveTo(x, y) {


  if (this.created)

    moveLayerTo(this.baseLayer, x, y);

}


function scrollerMoveBy(dx, dy) {


  if (this.created)

    moveLayerBy(this.baseLayer, dx, dy);

}


function scrollerGetzIndex() {


  if (this.created)

    return(getzIndex(this.baseLayer));

  else

    return(0);

}


function scrollerSetzIndex(z) {


  if (this.created)

    setzIndex(this.baseLayer, z);

}


function scrollerStart() {


  this.stopped = false;

}


function scrollerStop() {


  this.stopped = true;

}


var scrollerList     = new Array();

var scrollerInterval = 20;


function scrollerGo() {


  var i;


  for (i = 0; i < scrollerList.length; i++) {


    if (scrollerList[i].stopped);


    else if (scrollerList[i].paused) {

      scrollerList[i].counter += scrollerInterval;

      if (scrollerList[i].counter > scrollerList[i].pauseTime)

        scrollerList[i].paused = false;

    }


    else {

      scrollerList[i].currentY += scrollerList[i].stepY;


      if (scrollerList[i].currentY >= scrollerList[i].nextY) {

        scrollerList[i].paused = true;

        scrollerList[i].counter = 0;

        scrollerList[i].currentY = scrollerList[i].nextY;

        scrollerList[i].nextY += scrollerList[i].height;

      }


      if (scrollerList[i].currentY >= scrollerList[i].maxY) {

        scrollerList[i].currentY -= scrollerList[i].maxY;

        scrollerList[i].nextY = scrollerList[i].height;

      }

      scrollLayerTo(scrollerList[i].scrollLayer,

                    0, Math.round(scrollerList[i].currentY),

                    false);

    }

  }

}


var origWidth;

var origHeight;


if (isMinNS4) {

  origWidth  = window.innerWidth;

  origHeight = window.innerHeight;

}

window.onresize = scrollerReload;


function scrollerReload() {


  if (isMinNS4 && origWidth == window.innerWidth && origHeight == window.innerHeight)

    return;

  window.location.href = window.location.href;

}


</script>


<script language="JavaScript">

//0,0,은 놔두시고 300 은 가로크기, 30 은 세로 크기, 1 은 테두리 두께, 5 는 cellspacing 입니다

//0099ff 는 글자색, ffffee 는 바탕색, 0066cc 는 테두리색 입니다

 var myScroller1 = new Scroller(0, 0, 440, 40, 1, 5);

    myScroller1.setColors("yellow", "#999999", "#999999"); //0099ff 는 글자색, ffffee 는 바탕색,  는 테두리색 입니다

    myScroller1.setFont("돋움,굴림", 2);

    myScroller1.addItem("<b><font color=yellow><center>방문해주셔서 감사해요</b>");

    myScroller1.addItem("<b><font color=lime><center>많이들복사해가세요</b>");

    myScroller1.addItem("<b><font color=white><center>그리고많이들애용해주세요</b>");

    myScroller1.addItem("<b><font color=pink><center>그리고하시는 일마다잘되시길</b></a>");
myScroller1.addItem("<b><font color=yellow><center>그럼시나한수 적겠습니다.</b></a>");
myScroller1.addItem("<b><font color=lime><center>윤동주</b></a>");
myScroller1.addItem("<b><font color=blue><center>서시</b></a>");myScroller1.addItem("<b><font color=white><center>죽는날까지 하늘을 우러러</b></a>");
myScroller1.addItem("<b><font color=pink><center>한 점 부끄럼이 없기를</b></a>");
 myScroller1.addItem("<b><font color=lime><center>잎세에 이는 바람에도</b></a>");
myScroller1.addItem("<b><font color=yellow><center>나는 괴로워했다.</b></a>");
myScroller1.addItem("<b><font color=orange><center>별을 노래하는 마음으로</b></a>");
myScroller1.addItem("<b><font color=cyan><center>모든죽어가는 것을 사랑해야지</b></a>");
function runmikescroll() {
myScroller1.addItem("<b><font color=green><center>그리고 나한테 주어진 길을</b></a>");
myScroller1.addItem("<b><font color=magente><center>걸어가야겠다.</b></a>");
myScroller1.addItem("<b><font color=white><center>오늘밤에도 별이바람에 스치운다.</b></a>");
 myScroller1.addItem("<b><font color=lime><center>김광섭</b></a>");
myScroller1.addItem("<b><font color=red><center>어디서 무엇이되어 다시 만나랴</b></a>");
myScroller1.addItem("<b><font color=white><center>저렇게 많은 중에서</b></a>");
myScroller1.addItem("<b><font color=blue><center>별하나가 나를 내려다본다.</b></a>");
myScroller1.addItem("<b><font color=pink><center>이렇게 많은 사람 중에서</b></a>");
myScroller1.addItem("<b><font color=orange><center>그 별 하나를 쳐다본다.</b></a>");
myScroller1.addItem("<b><font color=green><center>밤이깊을수록</b></a>");
myScroller1.addItem("<b><font color=yellow><center>별은 밝음 속에 사라지고</b></a>");
myScroller1.addItem("<b><font color=cyan><center>나는 어둠속에 사라진다.</b></a>");
myScroller1.addItem("<b><font color=lime><center>이렇게 정다운</b></a>");
myScroller1.addItem("<b><font color=white><center>너 하나 나 하나는</b></a>");
    myScroller1.addItem("<b><font color=pink><center>어디서 무엇이 되어</b></a>");
myScroller1.addItem("<b><font color=green><center>다시만나랴</b></a>");
var layer;

  var mikex, mikey;


  layer = getLayer("placeholder");

  mikex = getPageLeft(layer);

  mikey = getPageTop(layer);


  myScroller1.create();

  myScroller1.hide();

  myScroller1.moveTo(mikex, mikey);

  myScroller1.setzIndex(100);

  myScroller1.show();

}


window.onload=runmikescroll


</script>


<CENTER>


<DIV id="placeholder" style="position:relative; width:420px; height:32px;">&#160;</DIV>


</CENTER>


</BODY>


</HTML>

Posted by 알 수 없는 사용자
,


http://oxtag.com/html/ex/texts-big.html


<html>
<head>
<title>♡ 카멜롯™의 소스천국 태그피아 ♡</title>
<Script Language="Javascript">
<!-- Hiding
/* Script by Lefteris Haritou
 Copyright   998
 http://www.geocities.com/~lef
 This Script is free as long
 as you keep the above credit !
*/
bname=navigator.appName;
bversion=parseInt(navigator.appVersion)
if ((bname=="Netscape" && bversion>=4) || (bname=="Microsoft Internet Explorer" && bversion>=4)){
if (bname=="Netscape"){
brows=true
del=40
}
else{
brows=false
del=90
}
var msg=0;
var z=0;
var timer1;
var message= new Array();
var color= new Array();
var values= new Array('-6','-5','-4','-3','-2','-1','+1','+2','+3','+4','+5','+6')

// Put here your own messages. Add as many as you wan't (Do not edit anything else in the Script except the lines below)

message[0]='TAGPIA'
color[0]='yellow'

message[1]='Welcome To Oxtag'
color[1]='lime'

message[2]='아름다운 사람들이'
color[2]='red'

message[3]='있는 곳'
color[3]='pink'

message[4]='http://oxtag.com'
color[4]='blue'

message[5]='환영합니다.'
color[5]='white'

// Put here your own messages. Add as many as you wan't (Do not edit anything else in the Script except the lines above)


function doit(){
if(z<values.length){
if (brows){
document.layers['text'].document.writeln('<P Class="main" Align="Center"><font color="'+color[msg]+'" size="'+values[z]+'" face="Arial"><NOBR>'+message[msg]+'</NOBR></font></P>')
document.layers['text'].document.close();
}
else{
text.innerHTML='<Pre><P Class="main" Align="Center"><font color="'+color[msg]+'" size="'+values[z]+'" face="Arial"><NOBR>'+message[msg]+'</NOBR></font></P></Pre>'
}
z++;
timer1=window.setTimeout('doit()',del)
}
else
chg()
}

function stop(){
window.clearTimeout(timer1);
for (x=0; x<2000; x++){}
}

function chg(){
if (brows){
document.layers['text'].document.writeln('')
document.layers['text'].document.close();
}
else
text.innerHTML='';
if(msg<message.length-1){
msg++;
}
else
msg=0;
z=0;
doit()
}
}

// done hiding -->
</Script>

<BODY BGCOLOR="#000000" onLoad="doit()" onunload="stop()" align="center">
<Div id="text" style="position: absolute; left: 157px; top: 73px; width: 457px; height: 25px"> </div>


</body>
</html>

Posted by 알 수 없는 사용자
,


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

<html>
<head>
<title>♡ 카멜롯™의 소스천국 태그피아 ♡</title>
<script language="JavaScript1.1">
<!--
var img1 = new Image();
img1.src = "http://oxtag.com/html/img/model.jpg";
var img2 = new Image();
img2.src = "http://oxtag.com/html/img/smoon.gif";
var img3 = new Image();
img3.src = "http://oxtag.com/html/img/angel.gif";
var img4 = new Image();
img4.src = "http://oxtag.com/html/img/angel2.gif";
//-->
</script>


<!-- 위 이미지 주소를 추가하고 싶으시면 var img5 하고 img5.src 이런식으로 추가 시키구요 저는 이미지 크기를 안맞췄는데 맞추면 금상첨화겠죠. -->


</head>
<body bgcolor=white onLoad="init()">

<!-- body 부분에 onload="init()" 넣어 주세요 -->


<div style="position: absolute; z-index: 10; top: 160; left: 170; width: 186">
 <img src="http://oxtag.com/html/img/model.jpg" name="blendObj" border=0 style="filter: blendTrans(duration=3)">
</div>

<!-- 위는 포지션을 잡아 준건데 톱에서 160px 좌측에서 170px에 위치 시킨 것입니다. 그리고 바로밑의 주소는 첨에 보여질 이미지 즉, head의 1번 이미지를 넣어주시면 됩니다. -->
<!-- 아래 부분은 걍 넣어 주시고요 주의할 점은 var maxLoops = 4 이부분은 여러분이 이미지를 3개 넣으면 3으로 4개를 넣으시면 4로 고쳐주시면 됩니다. -->

<script language="JavaScript">
<!--
var maxLoops = 4;
var bInterval = 3;
var count = 2;
function init() {
 blendObj.filters.blendTrans.apply();
 document.images.blendObj.src = eval("img"+count+".src");
 blendObj.filters.blendTrans.play();
 if (count < maxLoops) {
  count++;
 }
 else {
  count = 1;
 }
 setTimeout("init()", bInterval*1000+3000);
}
//-->
</script>



<img src="/php/nalog/nalogd.php?counter=nlogcounter&url=" width=1 height=0>


</body>
</html>


Posted by 알 수 없는 사용자
,
<script>
function initArray(){this.length = initArray.arguments.length;for (var i = 0; i < this.length; i++) {this[i] = initArray.arguments[i]; }}
var ctext = "<b>태그피아에 오신걸 환영합니다.";
var speed = 1000;
var x = 0;
var color = new initArray("red","hotpink","orange","green","blue");if(navigator.appName == "Netscape") {
document.write('<layer id="c"><center>'+ctext+'</center></layer><br>');}if (navigator.appVersion.indexOf("MSIE") != -1){
document.write('<div id="c"><center>'+ctext+'</center></div>');}function chcolor(){ if(navigator.appName == "Netscape") {
document.c.document.write('<center><font color="'+color[x]);
document.c.document.write('">'+ctext+'</font></center>');
document.c.document.close();}else if (navigator.appVersion.indexOf("MSIE") != -1){
document.all.c.style.color = color[x];}(x < color.length-1) ? x++ : x = 0;}setInterval("chcolor()",1000);
</script>
Posted by 알 수 없는 사용자
,
링크 글자에 네온사인 효과 주기 입니다. 칼라는 여러분이 수정하세요.
아래의 소스를 원하는 곳 아무데나 집어 넣으세요.
<SCRIPT LANGUAGE="JavaScript">
<!--
function initArray() {
for (var i = 0; i < initArray.arguments.length; i++) {
this[i] = initArray.arguments[i];
}
this.length = initArray.arguments.length;
}
var colors = new initArray(
"red",
"blue",
"green",
"purple",
"black",
"tan",
"red");
delay = .5; // seconds
link = 0;
vlink = 2;
function linkDance() {
link = (link+1)%colors.length;
vlink = (vlink+1)%colors.length;
document.linkColor = colors[link];
document.vlinkColor = colors[vlink];
setTimeout("linkDance()",delay*1000);
}
linkDance();
// -->
</SCRIPT>
Posted by 알 수 없는 사용자
,
상단의 상태바는 메인화면에서 제어하기 때문에 여기에
소스를 넣어도 안되니까 태그 연습장에서 실행해보세요.
메인에 있는거는 타이핑되지만 이건 스크롤되죠.
<script language="JavaScript">
<!--
isIE4=(navigator.appVersion.charAt(0)>=4&&(navigator.appVersion).indexOf("MSIE")!=-1);
var m1="☆★☆★☆ Welcome to Tagpia home ☆★☆★☆";
var m2="☆★☆★☆ Welcome to Tagpia home ★☆★☆★";
var title=m1+m2;
function titnimation() {
title=title.substring(2,title.length)+title.substring(0,12);
document.title = title;
}
if(isIE4) {
setInterval("titnimation()",1);
}
//-->
</script>
Posted by 알 수 없는 사용자
,
<SCRIPT Language="Javascript">

/*
This script is written by Eric (Webcrawl@usa.net)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/

function printit(){  
if (window.print) {
    window.print() ;  
} else {
    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    WebBrowser1.outerHTML = "";  
}
}
</script>

<SCRIPT Language="Javascript">  
var NS = (navigator.appName == "Netscape");
var VERSION = parseInt(navigator.appVersion);
if (VERSION > 3) {
    document.write('<form><input type=button value="Print this Page" name="Print" onClick="printit()"></form>');        
}
</script>


위는 복잡하죠 아래는 간단한 태그...
<a href="#" onClick="window.print()">프린트하기</a>

<NOPRINT> ~ </NOPRINT> 사이에는 프린트 되지 안습니다.
Posted by 알 수 없는 사용자
,
<script LANGUAGE="JavaScript" FPTYPE="dynamicanimation8">
<!--

  dynamicanimAttr = "dynamicanimation8"
  animateElements = new Array()
  currentElement = 0
  speed = 0
  stepsZoom = 8
  stepsWord = 8
  stepsFly = 12
  stepsSpiral = 16
  steps = stepsZoom
  step = 0
  outString = ""
  function dynAnimation8()
  {
    var ms = navigator.appVersion.indexOf("MSIE")
    ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)
    if(!ie4)
    {
      if((navigator.appName == "Netscape") &&
         (parseInt(navigator.appVersion.substring(0, 1)) >= 4))
      {
        for (index=document.layers.length-1; index >= 0; index--)
        {
            layer=document.layers[index]
            if (layer.left==10000)
                layer.left=0
        }
      }
      return
    }
    for (index=document.all.length-1; index >= document.body.sourceIndex; index--)
    {
      el = document.all[index]
      animation = el.getAttribute(dynamicanimAttr, false)
      if(null != animation)
      {
        if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
        {
          ih = el.innerHTML
          outString = ""
          i1 = 0
          iend = ih.length
          while(true)
          {
            i2 = startWord(ih, i1)
            if(i2 == -1)
              i2 = iend
            outWord(ih, i1, i2, false, "")
            if(i2 == iend)
              break
            i1 = i2
            i2 = endWord(ih, i1)
            if(i2 == -1)
              i2 = iend
            outWord(ih, i1, i2, true, animation)
            if(i2 == iend)
              break
            i1 = i2
          }
          document.all[index].innerHTML = outString
          document.all[index].style.posLeft = 0
          document.all[index].setAttribute(dynamicanimAttr, null)
        }
        if(animation == "zoomIn" || animation == "zoomOut")
        {
          ih = el.innerHTML
          outString = "<SPAN " + dynamicanimAttr + "=\"" + animation + "\" style=\"position: relative; left: 10000;\">"
          outString += ih
          outString += "</SPAN>"
          document.all[index].innerHTML = outString
          document.all[index].style.posLeft = 0
          document.all[index].setAttribute(dynamicanimAttr, null)
        }
      }
    }
    i = 0
    for (index=document.body.sourceIndex; index < document.all.length; index++)
    {
      el = document.all[index]
      animation = el.getAttribute(dynamicanimAttr, false)
      if (null != animation)
      {
        if(animation == "flyLeft")
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = 0
        }
        else if(animation == "flyRight")
        {
          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
          el.style.posTop = 0
        }
        else if(animation == "flyTop" || animation == "dropWord")
        {
          el.style.posLeft = 0
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
        }
        else if(animation == "flyBottom")
        {
          el.style.posLeft = 0
          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
        }
        else if(animation == "flyTopLeft")
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
        }
        else if(animation == "flyTopRight" || animation == "flyTopRightWord")
        {
          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
        }
        else if(animation == "flyBottomLeft")
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
        }
        else if(animation == "flyBottomRight" || animation == "flyBottomRightWord")
        {
          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
        }
        else if(animation == "spiral")
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
        }
        else if(animation == "zoomIn")
        {
          el.style.posLeft = 10000
          el.style.posTop = 0
        }
        else if(animation == "zoomOut")
        {
          el.style.posLeft = 10000
          el.style.posTop = 0
        }
        else
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = 0
        }
        el.initLeft = el.style.posLeft
        el.initTop = el.style.posTop
        animateElements[i++] = el
      }
    }
    window.setTimeout("animate();", speed)
  }
  function offsetLeft(el)
  {
    x = el.offsetLeft
    for (e = el.offsetParent; e; e = e.offsetParent)
      x += e.offsetLeft;
    return x
  }
  function offsetTop(el)
  {
    y = el.offsetTop
    for (e = el.offsetParent; e; e = e.offsetParent)
      y += e.offsetTop;
    return y
  }
  function startWord(ih, i)
  {
    for(tag = false; i < ih.length; i++)
    {
      c = ih.charAt(i)
      if(c == '<')
        tag = true
      if(!tag)
        return i
      if(c == '>')
        tag = false
    }
    return -1
  }
  function endWord(ih, i)
  {
    nonSpace = false
    space = false
    while(i < ih.length)
    {
      c = ih.charAt(i)
      if(c != ' ')
        nonSpace = true
      if(nonSpace && c == ' ')
        space = true
      if(c == '<')
        return i
      if(space && c != ' ')
        return i
      i++
    }
    return -1
  }
  function outWord(ih, i1, i2, dyn, anim)
  {
    if(dyn)
      outString += "<SPAN " + dynamicanimAttr + "=\"" + anim + "\" style=\"position: relative; left: 10000;\">"
    outString += ih.substring(i1, i2)
    if(dyn)
      outString += "</SPAN>"
  }
  function animate()
  {
    el = animateElements[currentElement]
    animation = el.getAttribute(dynamicanimAttr, false)
    step++
    if(animation == "spiral")
    {
      steps = stepsSpiral
      v = step/steps
      rf = 1.0 - v
      t = v * 2.0*Math.PI
      rx = Math.max(Math.abs(el.initLeft), 200)
      ry = Math.max(Math.abs(el.initTop),  200)
      el.style.posLeft = Math.ceil(-rf*Math.cos(t)*rx)
      el.style.posTop  = Math.ceil(-rf*Math.sin(t)*ry)
    }
    else if(animation == "zoomIn")
    {
      steps = stepsZoom
      el.style.fontSize = Math.ceil(50+50*step/steps) + "%"
      el.style.posLeft = 0
    }
    else if(animation == "zoomOut")
    {
      steps = stepsZoom
      el.style.fontSize = Math.ceil(100+200*(steps-step)/steps) + "%"
      el.style.posLeft = 0
    }
    else
    {
      steps = stepsFly
      if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
        steps = stepsWord
      dl = el.initLeft / steps
      dt = el.initTop  / steps
      el.style.posLeft = el.style.posLeft - dl
      el.style.posTop = el.style.posTop - dt
    }
    if (step >= steps)
    {
      el.style.posLeft = 0
      el.style.posTop = 0
      currentElement++
      step = 0
    }
    if(currentElement < animateElements.length)
      window.setTimeout("animate();", speed)
  }
//-->
</script>
Posted by 알 수 없는 사용자
,
<script LANGUAGE="JavaScript" FPTYPE="mydynamicanimation">
<!--
  dynamicanimAttr = "mydynamicanimation"
  animateElements = new Array()
  currentElement = 0
  speed = 0
  stepsZoom = 8
  stepsWord = 8
  stepsFly = 12
  stepsSpiral = 16
  steps = stepsZoom
  step = 0
  outString = ""
  function mydynAnimation()
  {
    var ms = navigator.appVersion.indexOf("MSIE")
    ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)
    if(!ie4)
    {
      if((navigator.appName == "Netscape") &&
         (parseInt(navigator.appVersion.substring(0, 1)) >= 4))
      {
        for (index=document.layers.length-1; index >= 0; index--)
        {
            layer=document.layers[index]
            if (layer.left==10000)
                layer.left=0
        }
      }
      return
    }
    for (index=document.all.length-1; index >= document.body.sourceIndex; index--)
    {
      el = document.all[index]
      animation = el.getAttribute(dynamicanimAttr, false)
      if(null != animation)
      {
        if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
        {
          ih = el.innerHTML
          outString = ""
          i1 = 0
          iend = ih.length
          while(true)
          {
            i2 = startWord(ih, i1)
            if(i2 == -1)
              i2 = iend
            outWord(ih, i1, i2, false, "")
            if(i2 == iend)
              break
            i1 = i2
            i2 = endWord(ih, i1)
            if(i2 == -1)
              i2 = iend
            outWord(ih, i1, i2, true, animation)
            if(i2 == iend)
              break
            i1 = i2
          }
          document.all[index].innerHTML = outString
          document.all[index].style.posLeft = 0
          document.all[index].setAttribute(dynamicanimAttr, null)
        }
        if(animation == "zoomIn" || animation == "zoomOut")
        {
          ih = el.innerHTML
          outString = "<SPAN " + dynamicanimAttr + "=\"" + animation + "\" style=\"position: relative; left: 10000;\">"
          outString += ih
          outString += "</SPAN>"
          document.all[index].innerHTML = outString
          document.all[index].style.posLeft = 0
          document.all[index].setAttribute(dynamicanimAttr, null)
        }
      }
    }
    i = 0
    for (index=document.body.sourceIndex; index < document.all.length; index++)
    {
      el = document.all[index]
      animation = el.getAttribute(dynamicanimAttr, false)
      if (null != animation)
      {
        if(animation == "flyLeft")
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = 0
        }
        else if(animation == "flyRight")
        {
          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
          el.style.posTop = 0
        }
        else if(animation == "flyTop" || animation == "dropWord")
        {
          el.style.posLeft = 0
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
        }
        else if(animation == "flyBottom")
        {
          el.style.posLeft = 0
          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
        }
        else if(animation == "flyTopLeft")
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
        }
        else if(animation == "flyTopRight" || animation == "flyTopRightWord")
        {
          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
        }
        else if(animation == "flyBottomLeft")
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
        }
        else if(animation == "flyBottomRight" || animation == "flyBottomRightWord")
        {
          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
        }
        else if(animation == "spiral")
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
        }
        else if(animation == "zoomIn")
        {
          el.style.posLeft = 10000
          el.style.posTop = 0
        }
        else if(animation == "zoomOut")
        {
          el.style.posLeft = 10000
          el.style.posTop = 0
        }
        else
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = 0
        }
        el.initLeft = el.style.posLeft
        el.initTop = el.style.posTop
        animateElements[i++] = el
      }
    }
    window.setTimeout("animate();", speed)
  }
  function offsetLeft(el)
  {
    x = el.offsetLeft
    for (e = el.offsetParent; e; e = e.offsetParent)
      x += e.offsetLeft;
    return x
  }
  function offsetTop(el)
  {
    y = el.offsetTop
    for (e = el.offsetParent; e; e = e.offsetParent)
      y += e.offsetTop;
    return y
  }
  function startWord(ih, i)
  {
    for(tag = false; i < ih.length; i++)
    {
      c = ih.charAt(i)
      if(c == '<')
        tag = true
      if(!tag)
        return i
      if(c == '>')
        tag = false
    }
    return -1
  }
  function endWord(ih, i)
  {
    nonSpace = false
    space = false
    while(i < ih.length)
    {
      c = ih.charAt(i)
      if(c != ' ')
        nonSpace = true
      if(nonSpace && c == ' ')
        space = true
      if(c == '<')
        return i
      if(space && c != ' ')
        return i
      i++
    }
    return -1
  }
  function outWord(ih, i1, i2, dyn, anim)
  {
    if(dyn)
      outString += "<SPAN " + dynamicanimAttr + "=\"" + anim + "\" style=\"position: relative; left: 10000;\">"
    outString += ih.substring(i1, i2)
    if(dyn)
      outString += "</SPAN>"
  }
  function animate()
  {
    el = animateElements[currentElement]
    animation = el.getAttribute(dynamicanimAttr, false)
    step++
    if(animation == "spiral")
    {
      steps = stepsSpiral
      v = step/steps
      rf = 1.0 - v
      t = v * 2.0*Math.PI
      rx = Math.max(Math.abs(el.initLeft), 200)
      ry = Math.max(Math.abs(el.initTop),  200)
      el.style.posLeft = Math.ceil(-rf*Math.cos(t)*rx)
      el.style.posTop  = Math.ceil(-rf*Math.sin(t)*ry)
    }
    else if(animation == "zoomIn")
    {
      steps = stepsZoom
      el.style.fontSize = Math.ceil(50+50*step/steps) + "%"
      el.style.posLeft = 0
    }
    else if(animation == "zoomOut")
    {
      steps = stepsZoom
      el.style.fontSize = Math.ceil(100+200*(steps-step)/steps) + "%"
      el.style.posLeft = 0
    }
    else
    {
      steps = stepsFly
      if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
        steps = stepsWord
      dl = el.initLeft / steps
      dt = el.initTop  / steps
      el.style.posLeft = el.style.posLeft - dl
      el.style.posTop = el.style.posTop - dt
    }
    if (step >= steps)
    {
      el.style.posLeft = 0
      el.style.posTop = 0
      currentElement++
      step = 0
    }
    if(currentElement < animateElements.length)
      window.setTimeout("animate();", speed)
  }
//-->
</script>
Posted by 알 수 없는 사용자
,
<script language="JavaScript1.2">

/*
Typing Text Script-
Last updated: 99/06/17
?Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/

var it=0
function initialize(){
mytext=typing.innerText
var myheight=typing.offsetHeight
typing.innerText=''
document.all.typing.style.height=myheight
document.all.typing.style.visibility="visible"
typeit()
}
function typeit(){
typing.insertAdjacentText("beforeEnd",mytext.charAt(it))
if (it<mytext.length-1){
it++
setTimeout("typeit()",100)
}
else
return
}
if (document.all)
document.body.onload=initialize
</script>
<span id="typing" style="visibility:hidden" align="left">Welcome to Tagpia! 여러분을 환영합니다.항상 즐겁고 유익한 시간을 만들도록 노력하겠습니다.</span>
Posted by 알 수 없는 사용자
,
소스는 body안에 넣어 주시고
Click Here 나올때 클릭하시면 지정된 url로 이동합니다.
홈 광고로 링크 시킬때 사용하면 좋겠죠.

<style type="text/css">
<!--
.textanimlink,a {
text-decoration : none;
}
P.main {
        font-family : Arial;
        font-size : 15pt;
        font-weight : bold;
}
-->
</style>


<Script Language="Javascript">
<!-- Hiding

/*
Script created by Lefteris Haritou
(lef@the.forthnet.gr)
Permission granted to Dynamicdrive.com to feature the script
For more DHTML scripts, visit Dynamicdrive.com
*/

bname=navigator.appName;
bversion=parseInt(navigator.appVersion)
if ((bname=="Netscape" && bversion>=4) || (bname=="Microsoft Internet Explorer" && bversion>=4))
window.onload=start
else
stop();
window.onunload=stop
if (bname=="Netscape"){
brows=true
dt=2
}
else{
brows=false
dt=20
}
var z=0;
var msg=0;
var rgb=0;
var link=false;
var status=true;
var updwn=false;
var message= new Array();
var value=0;
var h=window.innerHeight;
var w=window.innerWidth;
var timer1;
var timer2;
var timer3;
var convert = new Array()
var hexbase= new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F");

// Put here your own messages. Add as many as you wan't (Do not edit anything else in the Script except the lines below)

var bgcolor="#FFFFFF"; //Color of background
var color="#00008D";  //Color of the Letters

message[0]='The future of JavaScript'
message[1]='Today.'
message[2]='T A G P I A'
message[3]='<a href="http://oxtag.wo.to" target="_blank">Click here to <b><u>oxtag.wo.to</u></b></a>'

// Put here your own messages. Add as many as you wan't (Do not edit anything else in the Script except the lines above)

for (x=0; x<16; x++){
for (y=0; y<16; y++){
convert[value]= hexbase[x] + hexbase[y];
value++;
}
}

redx=color.substring(1,3);
greenx=color.substring(3,5);
bluex=color.substring(5,7);
hred=eval(parseInt(redx,16));
hgreen=eval(parseInt(greenx,16));
hblue=eval(parseInt(bluex,16));
eredx=bgcolor.substring(1,3);
egreenx=bgcolor.substring(3,5);
ebluex=bgcolor.substring(5,7);
ered=eval(parseInt(eredx,16));
egreen=eval(parseInt(egreenx,16));
eblue=eval(parseInt(ebluex,16));
red=ered;
green=egreen;
blue=eblue;

function start(){
if ((bname=="Netscape" && bversion>=4) || (bname=="Microsoft Internet Explorer" && bversion>=4)){
link=false;
updwn=true;
if (brows)
res=document.layers['textanim'].top
else{
textanim.style.width=document.body.offsetWidth-20;
textanim.innerHTML='<Pre><P Class="main" Align="Center">'+message[msg]+'</P></Pre>'
res=textanim.style.top
for (x=0; x<document.all.length; x++)
if(document.all[x].id=="textanimlink")
link=true;
}
up()
}
}

function stop(){
clearTimeout(timer1);
clearTimeout(timer2);
clearTimeout(timer3);
}

function resz(){
h=window.innerHeight;
w=window.innerWidth;
if (updwn)
timer1=setTimeout('up()',1000)
else
timer2=setTimeout('down()',1000)
}

function breakf(){
if (status){
clearTimeout(timer1);
clearTimeout(timer2);
status=false
return;
}
else{
status=true;
if (updwn)
timer1=setTimeout('up()',dt)
else
timer2=setTimeout('down()',dt)
}
}


function up(){
if (red<hred){
if ((red+7)<hred)
red+=7;
else
red=hred
redx = convert[red]
}
else{
if ((red-7)>hred)
red-=7;
else
red=hred
redx = convert[red]
}

if (green<hgreen){
if ((green+7)<hgreen)
green+=7;
else
green=hgreen
greenx = convert[green]
}
else{
if ((green-7)>hgreen)
green-=7;
else
green=hgreen
greenx = convert[green]
}

if (blue<hblue){
if ((blue+7)<hblue)
blue+=7;
else
blue=hblue
bluex = convert[blue]
}
else{
if ((blue-7)>hblue)
blue-=7;
else
blue=hblue
bluex = convert[blue]
}

rgb = "#"+redx+greenx+bluex;
if (brows){
document.layers['textanim'].document.linkColor=rgb;
document.layers['textanim'].document.vlinkColor=rgb;
if (window.innerHeight!=h || window.innerWidth!=w){
clearTimeout(timer1);
resz()
return;
}
else{
document.layers['textanim'].document.write('<Pre><P Class="main" Align="Center"><font color="'+rgb+'">'+message[msg]+'</font></P></Pre>')
document.layers['textanim'].document.close();
}
}
else{
textanim.style.color=rgb;
if(link)
textanimlink.style.color=rgb;
}
if (z<38){
if (brows)
document.layers['textanim'].top--
else
textanim.style.posTop--
z++
timer1=setTimeout('up()',dt)
}
else
{
updwn=false;
down()
}
}


function down(){
if (red<ered){
if ((red+7)<ered)
red+=7;
else
red=ered
redx = convert[red]
}
else{
if ((red-7)>ered)
red-=7;
else
red=ered
redx = convert[red]
}

if (green<egreen){
if ((green+7)<egreen)
green+=7;
else
green=egreen
greenx = convert[green]
}
else{
if ((green-7)>egreen)
green-=7;
else
green=egreen
greenx = convert[green]
}

if (blue<eblue){
if ((blue+7)<eblue)
blue+=7;
else
blue=eblue
bluex = convert[blue]
}
else{
if ((blue-7)>eblue)
blue-=7;
else
blue=eblue
bluex = convert[blue]
}

rgb = "#"+redx+greenx+bluex;
if (brows){
document.layers['textanim'].document.linkColor=rgb;
document.layers['textanim'].document.vlinkColor=rgb;
if (window.innerHeight!=h || window.innerWidth!=w){
clearTimeout(timer2);
resz()
return;
}
else{
document.layers['textanim'].document.write('<Pre><P Class="main" Align="Center"><font color="'+rgb+'">'+message[msg]+'</font></P></Pre>')
document.layers['textanim'].document.close();
}
}
else{
textanim.style.color=rgb;
if(link)
textanimlink.style.color=rgb;
}

if (z<76){
if (brows)
document.layers['textanim'].top--
else
textanim.style.posTop--
z++
timer2=setTimeout('down()',dt)
}
else
{
if (brows){
document.layers['textanim'].document.write('')
document.layers['textanim'].document.close();
}
else
textanim.innerHTML='';
window.clearInterval(timer2);
if(msg<message.length-1){
msg++;
z=0;
if (brows){
document.layers['textanim'].top=res;
}
else
textanim.style.top=res;
timer3=setTimeout('start()',100);
}
else
{
msg=0;
z=0;
if (brows)
document.layers['textanim'].top=res;
else
textanim.style.top=res;
timer3=setTimeout('start()',2000);
}
}
}


// done hiding -->
</Script>
<Div id="textanim" style="position: absolute; left: 0; top: 440" onclick="breakf()">
</Div>
<Layer name="textanim" left=0 top=440>
</Layer>
Posted by 알 수 없는 사용자
,
소스는 적당한 곳에 넣어 주시고 <body onload="doWave(0)"> 이걸 바디에 넣어주세요.
<script language="JavaScript">


/*
script edited by David Gardner (toolmandav@geocities.com)
Permission granted to Dynamicdrive.com to feature the script
For more DHTML scripts, visit Dynamicdrive.com
*/

//put your text here
var theText = "http://oxtag.wo.to";

function nextSize(i,incMethod,textLength)
{
if (incMethod == 1) return (72*Math.abs( Math.sin(i/(textLength/3.14))) );
if (incMethod == 2) return (255*Math.abs( Math.cos(i/(textLength/3.14))));
}

function sizeCycle(text,method,dis)
{
        output = "";
        for (i = 0; i < text.length; i++)
        {
                size = parseInt(nextSize(i +dis,method,text.length));
                output += "<font style='font-size: "+ size +"pt'>" +text.substring(i,i+1)+ "</font>";
        }
        theDiv.innerHTML = output;
}

function doWave(n)
{  
        sizeCycle(theText,1,n);
        if (n > theText.length) {n=0}
        setTimeout("doWave(" + (n+1) + ")", 50);
}
</script>
      </p>
      <div id="theDiv" align="center"> </div>
Posted by 알 수 없는 사용자
,
아래의 소스를 head 안에 삽입하세요.
<script language="JavaScript1.2">
<!--hide

//date in title by Randall Smith copyright 1999
//Permission given to Dynamicdrive.com to feature it in it's DHTML archive
//Script modified by Dynamicdrive.com to make it cross browser friendly. Visit Dynamicdrive.com for more DHTML scripts
//please visit me on the web at http://members.xoom.com/u4rstunzd/
//when it gets to the year 2000 you'll need to change the 19 to 20 if not when it's the year 2000
//it will show the year as 1900 to change it see where it says 19"+Year+" just change the 19 to 20
//and to change the title:where it says Welcome todays date is: just put you own text in if you would like to--
var isnMonth = new
Array("January","February","March","April","May","June","July","August","Septerber","October","November","December");
var isnDay = new
Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday");
today = new Date () ;
Year=today.getYear();
if (Year < 1000)
Year+=1900
Date=today.getDate();
if (document.all)
document.title="Welcome. today\'s date is: "+isnDay[today.getDay()]+", "+isnMonth[today.getMonth()]+" "+Date+", "+Year+""
//--hide-->
</script>
Posted by 알 수 없는 사용자
,


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


<html>
<head>
<title>♡ 카멜롯™의 소스천국 태그피아 ♡</title>


</head>
<body>


<script>

/*
Scrolling Image Map/Text Link Tooltip Script-
?Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/

if (!document.layers&&!document.all)
event="test"
function showtip2(current,e,text){

if (document.all&&document.readyState=="complete"){
document.all.tooltip2.innerHTML='<marquee style="border:1px solid black">'+text+'</marquee>'
document.all.tooltip2.style.pixelLeft=event.clientX+document.body.scrollLeft+10
document.all.tooltip2.style.pixelTop=event.clientY+document.body.scrollTop+10
document.all.tooltip2.style.visibility="visible"
}

else if (document.layers){
document.tooltip2.document.nstip.document.write('<b>'+text+'</b>')
document.tooltip2.document.nstip.document.close()
document.tooltip2.document.nstip.left=0
currentscroll=setInterval("scrolltip()",100)
document.tooltip2.left=e.pageX+10
document.tooltip2.top=e.pageY+10
document.tooltip2.visibility="show"
}
}
function hidetip2(){
if (document.all)
document.all.tooltip2.style.visibility="hidden"
else if (document.layers){
clearInterval(currentscroll)
document.tooltip2.visibility="hidden"
}
}

function scrolltip(){
if (document.tooltip2.document.nstip.left>=-document.tooltip2.document.nstip.document.width)
document.tooltip2.document.nstip.left-=5
else
document.tooltip2.document.nstip.left=150
}

</script>

<div id="tooltip2" style="position:absolute;visibility:hidden;clip:rect(0 150 50 0);width:150px;background-color:lightyellow">
<layer name="nstip" width=1000px bgColor="lightyellow"></layer>
</div>


<a href=http://oxtag.com onMouseover="showtip2(this,event,'우리 모두 태그천국 태그피아로 가자!!!')" onMouseout="hidetip2()" target="_blank">"태그피아" 여기에 마우스를 올려보세요.</a>



</body>
</html>

Posted by 알 수 없는 사용자
,
소스는 8~9째 줄의 글자와 컬러만 바꾸셔서 사용하세요
<SCRIPT language=JavaScript1.2>
<!--
/*
Cursor Trailer II (By Kurt at kurt.grigg@virgin.net)
Modified and featured on Dynamicdrive.com
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/
var message='T A G P I A';
var messagecolor='red'
//Enter number of seconds for message to display  (0=perpetual)
var dismissafter=0
///no need to edit below/////////
var amount=5,ypos=0,xpos=0,Ay=0,Ax=0,By=0,Bx=0,Cy=0,Cx=0,Dy=0,Dx=0,Ey=0,Ex=0;
if (document.layers){
for (i = 0; i < amount; i++)
{document.write('<layer name=ns'+i+' top=0 left=0><font face="Courier New" size=3 color='+messagecolor+'>'+message+'</font></layer>')}
window.captureEvents(Event.MOUSEMOVE);
function nsmouse(evnt){xpos = evnt.pageX;ypos = evnt.pageY;makefollow()}
}
else if (document.all){
document.write("<div id='outer' style='position:absolute;top:0px;left:0px'>");
document.write("<div id='inner' style='position:relative'>");
for (i = 0; i < amount; i++)
{document.write('<div id="text"'+i+' style="position:absolute;top:0px;left:0px;font-family:Courier New;font-size:16px;color:'+messagecolor+'">'+message+'</div>')}
document.write("</div>");
document.write("</div>");
function iemouse(){ypos = document.body.scrollTop + event.y;xpos = document.body.scrollLeft + event.x;makefollow()}
}
function makefollow(){
if (document.layers){
document.layers["ns0"].top=ay;document.layers["ns0"].left=ax;
document.layers["ns1"].top=by;document.layers["ns1"].left=bx;
document.layers["ns2"].top=cy;document.layers["ns2"].left=cx;
document.layers["ns3"].top=Dy;document.layers["ns3"].left=Dx;
document.layers["ns4"].top=Ey;document.layers["ns4"].left=Ex;
}
else if (document.all){
outer.all.inner.all[0].style.pixelTop=ay;outer.all.inner.all[0].style.pixelLeft=ax;
outer.all.inner.all[1].style.pixelTop=by;outer.all.inner.all[1].style.pixelLeft=bx;
outer.all.inner.all[2].style.pixelTop=cy;outer.all.inner.all[2].style.pixelLeft=cx;
outer.all.inner.all[3].style.pixelTop=Dy;outer.all.inner.all[3].style.pixelLeft=Dx;
outer.all.inner.all[4].style.pixelTop=Ey;outer.all.inner.all[4].style.pixelLeft=Ex;
}
}
function move(){
if (dismissafter!=0)
setTimeout("hidetrail()",dismissafter*1000)
if (document.layers){window.onMouseMove = nsmouse}
else if (document.all){window.document.onmousemove = iemouse}
ey = Math.round(Ey+=((ypos+20)-Ey)*2/2);ex = Math.round(Ex+=((xpos+20)-Ex)*2/2);
dy = Math.round(Dy+=(ey - Dy)*2/4);dx = Math.round(Dx+=(ex - Dx)*2/4);
cy = Math.round(Cy+=(dy - Cy)*2/6);cx = Math.round(Cx+=(dx - Cx)*2/6);
by = Math.round(By+=(cy - By)*2/8);bx = Math.round(Bx+=(cx - Bx)*2/8);
ay = Math.round(Ay+= (by - Ay)*2/10);ax = Math.round(Ax+= (bx - Ax)*2/10);
makefollow();
jumpstart=setTimeout('move()',10);
}
function hidetrail(){
if (document.all){
for (i2=0;i2<amount;i2++){
outer.all.inner.all[i2].style.visibility="hidden"
clearTimeout(jumpstart)
}
}
else if (document.layers){
for (i2=0;i2<amount;i2++){
temp="ns"+i2
document.layers[temp].visibility="hide"
clearTimeout(jumpstart)
}
}
}
window.onload=move;
//-->
</SCRIPT>
Posted by 알 수 없는 사용자
,


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


<html>
<head>
<title></title>


</head>
<body bgcolor=black>



<LAYER NAME="a0" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FFFF00" CLIP="0,0,3,3"></LAYER>
<LAYER NAME="a1" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FFFF00" CLIP="0,0,3,3"></LAYER>
<LAYER NAME="a2" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FFFF00" CLIP="0,0,3,3"></LAYER>
<LAYER NAME="a3" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FFFF00" CLIP="0,0,3,3"></LAYER>
<LAYER NAME="a4" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FFFF00" CLIP="0,0,3,3"></LAYER>
<LAYER NAME="a5" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FFFF00" CLIP="0,0,3,3"></LAYER>
<LAYER NAME="a6" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FFFF00" CLIP="0,0,3,3"></LAYER>

<script language="JavaScript">
<!--

/*
Dancing Stars cursor (Submitted by Kurt at kurt.grigg@virgin.net)
Modified and permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

if (document.all){
document.write('<div id="starsDiv" style="position:absolute;top:0px;left:0px">')
for (xy=0;xy<7;xy++)
document.write('<div style="position:relative;width:3px;height:3px;background:#FFFF00;font-size:2px;visibility:visible"></div>')
document.write('</div>')
}

if (document.layers)
{window.captureEvents(Event.MOUSEMOVE);}
var yBase = 200;
var xBase = 200;
var yAmpl = 10;
var yMax = 40;
var step = .2;
var ystep = .5;
var currStep = 0;
var tAmpl=1;
var Xpos = 1;
var Ypos = 1;
var i = 0;
var j = 0;

if (document.all)
{
  function MoveHandler(){
  Xpos = document.body.scrollLeft+event.x;
  Ypos = document.body.scrollTop+event.y;
  }
  document.onmousemove = MoveHandler;
}

else if (document.layers)
{
  function xMoveHandler(evnt){
  Xpos = evnt.pageX;
  Ypos = evnt.pageY;
  }
  window.onMouseMove = xMoveHandler;
}


function animateLogo() {
if (document.all)
{
 yBase = window.document.body.offsetHeight/4;
 xBase = window.document.body.offsetWidth/4;
}
else if (document.layers)
{
 yBase = window.innerHeight/4 ;
 xBase = window.innerWidth/4;
}

if (document.all)
{
var totaldivs=document.all.starsDiv.all.length
 for ( i = 0 ; i < totaldivs ; i++ )
 {
var tempdiv=document.all.starsDiv.all[i].style
  tempdiv.top = Ypos + Math.cos((20*Math.sin(currStep/20))+i*70)*yBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + i*25)/10);
  tempdiv.left = Xpos + Math.sin((20*Math.sin(currStep/20))+i*70)*xBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + i*25)/10);
 }
}

else if (document.layers)
{
 for ( j = 0 ; j < 7 ; j++ )
 {
var templayer="a"+j
  document.layers[templayer].top = Ypos + Math.cos((20*Math.sin(currStep/20))+j*70)*yBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + j*25)/10);
  document.layers[templayer].left =Xpos + Math.sin((20*Math.sin(currStep/20))+j*70)*xBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + j*25)/10);
 }
}
currStep += step;
setTimeout("animateLogo()", 15);
}
animateLogo();
// -->
</script>


<img src="/php/nalog/nalogd.php?counter=nlogcounter&url=" width=1 height=0>

</body>
</html>

Posted by 알 수 없는 사용자
,


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


<html>
<head>
<title></title>


</head>
<body>



<LAYER NAME="a0" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffffff" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a1" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#fff000" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a2" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffa000" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a3" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ff00ff" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a4" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#00ff00" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a5" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FF00FF" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a6" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FF0000" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a7" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffffff" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a8" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#fff000" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a9" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffa000" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a10" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ff00ff" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a11" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#00ff00" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a12" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#0000ff" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a13" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FF0000" CLIP="0,0,2,2"></LAYER>


<script language="JavaScript">

/*
Magic Wand cursor II (By Kurt at kurt.grigg@virgin.net)
Modified and permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

if (document.all){
with (document){
write('<div id="starsDiv" style="position:absolute;top:0px;left:0px">')
write('<div style="position:relative;width:1px;height:1px;background:#ffffff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#00ff00;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#fff000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ffa000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#00ff00;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#0000ff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"></div>')
write('</div>')
}
}

if (document.layers)
{window.captureEvents(Event.MOUSEMOVE);}
var yBase = 200;
var xBase = 200;
var step = 1;
var currStep = 0;
var Xpos = 1;
var Ypos = 1;

if (document.all)
{
  function MoveHandler(){
  Xpos = document.body.scrollLeft+event.x;
  Ypos = document.body.scrollTop+event.y;
  }
  document.onmousemove = MoveHandler;
}

else if (document.layers)
{
  function xMoveHandler(evnt){
  Xpos = evnt.pageX;
  Ypos = evnt.pageY;
  }
  window.onMouseMove = xMoveHandler;
}

function animateLogo() {
if (document.all)
{
 yBase = window.document.body.offsetHeight/6;
 xBase = window.document.body.offsetWidth/6;
}
else if (document.layers)
{
 yBase = window.innerHeight/8;
 xBase = window.innerWidth/8;
}

if (document.all)
{
 for ( i = 0 ; i < starsDiv.all.length ; i++ )
 {
  starsDiv.all[i].style.top = Ypos + yBase*Math.sin((currStep + i*4)/12)*Math.cos(400+currStep/200);
 starsDiv.all[i].style.left = Xpos + xBase*Math.sin((currStep + i*3)/10)*Math.sin(currStep/200);
 }
}

else if (document.layers)
{
 for ( j = 0 ; j < 14 ; j++ ) //number of NS layers!
 {
  var templayer="a"+j
  document.layers[templayer].top = Ypos + yBase*Math.sin((currStep + j*4)/12)*Math.cos(400+currStep/200);
  document.layers[templayer].left = Xpos + xBase*Math.sin((currStep + j*3)/10)*Math.sin(currStep/200);
 }
}
currStep+= step;
setTimeout("animateLogo()", 10);
}
animateLogo();
</script>


<img src="/php/nalog/nalogd.php?counter=nlogcounter&url=" width=1 height=0>

</body>
</html>

Posted by 알 수 없는 사용자
,


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


<html>
<head>
<title></title>


</head>
<body bgcolor=black>



<LAYER NAME="a0" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffffff" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a1" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#fff000" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a2" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffa000" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a3" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ff00ff" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a4" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#00ff00" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a5" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FF00FF" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a6" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FF0000" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a7" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffffff" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a8" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#fff000" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a9" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffa000" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a10" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ff00ff" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a11" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#00ff00" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a12" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#0000ff" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a13" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FF0000" CLIP="0,0,3,3"></LAYER>


<script language="JavaScript">

/*
Magic Wand cursor (By Kurt at kurt.grigg@virgin.net)
Modified and permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

if (document.all){
with (document){
write('<div id="starsDiv" style="position:absolute;top:0px;left:0px">')
write('<div style="position:relative;width:1px;height:1px;background:#ffffff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#00ff00;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#fff000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ffa000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#00ff00;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#0000ff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"></div>')
write('</div>')
}
}


var Clrs=new Array(6)
Clrs[0]='ff0000';
Clrs[1]='00ff00';
Clrs[2]='000aff';
Clrs[3]='ff00ff';
Clrs[4]='fff000';
Clrs[5]='fffff0';


if (document.layers)
{window.captureEvents(Event.MOUSEMOVE);}
var yBase = 200;
var xBase = 200;
var step;
var currStep = 0;
var Xpos = 1;
var Ypos = 1;

if (document.all)
{
  function MoveHandler(){
  Xpos = document.body.scrollLeft+event.x;
  Ypos = document.body.scrollTop+event.y;
  }
  document.onmousemove = MoveHandler;
}

else if (document.layers)
{
  function xMoveHandler(evnt){
  Xpos = evnt.pageX;
  Ypos = evnt.pageY;
  }
  window.onMouseMove = xMoveHandler;
}

function animateLogo() {
if (document.all)
{
 yBase = window.document.body.offsetHeight/4;
 xBase = window.document.body.offsetWidth/4;
}
else if (document.layers)
{
 yBase = window.innerHeight/4;
 xBase = window.innerWidth/4;
}

if (document.all)
{
 for ( i = 0 ; i < starsDiv.all.length ; i++ )
 {step=3;
  starsDiv.all[i].style.top = Ypos + yBase*Math.cos((currStep + i*4)/12)*Math.cos(0.7+currStep/200);
  starsDiv.all[i].style.left = Xpos + xBase*Math.sin((currStep + i*3)/10)*Math.sin(8.2+currStep/400);
  for (ai=0; ai < Clrs.length; ai++)
    {
     var c=Math.round(Math.random()*[ai]);
    }
    starsDiv.all[i].style.background=Clrs[c];
 }
}

else if (document.layers)
{
 for ( j = 0 ; j < 14 ; j++ ) //number of NS layers!
 {step = 4;
  var templayer="a"+j
  document.layers[templayer].top = Ypos + yBase*Math.sin((currStep + j*4)/12)*Math.cos(0.7+currStep/200);
  document.layers[templayer].left = Xpos + xBase*Math.sin((currStep + j*3)/10)*Math.sin(8.2+currStep/400);
  for (aj=0; aj < Clrs.length; aj++)
    {
     var c=Math.round(Math.random()*[aj]);
    }
    document.layers[templayer].bgColor=Clrs[c];
 }
}
currStep+= step;
setTimeout("animateLogo()", 10);
}
animateLogo();
// -->
</script>



<img src="/php/nalog/nalogd.php?counter=nlogcounter&url=" width=1 height=0>


</body>
</html>

Posted by 알 수 없는 사용자
,


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



<html>

<head>

<title></title>

</head>

<body bgcolor=black>
<table align=center><tr><td>
<!--Change following reflection image to your own-->
<img id="reflect" src="../img/opera.jpg"><br>
<script language="JavaScript1.2">

/*
Image reflection script (Submitted by Savio, savio_d_souza@hotmail.com)
Permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

function f1(){
setInterval("mdiv.filters.wave.phase+=10",100);
}

if (document.all){
document.write('<img id=mdiv src="'+document.all.reflect.src+'" style="filter:wave(strength=3,freq=3,phase=0,lightstrength=30)  blur() flipv()">')
window.onload=f1
}

</script>
</td></tr></table>


<img src="/php/nalog/nalogd.php?counter=nlogcounter&url=" width=1 height=0>

</body>

</html>

Posted by 알 수 없는 사용자
,

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


아래 banner3.gif 이미지대신 글자를 넣어두 됩니다.
테이블을 구성해서 멋지게 꾸미셔두 되구요.
var XX=20  :  X 좌표값이면 큰수 일수록 오른쪽으로 갑니다.
var xstep=1과 var delay_time=8; 요건 알맞게 수치를 조절하세요.
레이어가 움직이는 속도 관련 함수입니다.

<div id="point1" STYLE="position:absolute;visibility:visible;">
<img src=http://oxtag.com/html/img/banner3.gif>
</div>


<script LANGUAGE="JavaScript1.2">

var XX=20; // X position of the scrolling objects
var xstep=1;
var delay_time=8;

//Begin of the unchangable area, please do not modify this area
var YY=0;  
var ch=0;
var oh=0;
var yon=0;

var ns4=document.layers?1:0
var ie=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0

if(ie){
YY=document.body.clientHeight;
point1.style.top=YY;
}
else if (ns4){
YY=window.innerHeight;
document.point1.pageY=YY;
document.point1.visibility="hidden";
}
else if (ns6){
YY=window.innerHeight
document.getElementById('point1').style.top=YY
}


function reloc1()
{

if(yon==0){YY=YY-xstep;}
else{YY=YY+xstep;}
if (ie){
ch=document.body.clientHeight;
oh=point1.offsetHeight;
}
else if (ns4){
ch=window.innerHeight;
oh=document.point1.clip.height;
}
else if (ns6){
ch=window.innerHeight
oh=document.getElementById("point1").offsetHeight
}
                
if(YY<0){yon=1;YY=0;}
if(YY>=(ch-oh)){yon=0;YY=(ch-oh);}
if(ie){
point1.style.left=XX;
point1.style.top=YY+document.body.scrollTop;
}
else if (ns4){
document.point1.pageX=XX;
document.point1.pageY=YY+window.pageYOffset;
}
else if (ns6){
document.getElementById("point1").style.left=XX
document.getElementById("point1").style.top=YY+window.pageYOffset
}

}

function onad()
{
if(ns4)
document.point1.visibility="visible";
loopfunc();
}
function loopfunc()
{
reloc1();
setTimeout('loopfunc()',delay_time);
}

if (ie||ns4||ns6)
window.onload=onad

</script>

Posted by 알 수 없는 사용자
,
<SCRIPT language="JavaScript1.2">
<!--
/*
Cursor scroller script- By Dynamicdrive.com
For full source, Terms of service, and 100s DTHML scripts
Visit http://www.dynamicdrive.com
*/
//1) set message to display
var scroller_msg='태그피아에 오신걸 환영합니다. 즐거운 시간되세요!!!'
//2) set whether message should auto disappear after x seconds (0=perpetual).
//Note that double clicking page will also dismiss message
var dismissafter=0
var initialvisible=0
if (document.all)
document.write('<marquee id="curscroll" style="position:absolute;width:150px;border:1px solid black;font-size:14px;background-color:orange;visibility:hidden">'+scroller_msg+'</marquee>')
function followcursor(){
//move cursor function for IE
if (initialvisible==0){
curscroll.style.visibility="visible"
initialvisible=1
}
curscroll.style.left=document.body.scrollLeft+event.clientX+10
curscroll.style.top=document.body.scrollTop+event.clientY+10
}
function dismissmessage(){
curscroll.style.visibility="hidden"
}
if (document.all){
document.onmousemove=followcursor
document.ondblclick=dismissmessage
if (dismissafter!=0)
setTimeout("dismissmessage()",dismissafter*1000)
}
//-->
</SCRIPT>
Posted by 알 수 없는 사용자
,
<script language="JavaScript1.2">
<!--

/*
Typing Scroller
Submitted by bengaliboy00@hotmail.com (hp: http://www.angelfire.com/nt/bengaliboy/)
With modifications by Dynamicdrive.com
For full source code, usage terms, and 100s more scripts, visit http://dynamicdrive.com
*/

//Secify scroller contents
var line=new Array()
line[1]="This is an awsome script"
line[2]="It brings up the text you want..."
line[3]="One letter at a time"
line[4]="You can add and subtract lines as you like."
line[5]="It\'s very cool and easy to use"

//Specify font size for scoller
var ts_fontsize="16px"

//--Don't edit below this line

var longestmessage=1
for (i=2;i<line.length;i++){
if (line[i].length>line[longestmessage].length)
longestmessage=i
}

//Auto set scroller width
var tscroller_width=line[longestmessage].length

lines=line.length-1 //--Number of lines

//if IE 4+ or NS6
if (document.all||document.getElementById){
document.write('<form name="bannerform">')
document.write('<input type="text" name="banner" size="'+tscroller_width+'"')
document.write('  style="background-color: '+document.bgColor+'; color: '+document.body.text+'; font-family: verdana; font-size: '+ts_fontsize+'; font-weight:bold; border: medium none" onfocus="blur()">')
document.write('</form>')
}

temp=""
nextchar=-1;
nextline=1;
cursor="\\"
function animate(){
if (temp==line[nextline] & temp.length==line[nextline].length & nextline!=lines){
nextline++;
nextchar=-1;
document.bannerform.banner.value=temp;
temp="";
setTimeout("nextstep()",1000)}
else if (nextline==lines & temp==line[nextline] & temp.length==line[nextline].length){
nextline=1;
nextchar=-1;
document.bannerform.banner.value=temp;
temp="";
setTimeout("nextstep()",1000)}
else{
nextstep()}}

function nextstep(){

if (cursor=="\\"){
cursor="|"}
else if (cursor=="|"){
cursor="/"}
else if (cursor=="/"){
cursor="-"}
else if (cursor=="-"){
cursor="\\"}


nextchar++;
temp+=line[nextline].charAt(nextchar);
document.bannerform.banner.value=temp+cursor
setTimeout("animate()",25)}

//if IE 4+ or NS6
if (document.all||document.getElementById)
window.onload=animate
// -->
</script>
Posted by 알 수 없는 사용자
,
<script language="JavaScript1.2">

/*
Cross browser marquee script-
?Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/


//Specify the marquee's width (in pixels)
var marqueewidth=330
//Specify the marquee's height (in pixels, pertains only to NS)
var marqueeheight=20
//Specify the marquee's scroll speed (larger is faster)
var speed=6
//Specify the marquee contents
var marqueecontents='<font face="Arial"><strong><big>Thank you for visiting <a href="http://oxtag.wo.to">TAGPIA.</a> If you find this script useful, please consider linking to us by <a href="http://oxtag.wo.to">click here.</a> Enjoy your stay!</big></strong></font>'

if (document.all)
document.write('<marquee scrollAmount='+speed+' style="width:'+marqueewidth+'">'+marqueecontents+'</marquee>')

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
setTimeout("window.onresize=regenerate",450)
intializemarquee()
}
}

function intializemarquee(){
document.cmarquee01.document.cmarquee02.document.write('<nobr>'+marqueecontents+'</nobr>')
document.cmarquee01.document.cmarquee02.document.close()
thelength=document.cmarquee01.document.cmarquee02.document.width
scrollit()
}

function scrollit(){
if (document.cmarquee01.document.cmarquee02.left>=thelength*(-1)){
document.cmarquee01.document.cmarquee02.left-=speed
setTimeout("scrollit()",100)
}
else{
document.cmarquee01.document.cmarquee02.left=marqueewidth
scrollit()
}
}

window.onload=regenerate2
</script>


<ilayer width=&{marqueewidth}; height=&{marqueeheight}; name="cmarquee01">
<layer name="cmarquee02"></layer>
</ilayer>
Posted by 알 수 없는 사용자
,
태그연습장에서 실행해보세요.
<script language="JavaScript1.2">
/*
Ticker Tape script-
?Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
//configure tickercontents[] to set the messges you wish be displayed (HTML codes accepted)
var tickercontents=new Array()
tickercontents[0]='태그피아로 오세요. 사람 냄새가 나는 곳.<a href="http://oxtag.wo.to">[http://oxtag.wo.to]</a>'
tickercontents[1]='소스천국 OXTAG.WO.TO 가면 뭔가 좋은 일이 있다.<a href="http://oxtag.com">[태그피아]</a>'
tickercontents[2]='태그 강자를 꿈꾸며 모두모두 오셔서 즐거운 시간 되세요!!! <a href="http://oxtag.wo.to">[Click Here]</a>'
//configure the below 2 variables to set the width/background color of the ticker
var tickerwidth='25%'
var tickerbgcolor='lightblue'
//configure the below variable to determine the delay between ticking of messages (in miliseconds
var tickdelay=3000
////Do not edit pass this line////////////////
var currentmessage=0
function changetickercontent(){
if (document.layers){
document.tickernsmain.document.tickernssub.document.write(tickercontents[currentmessage])
document.tickernsmain.document.tickernssub.document.close()
}
else if (document.all)
tickerie.innerHTML=tickercontents[currentmessage]

if (currentmessage==tickercontents.length-1) currentmessage=0
else currentmessage++
setTimeout("changetickercontent()",tickdelay)
}
function start_ticking(){
if (document.layers)
document.tickernsmain.visibility="show"
changetickercontent()
}
if (document.all)
document.write('<div id="tickerie" style="width:'+tickerwidth+'; background-color:'+tickerbgcolor+'"></div>')
window.onload=start_ticking
</script>
<ilayer id="tickernsmain" width=&{tickerwidth}; bgColor=&{tickerbgcolor}; visibility=hide><layer id="tickernssub" width=&{tickerwidth}; left=0 top=0></layer></ilayer>
Posted by 알 수 없는 사용자
,

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

<!------- 3차원으로 돌아가는 텍스트 소스 시작 --------->
<script language="JavaScript">

Phrase="태그피아로가자!"

Balises=""

Taille=40;

Midx=250;

Decal=0.5;

Nb=Phrase.length;

y=-10000;

for (x=0;x<Nb;x++) {

Balises=Balises + '<DIV Id=L' + x + ' STYLE="position:absolute;top:20;left:0;font-family:돋움;font-weight:bold;z-index:0;width:100">' + Phrase.charAt(x) + '</DIV>'

}

document.write (Balises);

Time=window.setInterval("Alors()",10);

Alpha=5;

I_Alpha=0.05;

function Alors() {

Alpha=Alpha-I_Alpha;

for (x=0;x<Nb;x++) {

Alpha1=Alpha+Decal*x;

Cosine=Math.cos(Alpha1);

Ob=document.all("L"+x);

Ob.style.posLeft=Midx+170*Math.sin(Alpha1)+50;

Ob.style.zIndex=20*Cosine;

Ob.style.fontSize=Taille+25*Cosine;

Ob.style.color="rgb("+ (127+Cosine*80+50) + ","+ (127+Cosine*80+50) + ",0)";

}

}

</script>

Posted by 알 수 없는 사용자
,
head 부분에 삽입
<SCRIPT LANGUAGE="JavaScript">
<!--
var id,
pause=0,
position=0;
function banner() {
   var i,k,
   msg=document.form1.message.value;
   k=(50/msg.length)+1;
   for(i=0;i<=k;i++)
   msg+="-----"+msg; // 메시지가 한 번 스크롤된후, 다음 스크롤을 시작하기까지의
                     // 여백을 지정해 주는 부분이다.
   document.form1.banner.value=msg.substring(position,position+50);
   if(position++==document.form1.message.value.length)
position=0;
   id=setTimeout("banner()",
   1000/document.form1.speed.value);
   }
//-->
</SCRIPT>

body 부분에 삽입
//파란색 글자부분은 페이지가 로딩되면서, 메시지 스크롤 자바스크립트가
// 자동으로 실행되도록하기위해서 지정해 주어야 한다.
<BODY bgcolor="#ffffff" onLoad="banner()">
<FORM name="form1">
// 입력폼안에서 스크롤할 메시지를 지정하는 부분입니다.
<INPUT type="hidden" name="message"
value="태그의 최강자를 꿈꾸며, 태그피아에 오신걸 환영합니다.">
<INPUT type="hidden" name="speed" VALUE="5">  // 스크롤 속도를 지정하는 부분
<INPUT type="text" name="banner"  SIZE="28">  // 입력폼의 크기(컬럼수)를 지정하는 부분
</FORM>
Posted by 알 수 없는 사용자
,
head 부분에 삽입  
<title>scroll</title>
<META HTTP-EQUIV="refresh" CONTENT="50; url=main3.htm">
<SCRIPT language=javascript>
var position = 0;
var endScroll = 500;
var scrollSpeed = 1;
function scroller() {
        if (position < endScroll && document.title == "scroll") {
                position+=scrollSpeed;
                scroll(0,position);
                clearTimeout(timer);
                var timer = setTimeout("scroller()",10); timer;
        }
}
</SCRIPT>
// 스크롤이 한 번 끝나면, 자동으로 갱신되서 다시 스크롤이 시작되도록하기 위해
// 메타태그를 사용하고 있다. 50은 문서가 브라우져에 로딩된 후 50초후에 갱신을 하라는
// 의미로, 스크롤 될 문서의 길이를 감안해서 알맞게 고쳐주면된다.
// 뒤에 지정된 url은 갱신하면서 로딩할 문서를 의미하는데, 같은 문서를 반복해서
// 로딩하게 하려면, 현재의 문서를 지정해 주면 되고, 다른 문서를 로딩하려면,
// 원하는 문서를 지정해 주면 된다.
// var scrollSpeed = 1 여긴 스크롤 속도를 지정해 주면 된다.
// head태그사이의 타이틀 제목(scroll)과 아래 빨간 글자 부분을 일치시켜 주어야 한다.

body부분에 삽입
<body onLoad="scroller()">
Posted by 알 수 없는 사용자
,