스크립트 내용은 아래와 같습니다. 첨부파일로 올려놓을께여~ 필요한분들 참고해서 사용하세요~~ ^^ ----------------- <script type="text/javascript"> /////////////////////////////////// // 슬라이더 설정 시작 /////////////////////////////////// //슬라이더 넓이 var sliderwidth="250px" //슬라이더 높이 var sliderheight="65px" //슬라이더 속도 (숫자사용) 큰숫자일수록 빠름 ( 1 - 10) var slidespeed=1 //슬라이더 배경색상 slidebgcolor="#ffffff" var leftrightslide=new Array() var finalslide='29' //링크 이미지 등록 시작
/////////////////////////////////// // 슬라이더 설정 끝 /////////////////////////////////// var copyspeed=slidespeed leftrightslide='<nobr>'+leftrightslide.join(imagegap)+'</nobr>' var iedom=document.all||document.getElementById if (iedom) document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9800px">'+leftrightslide+'</span>') var actualwidth='' var cross_slide, ns_slide
function slideleft() { if (iedom) { if (parseInt(cross_slide.style.left)>(actualwidth*(-1)+8)) cross_slide.style.left=parseInt(cross_slide.style.left)-copyspeed+"px" else cross_slide.style.left=parseInt(cross_slide2.style.left)+actualwidth+slideshowgap+"px"
if (parseInt(cross_slide2.style.left)>(actualwidth*(-1)+8)) cross_slide2.style.left=parseInt(cross_slide2.style.left)-copyspeed+"px" else cross_slide2.style.left=parseInt(cross_slide.style.left)+actualwidth+slideshowgap+"px" } else if (document.layers) { if (ns_slide.left>(actualwidth*(-1)+8)) ns_slide.left-=copyspeed else ns_slide.left=ns_slide2.left+actualwidth+slideshowgap
if (ns_slide2.left>(actualwidth*(-1)+8)) ns_slide2.left-=copyspeed else ns_slide2.left=ns_slide.left+actualwidth+slideshowgap } }