묻고답하기

이 소스를 이용할려고하는데  좌우 폭을 레이어 줄여도 줄어들지 않고
스크롤바가 계속 생깁니다
아마 자바스크립트에서 숫자를 줄여야할것같은데
어는것인지 모를겠습니다
좌우폭을 줄이려고 합니다
소스는이것입니다 부탁드립니다^^
어떤게 어떤건지 자바는잘모를겠습니다
부탁드립니다^^

여기는 소스에 대해서 잘아시는 분이 많은것같아서...^^


우여백도 상관있으면 부탁드립니다
<HTML>
<HEAD>
<TITLE> JABA1009 ::: 플래쉬 같은 슬라이딩 메뉴 효과 </TITLE>
<!--1. 아래 스크립트를 HEAD 부분에 복사해 넣으세요. 없으면 그냥 두세요-->

<script>
<!-- Beginning of JavaScript -
var i_strength=0
var i_color=0
var max_strength=400

var shadowcolor=new Array() // 섀도우 색상을 배열로 담아서

shadowcolor[0]="FFFFFF"
shadowcolor[1]="EEEEEE"
shadowcolor[2]="DDDDDD"
shadowcolor[3]="CCCCCC"
shadowcolor[4]="BBBBBB"
shadowcolor[5]="AAAAAA"
shadowcolor[6]="999999"
shadowcolor[7]="888888"
shadowcolor[8]="777777"
shadowcolor[9]="666666"
shadowcolor[10]="555555"
shadowcolor[11]="444444"
shadowcolor[12]="333333"
shadowcolor[13]="222222"
shadowcolor[14]="111111"
shadowcolor[15]="000000"
shadowcolor[16]="000000"
shadowcolor[17]="000000"
shadowcolor[18]="000000"
shadowcolor[19]="000000"
shadowcolor[20]="000000"
shadowcolor[21]="000000"
shadowcolor[22]="000000"
shadowcolor[23]="000000"
shadowcolor[24]="000000"
var timer
var speed=20
var thisobj


function stopfilter(thisdiv){
   if (document.all) {
       i_strength=0
       i_color=0
       clearTimeout(timer)
               thisobj=thisdiv
       thisobj.style.filter=" "
   }
}


function startfilter(thisdiv){
   if (document.all) {
       i_strength=0
       i_color=0
       clearTimeout(timer)
               thisobj=thisdiv
       morefilter()
   }
}

function morefilter(){
   if (i_strength <=max_strength) {
               thisobj.style.filter="dropShadow(color="+shadowcolor[i_color]+", offx="+i_strength+",offy=0)"
       i_strength=i_strength+20
       i_color++
       timer = setTimeout("morefilter()",speed)
   }
   else {
       clearTimeout(timer)
       lessfilter()
   }
}

function lessfilter(){
   if (i_strength >=0) {
               thisobj.style.filter="dropShadow(color="+shadowcolor[i_color]+",offx="+i_strength+",offy=0)"
       i_strength=i_strength-20
       i_color--
       timer = setTimeout("lessfilter()",speed)
   }    
   else {
       clearTimeout(timer)
       makepause()
   }
}

function makepause(){
  timer = setTimeout("morefilter()",1000)
}

// - End of JavaScript - -->
</script>

<script language=javaScript>
var isNav = (navigator.appName.indexOf("Netscape")!=-1)

var colors = new   Array("FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF","F9F9F9","F1F1F1","E9E9E9","E1E1E1","D9D9D9","D1D1D1","C9C9C9","C1C1C1","B9B9B9","B1B1B1","A9A9A9","A1A1A1","999999","919191","898989","818181","797979","717171","696969","616161","  595959","515151","494949","414141","393939","313131","292929","212121","191919","111111","090909","000000")
var i = -37
var msg = 0

var linkto = new Array() // 링크시킬 제목들
linkto[0] = "Home"
linkto[1] = "Email me"
linkto[2] = "Hotmail"
linkto[3] = "Micosoft"
linkto[4] = "Jaba1009"
linkto[5] = "Lycos"
linkto[6] = "Ask"
linkto[7] = "Yahoo"
linkto[8] = "Excite"

function startStrobe(msgnum)
           {msg=msgnum
           strobeEffect(msg,-37)}

function strobeEffect(msgnum,i)
           {msg=msgnum
           if (i < 38)
                       {starttable = "<table width=200><td><center><font color=" + colors[Math.abs(i)] + " size=+2>"
                       endtable = "</font></a></center></td></table>"
                       fulltable = starttable + linkto[msg] + endtable
                       j = i + 1
                                   if(isNav)
                                               {document.object0.document.write(fulltable)
                                               document.object0.document.close()}
                                   else {object0.innerHTML = fulltable}
                       }
           else {return false}
           setTimeout("strobeEffect(msg,j)",20)
           }

</script>
          
<style type="text/css">
body {cursor:crosshair;}
.mi { text-decoration:none; color:#C299F9; font-size:9pt; cursor:hand; }
.ms { text-decoration:none; color:#FEE101; font-size:10px; display:none; }
.t { padding:5; }
.sl { text-decoration:none; color:#FEE101; }
.sl:hover { text-decoration:underline; color:#FFFFCC; }
//.ddt { padding:5; text-align:right; position:absolute; left:0; top:-20; width:130;}
// display: block
</style>

<script LANGUAGE="JavaScript">
<!--
//var d = (navigator.userAgent.indexOf("MSIE 5")>-1) ;

if (parent && parent.gal_main) parent.gal_main.location='online/?station=101';

var d =(parseInt(navigator.appVersion)>=4 && navigator.appName=="Microsoft Internet Explorer");

items=9 ;
fade_increment = new Array(items) ;
fade_present = new Array(items) ;
currentbranch=-1;

colordepth = new Array(10); // 변화시킬 색상 깊이
colordepth[0]="#707070";
colordepth[1]="#808080";
colordepth[2]="#909090";
colordepth[3]="#a0a0a0";
colordepth[4]="#b0b0b0";
colordepth[5]="#c0c0d0";
colordepth[6]="#d0d0d0";
colordepth[7]="#e0e0e0";
colordepth[8]="#f0f0f0";
colordepth[10]="#ffffff";
started=false ;
for (i=0;i<items;i++) {
           fade_increment[i]=0;
           fade_present[i]=0;
}

function s(item,statustext) {
           window.status=(statustext?statustext:' ');
       if (started && d) {            
                       var curr=item;
                       fade_increment[curr]=(statustext?40:-7);
           }
           return true;
}

function fadeloop() {
           rep="";
           for (i=0;i<fade_increment.length;i++) {
                       rep+=" "+fade_present[i];
                       fade_present[i]+=fade_increment[i] ;
                       if (fade_present[i]>=100) {
                                   fade_present[i]=100;
                                   fade_increment[i]=0;
                       }
                       else if (fade_present[i]<=0) {
                                   fade_present[i]=0;
                                   fade_increment[i]=0;
                       }
                       if (document.all['i'+i]) document.all['i'+i].style.color=colordepth[Math.round(fade_present[i]/10)];
           }
           setTimeout('fadeloop()',50) ;
}

function tog(b) {
           if (d) {
                       if (currentbranch==b) {
                                   document.all["s"+b].style.display='none';
                                   currentbranch=-1;                        
                       } else {
                                   if (currentbranch>-1) document.all["s"+currentbranch].style.display='none';
                                   document.all["s"+b].style.display='block';
                                   currentbranch=b;
                       }
           }
}

function positionitems() {
           for (a=0;a<items;a++) {
                       document.all["t"+a].style.top=a*10;
           }
}

function start() {
//            positionitems();
           started=true ;
           if (d) fadeloop() ;
}

//-->
</script>

<SCRIPT LANGUAGE="JavaScript">


<!-- Begin
function dropMenu() {
speed=1;  // 속도 조절
topdistance=100;
items=9;
y=-50;
ob=1;
if (navigator.appName == "Netscape") {
v=".top=",dS="document.",sD="";
}
else {
v=".pixelTop=",dS="",sD=".style";
  }
}
function scrollItems() {
if (ob<items+1) {
objectX="object"+ob; y+=10; eval(dS + objectX + sD + v + y);
if (y<topdistance) setTimeout("scrollItems()",speed);
else y=-50, topdistance+=40, ob+=1, setTimeout("scrollItems()",speed);
  }
}
// End -->
</SCRIPT>

</HEAD>

<BODY BGCOLOR="#000000" onLoad="dropMenu(), scrollItems(), start();">

<!--3. BODY 부분에 아래의 스크립트를 복사해 넣으세요-->

<center>

<div id="object0" style="position:absolute; visibility:show; left:0px; top:40px; z-index:2"></div>
<div id="object1" style="position:absolute; visibility:show; left:0px; top:-50px; z-index:2" onMouseOver="startfilter(this)" onMouseOut="stopfilter(this)">

<table border=0 width=150>
<td><center>
<div class=t id="t0"  onmouseover="return s(0,'Home')" onmouseout="return s(0)"><nobr><a href="http://www.jaba1009.pe.kr" class=mi id="i0" onmouseover="startStrobe(0)" target="main">Home</a></nobr></div>
</center></td>
</table>
</div>
<div id="object2" style="position:absolute; visibility:show; left:0px; top:-50px; z-index:2" onMouseOver="startfilter(this)" onMouseOut="stopfilter(this)">
<table border=0 width=150>
<td><center>
<div class=t id="t1"  onmouseover="return s(1,'Email me')" onmouseout="return s(1)"><nobr><a href="mailto:ehanulee@netian.com" class=mi id="i1" onmouseover="startStrobe(1)">Email me</a></nobr></div>
</center></td>
</table>
</div>
<div id="object3" style="position:absolute; visibility:show; left:0px; top:-50px; z-index:2" onMouseOver="startfilter(this)" onMouseOut="stopfilter(this)">
<table border=0 width=150>
<td><center>
<div class=t id="t2"  onmouseover="return s(2,'Check mail')" onmouseout="return s(2)"><nobr><a href="http://www.hanmail.net" class=mi id="i2" onmouseover="startStrobe(2)">HanMail</a></nobr></div>
</center></td></table>
</div>
<div id="object4" style="position:absolute; visibility:show; left:0px; top:-50px; z-index:2" onMouseOver="startfilter(this)" onMouseOut="stopfilter(this)">
<table border=0 width=150>
<td><center>
<div class=t id="t3"  onmouseover="return s(3,'Microsoft')" onmouseout="return s(3)"><nobr><a href="http://www.microsoft.com" class=mi id="i3" onmouseover="startStrobe(3)">Microsoft</a></nobr></div>
</center></td>
</table>
</div>
<div id="object5" style="position:absolute; visibility:show; left:0px; top:-50px; z-index:2" onMouseOver="startfilter(this)" onMouseOut="stopfilter(this)">
<table border=0 width=150>
<td><center>
<div class=t id="t4"  onmouseover="return s(4,'Javascripts')" onmouseout="return s(4)"><nobr><a href="http://www.jaba1009.pe.kr" class=mi id="i4" onmouseover="startStrobe(4)">Jaba1009</a></nobr></div>
</center></td>
</table>
</div>
<div id="object6" style="position:absolute; visibility:show; left:0px; top:-50px; z-index:2" onMouseOver="startfilter(this)" onMouseOut="stopfilter(this)">
<table border=0 width=150>
<td><center>
<div class=t id="t5"  onmouseover="return s(5,'Lycos')" onmouseout="return s(5)"><nobr><a href="http://www.lycos.co.kr" class=mi id="i5" onmouseover="startStrobe(5)">Lycos</a></nobr></div>
</center></td>
</table>
</div>
<div id="object7" style="position:absolute; visibility:show; left:0px; top:-50px; z-index:2" onMouseOver="startfilter(this)" onMouseOut="stopfilter(this)">
<table border=0 width=150>
<td><center>
<div class=t id="t6"  onmouseover="return s(6,'Ask')" onmouseout="return s(6)"><nobr><a href="http://www.yahoo.co.kr" class=mi id="i6" onmouseover="startStrobe(6)">Yahoo!</a></nobr></div>
</center></td>
</table>
</div>
<div id="object8" style="position:absolute; visibility:show; left:0px; top:-50px; z-index:2" onMouseOver="startfilter(this)" onMouseOut="stopfilter(this)">
<table border=0 width=150>
<td><center>
<div class=t id="t7"  onmouseover="return s(7,'Yahoo')" onmouseout="return s(7)"><nobr><a href="http://www.yahoo.co.jp" class=mi id="i7" onmouseover="startStrobe(7)">Yahoo! Japan</a></nobr></div>
</center></td>
</table>
</div>
<div id="object9" style="position:absolute; visibility:show; left:0px; top:-50px; z-index:2" onMouseOver="startfilter(this)" onMouseOut="stopfilter(this)">
<table border=0 width=150>
<td><center>
<div class=t id="t8"  onmouseover="return s(8,'Excite')" onmouseout="return s(8)"><nobr><a href="http://www.excite.com" class=mi id="i8" onmouseover="startStrobe(8)">Excite</a></nobr></div>
</center></td>
</table>
</div>
</center>

</BODY>
</HTML>
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
EZ0 [질문] nzeo 처럼 위에 심플모드 베스트 모드 바꾸는것을 어떻게 해야 하나요? [2] 2007.08.10
두기두바 헤더에 관해 알구싶은데.. 어서 배워야 하는지.. 또..  
김유진 게시판같은 곳에 그림을 함께 올릴려면 어떻게 해야 하나요? [2] 2007.08.10
젠더 노프레임 페이지에서 프레임나눈 페이지처럼.. [2] 2007.08.10
김션 [질문]크롬리스창을 자동으로 뜨게 할수 없나요? [1] 2007.08.10
두기두바 음.. 이런거 가능한가요? [2] 2007.08.10
TryZ addslashes(); 함수 사용시... [1] 2007.08.10
조은일 지워진 그룹 (번호만)되살리는 방법..  
맹꽁이 도와주세요 [1] 2007.08.10
witch 슬라이드메뉴 관련 질문. [2] 2007.08.10
[폐]허접-_- JSP 와 MySQL 질문입니다. [2] 2007.08.10
김혜영 다른 프레임을 제어하려면..(마우스오버 잘아시는분..) [1] 2007.08.10
Naple [PHP] 세션 관련 질문 [2] 2007.08.10
Siny 이곳처럼 메뉴에 마우스 올리면 하위메뉴 나타나게 어케해여? [1] 2007.08.10
장성주 동아리 홈페이지를 만들려고 하는데요.... [3] 2007.08.10
오정호 이런 느낌의 그림은 어떻게 만드는 건가요? [3] 2007.08.10
oneside 파일 생성순으로 정렬 [1] 2007.08.10
이정환 왕초보 .. 저희 바코드클랜 게시판이 갑자기 ....  
플로나 질문입니다.부탁드립니다. [1] 2007.08.10
변해정 첨부파일을 새창으로 띄우기. [1] 2007.08.10
TryZ 객체 지향이 무언가요... [2] 2007.08.10
김명호 위의 링크사이트처럼 그림 올리면 자동으로 리사이즈 그림 게시판 만드려면... [1] 2007.08.10
김규완 이소스 분석부탁해도될까요^^꼭쓸려고 합니다 부탁^^  
Legend [re] 이소스 분석부탁해도될까요^^꼭쓸려고 합니다 부탁^^  
絶世美男 다른 사이트의 페이지를 인클루드로 다른 서버의 페이지에다가 적용시킬수가 있나요? [1] 2007.08.10
문효민 후음..매뉴가 멎대로 가는군요=_=;;  
레드엔젤 제발 도와주세요. [2] 2007.08.10
김동호 서버(계정) 사용량을 알고 싶을때는.... [1] 2007.08.10
Xynex:) 링크타겟을 잘 모르겠어요 (제로보드 최근게시물;) [1] 2007.08.10
윤태학 변수 설정에 대해서... [2] 2007.08.10