묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
꼭 좀 부탁드립니다. 정말 아시는분 가르쳐주세요....ㅠ.ㅠ(테두리색상안나오게)
2007.08.03 00:24
안녕하세요,,정말 정중히 부탁드립니다.
현재 홈페이지를 만들고있는데요,
자바스크립로 흐르는 이미지 소스를 찾아서 붙였는데,, 테두리 색깔이 파란으로 나옵니다. 테두리색상 나오지 않게 하려면 어떤부분을 고쳐야하는지 좀 알려주세요,부탁드립니다. 꼭 좀,,,
소스를 적용한 쇼핑몰
http://silkroad.elogin.co.kr
___________ 소스 ________________________
<SCRIPT language=javascript>
var SlideSpeed=2//슬라이드되는 속도(값이 높을수록 빠름)
var SlideColor="#ffffff"//배경색상(예제에서는 연파랑을 사용)
var SlideWidth=860//이미지 슬라이드의 너비
var SlideHeight=140//이미지 슬라이드의 높이
// 아래에서 나타날 이미지들을 설정하고 이미지를 클릭했을때의 하이퍼 링크 설정
var SlideImg=new Array()
var end='+ '+ ''
SlideImg[0]='<a href="http://lux-file.com/" target="_blank"><img src="http://silkroad.elogin.co.kr/prdimg/0707200401_R.jpg" width="130" height="130" border=1></a>'
SlideImg[1]='<a href="http://lux-file.com/shop/prd_list.php?page=2&catcode=330000&grp=&orderby=" target="_blank"><img src="http://lux-file.com/prdimg/0707210001_R.jpg" width="130" height="130" border=1></a>'
SlideImg[2]='<a href="http://lux-file.com/shop/prd_list.php?page=2&catcode=330000&grp=&orderby=" target="_blank"><img src="http://lux-file.com/prdimg/0707210009_R.jpg" width="130" height="130" border=1></a>'
SlideImg[3]='<a href="http://lux-file.com/shop/prd_list.php?catcode=280000" target="_blank"><img src="http://lux-file.com/prdimg/0707200093_R.jpg" width="130" height="130" border=1></a>'
SlideImg[4]='<a href="http://lux-file.com/shop/prd_list.php?catcode=110000" target="_blank"><img src="http://lux-file.com/prdimg/0707190039_R.jpg" width="130" height="130" border=1></a>'
SlideImg[5]='<a href="http://lux-file.com/shop/prd_list.php?catcode=120000" target="_blank"><img src="http://lux-file.com/prdimg/0707200111_R.jpg" width="130" height="130" border=1></a>'
SlideImg[6]='<a href="http://lux-file.com/shop/prd_list.php?catcode=300000" target="_blank"><img src="http://lux-file.com/prdimg/0707210056_R.jpg" width="130" height="130" border=1></a>'
SlideImg[7]='<a href="http://lux-file.com/shop/prd_list.php?catcode=350000" target="_blank"><img src="http://lux-file.com/prdimg/0707300005_R.jpg" width="130" height="130" border=1></a>'
SlideImg[8]='<a href="http://lux-file.com/shop/prd_list.php?catcode=370000" target="_blank"><img src="http://lux-file.com/prdimg/0707310031_R.jpg" width="130" height="130" border=1></a>'
SlideImg[9]='<a href="http://lux-file.com/shop/prd_list.php?catcode=360000" target="_blank"><img src="http://lux-file.com/prdimg/0707310009_R.jpg" width="130" height="130" border=1></a>'
//여기까지 나타날 이미지들을 설정하고 이미지를 클릭했을때의 하이퍼 링크 설정
var CloneSpeed=SlideSpeed
SlideImg='<nobr>'+SlideImg.join("")+'</nobr>'
var What=document.all||document.getElementById
if (What)
document.write('<span id="molla" style="visibility:hidden;position:absolute;top:-100;right:1000">'+SlideImg+'</span>')
var realWidth=''
var SlideX, SlideY
function fillup(){
if (What){
SlideX=document.getElementById? document.getElementById("layerOne") : document.all.layerOne
SlideX2=document.getElementById? document.getElementById("layerTwe") : document.all.layerTwe
SlideX.innerHTML=SlideX2.innerHTML=SlideImg
realWidth=document.all? SlideX.offsetWidth : document.getElementById("molla").offsetWidth
SlideX2.style.right=realWidth+20
}
else if (document.layers){
SlideY=document.sliding.document.sliding2
SlideY2=document.sliding.document.sliding3
SlideY.document.write(SlideImg)
SlideY.document.close()
realWidth=SlideY.document.width
SlideY2.right=realWidth+20
SlideY2.document.write(SlideImg)
SlideY2.document.close()
}
righttime=setInterval("SlideRight()",25)
}
window.onload=fillup
function SlideRight(){
if (What){
if (parseInt(SlideX.style.right)>(realWidth*(-1)+8))
SlideX.style.right=parseInt(SlideX.style.right)-CloneSpeed
else
SlideX.style.right=parseInt(SlideX2.style.right)+realWidth+30
if (parseInt(SlideX2.style.right)>(realWidth*(-1)+8))
SlideX2.style.right=parseInt(SlideX2.style.right)-CloneSpeed
else
SlideX2.style.right=parseInt(SlideX.style.right)+realWidth+30
}
else if (document.layers){
if (SlideY.right>(realWidth*(-1)+8))
SlideY.right-=CloneSpeed
else
SlideY.right=SlideY2.right+realWidth+30
if (SlideY2.right>(realWidth*(-1)+8))
SlideY2.right-=CloneSpeed
else
SlideY2.right=SlideY.right+realWidth+30
}
}
if (What||document.layers){
with (document){
document.write('<table border="0"><td>')
if (What){
write('<div style="position:relative;width:'+SlideWidth+';height:'+SlideHeight+';overflow:hidden">')
write('<div style="position:absolute;width:'+SlideWidth+';height:'+SlideHeight+';background-color:'+SlideColor+'" onMouseover="CloneSpeed=0" onMouseout="CloneSpeed=SlideSpeed">')
write('<div id="layerOne" style="position:absolute;right:0;top:0"></div>')
write('<div id="layerTwe" style="position:absolute;right:-1000;top:0"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+SlideWidth+' height='+SlideHeight+' name="sliding" bgColor='+SlideColor+'>')
write('<layer name="sliding2" right=0 top=0 onMouseover="CloneSpeed=0" onMouseout="CloneSpeed=SlideSpeed"></layer>')
write('<layer name="sliding3" right=0 top=0 onMouseover="CloneSpeed=0" onMouseout="CloneSpeed=SlideSpeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}
</SCRIPT>
___________________ 소스 끝 _____________________________
위 소스를 적용했는데,, 다했는데,, 테두리 가 생깁니다.파란색으로,, 이것좀 안나오게 할수없나요?
정말 꼭 좀 부탁드리겠습니다.아시는분 있으시면, 가르쳐 주시면 감사하겠습니다.
현재 홈페이지를 만들고있는데요,
자바스크립로 흐르는 이미지 소스를 찾아서 붙였는데,, 테두리 색깔이 파란으로 나옵니다. 테두리색상 나오지 않게 하려면 어떤부분을 고쳐야하는지 좀 알려주세요,부탁드립니다. 꼭 좀,,,
소스를 적용한 쇼핑몰
http://silkroad.elogin.co.kr
___________ 소스 ________________________
<SCRIPT language=javascript>
var SlideSpeed=2//슬라이드되는 속도(값이 높을수록 빠름)
var SlideColor="#ffffff"//배경색상(예제에서는 연파랑을 사용)
var SlideWidth=860//이미지 슬라이드의 너비
var SlideHeight=140//이미지 슬라이드의 높이
// 아래에서 나타날 이미지들을 설정하고 이미지를 클릭했을때의 하이퍼 링크 설정
var SlideImg=new Array()
var end='+ '+ ''
SlideImg[0]='<a href="http://lux-file.com/" target="_blank"><img src="http://silkroad.elogin.co.kr/prdimg/0707200401_R.jpg" width="130" height="130" border=1></a>'
SlideImg[1]='<a href="http://lux-file.com/shop/prd_list.php?page=2&catcode=330000&grp=&orderby=" target="_blank"><img src="http://lux-file.com/prdimg/0707210001_R.jpg" width="130" height="130" border=1></a>'
SlideImg[2]='<a href="http://lux-file.com/shop/prd_list.php?page=2&catcode=330000&grp=&orderby=" target="_blank"><img src="http://lux-file.com/prdimg/0707210009_R.jpg" width="130" height="130" border=1></a>'
SlideImg[3]='<a href="http://lux-file.com/shop/prd_list.php?catcode=280000" target="_blank"><img src="http://lux-file.com/prdimg/0707200093_R.jpg" width="130" height="130" border=1></a>'
SlideImg[4]='<a href="http://lux-file.com/shop/prd_list.php?catcode=110000" target="_blank"><img src="http://lux-file.com/prdimg/0707190039_R.jpg" width="130" height="130" border=1></a>'
SlideImg[5]='<a href="http://lux-file.com/shop/prd_list.php?catcode=120000" target="_blank"><img src="http://lux-file.com/prdimg/0707200111_R.jpg" width="130" height="130" border=1></a>'
SlideImg[6]='<a href="http://lux-file.com/shop/prd_list.php?catcode=300000" target="_blank"><img src="http://lux-file.com/prdimg/0707210056_R.jpg" width="130" height="130" border=1></a>'
SlideImg[7]='<a href="http://lux-file.com/shop/prd_list.php?catcode=350000" target="_blank"><img src="http://lux-file.com/prdimg/0707300005_R.jpg" width="130" height="130" border=1></a>'
SlideImg[8]='<a href="http://lux-file.com/shop/prd_list.php?catcode=370000" target="_blank"><img src="http://lux-file.com/prdimg/0707310031_R.jpg" width="130" height="130" border=1></a>'
SlideImg[9]='<a href="http://lux-file.com/shop/prd_list.php?catcode=360000" target="_blank"><img src="http://lux-file.com/prdimg/0707310009_R.jpg" width="130" height="130" border=1></a>'
//여기까지 나타날 이미지들을 설정하고 이미지를 클릭했을때의 하이퍼 링크 설정
var CloneSpeed=SlideSpeed
SlideImg='<nobr>'+SlideImg.join("")+'</nobr>'
var What=document.all||document.getElementById
if (What)
document.write('<span id="molla" style="visibility:hidden;position:absolute;top:-100;right:1000">'+SlideImg+'</span>')
var realWidth=''
var SlideX, SlideY
function fillup(){
if (What){
SlideX=document.getElementById? document.getElementById("layerOne") : document.all.layerOne
SlideX2=document.getElementById? document.getElementById("layerTwe") : document.all.layerTwe
SlideX.innerHTML=SlideX2.innerHTML=SlideImg
realWidth=document.all? SlideX.offsetWidth : document.getElementById("molla").offsetWidth
SlideX2.style.right=realWidth+20
}
else if (document.layers){
SlideY=document.sliding.document.sliding2
SlideY2=document.sliding.document.sliding3
SlideY.document.write(SlideImg)
SlideY.document.close()
realWidth=SlideY.document.width
SlideY2.right=realWidth+20
SlideY2.document.write(SlideImg)
SlideY2.document.close()
}
righttime=setInterval("SlideRight()",25)
}
window.onload=fillup
function SlideRight(){
if (What){
if (parseInt(SlideX.style.right)>(realWidth*(-1)+8))
SlideX.style.right=parseInt(SlideX.style.right)-CloneSpeed
else
SlideX.style.right=parseInt(SlideX2.style.right)+realWidth+30
if (parseInt(SlideX2.style.right)>(realWidth*(-1)+8))
SlideX2.style.right=parseInt(SlideX2.style.right)-CloneSpeed
else
SlideX2.style.right=parseInt(SlideX.style.right)+realWidth+30
}
else if (document.layers){
if (SlideY.right>(realWidth*(-1)+8))
SlideY.right-=CloneSpeed
else
SlideY.right=SlideY2.right+realWidth+30
if (SlideY2.right>(realWidth*(-1)+8))
SlideY2.right-=CloneSpeed
else
SlideY2.right=SlideY.right+realWidth+30
}
}
if (What||document.layers){
with (document){
document.write('<table border="0"><td>')
if (What){
write('<div style="position:relative;width:'+SlideWidth+';height:'+SlideHeight+';overflow:hidden">')
write('<div style="position:absolute;width:'+SlideWidth+';height:'+SlideHeight+';background-color:'+SlideColor+'" onMouseover="CloneSpeed=0" onMouseout="CloneSpeed=SlideSpeed">')
write('<div id="layerOne" style="position:absolute;right:0;top:0"></div>')
write('<div id="layerTwe" style="position:absolute;right:-1000;top:0"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+SlideWidth+' height='+SlideHeight+' name="sliding" bgColor='+SlideColor+'>')
write('<layer name="sliding2" right=0 top=0 onMouseover="CloneSpeed=0" onMouseout="CloneSpeed=SlideSpeed"></layer>')
write('<layer name="sliding3" right=0 top=0 onMouseover="CloneSpeed=0" onMouseout="CloneSpeed=SlideSpeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}
</SCRIPT>
___________________ 소스 끝 _____________________________
위 소스를 적용했는데,, 다했는데,, 테두리 가 생깁니다.파란색으로,, 이것좀 안나오게 할수없나요?
정말 꼭 좀 부탁드리겠습니다.아시는분 있으시면, 가르쳐 주시면 감사하겠습니다.