묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
이미지슬라이드 소스를 이미지 랩으로 바꾸고 싶은데요...
2006.07.21 09:42
소스
<html>
<head>
</head>
<title>test</title>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<br>
<script language="JavaScript">
<!--
var max=0;
function textlist()
{
max=textlist.arguments.length; for (i=0; i<max; i++) this[i]=textlist.arguments[i];
}
tl=new textlist
(
// 원하는 메세지
" 이것좀 고쳐 주세요~~~*"
);
var x=0; pos=0;
var l=tl[0].length;
function textticker()
{
document.tickform.tickfield.value=tl[x].substring(0,pos)+"_";
if(pos++==l)
{
pos=0;
setTimeout("textticker()",1000);
x++;
if(x==max)
x=0;
l=tl[x].length;
} else
setTimeout("textticker()",50);
}
//-->
<!--
document.write("<center><FORM NAME="tickform">");
document.write("<INPUT TYPE="TEXT" NAME="tickfield" SIZE="80">"); // 사이즈
document.write("</FORM></center>");
textticker();
//-->
</script>
<!--~===================================== END script =======================================================~-->
<script language="JavaScript1.2">
<!--
/*
Conveyor belt slideshow 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 slider's width (in pixels)
var sliderwidth=700
//Specify the slider's height (in pixels, pertains only to NS)
var sliderheight=145
//Specify the slider's scroll speed (larger is faster)
var slidespeed=5
//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<a href="#"><img src="P10.jpg" width="400" height="300" border=0></a>'
leftrightslide[1]='<a href="#"><img src="P11.jpg" width="400" height="300" border=0></a>'+ '+ '
leftrightslide[2]='<a href="#"><img src="p12.jpg" width="400" height="300" border=0></a>'
leftrightslide[3]='<a href="#"><img src="p13.jpg" width="400" height="300" border=0></a>'
leftrightslide[4]='<a href="#"><img src="p14.jpg" width="400" height="300" border=0></a>'
///////do NOT edit pass this line////////////////////////////////////
var copyspeed=slidespeed
//copy contents of leftrightslide into one variable
for (i=0;i<leftrightslide.length;i++)
finalslide=finalslide+leftrightslide[i]+" "
if (document.all){
//dynamically write out the marquee tag
document.write('<marquee id="ieslider" scrollAmount=0 style="width:'+sliderwidth+'">'+finalslide+'</marquee>')
//stop marquee when mouse is over it
ieslider.onmouseover=new Function("ieslider.scrollAmount=0")
//re-enable marquee when mouse is out
ieslider.onmouseout=new Function("if (document.readyState=='complete') ieslider.scrollAmount=slidespeed")
}
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
document.ns_slider01.visibility="show"
setTimeout("window.onresize=regenerate",450)
intializeleftrightslide()
}
if (document.all)
ieslider.scrollAmount=slidespeed
}
//NS specific function for initializing slider upon page load
function intializeleftrightslide(){
document.ns_slider01.document.ns_slider02.document.write('<nobr>'+finalslide+'</nobr>')
document. ns_slider01.document.ns_slider02.document.close()
thelength=document.ns_slider01.document.ns_slider02.document.width
scrollslide()
}
//NS specific function for sliding slideshow
function scrollslide(){
if (document.ns_slider01.document.ns_slider02.left>=thelength*(-1)){
document.ns_slider01.document.ns_slider02.left-=slidespeed
setTimeout("scrollslide()",100)
}
else{
document.ns_slider01.document.ns_slider02.left=sliderwidth
scrollslide()
}
}
window.onload=regenerate2
//-->
</script>
</font><font color="#000000"><ilayer width=&{sliderwidth}; height=&{sliderheight}; name="ns_slider01" visibility=hide>
<!--~============ LAYER ============~-->
</font><layer name="ns_slider02" onMouseover="slidespeed=0;" onMouseout="slidespeed=copyspeed" id="layer1" left="50" top="50" width="200" height="200" z-index="1">
<p> </p>
</layer>
<p><!--~========== END LAYER ==========~-->
</ilayer>
<div ALIGN="right">
</div>
</body>
</html>
이소스중에서 이미지슬라이드를 지우고 이미지랩으로 바꿔도 스크립트가 안먹히고 이미지가 아애 안나오더라고요
누가 바꿔주실분 없나요? ㅠㅠ
<html>
<head>
</head>
<title>test</title>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<br>
<script language="JavaScript">
<!--
var max=0;
function textlist()
{
max=textlist.arguments.length; for (i=0; i<max; i++) this[i]=textlist.arguments[i];
}
tl=new textlist
(
// 원하는 메세지
" 이것좀 고쳐 주세요~~~*"
);
var x=0; pos=0;
var l=tl[0].length;
function textticker()
{
document.tickform.tickfield.value=tl[x].substring(0,pos)+"_";
if(pos++==l)
{
pos=0;
setTimeout("textticker()",1000);
x++;
if(x==max)
x=0;
l=tl[x].length;
} else
setTimeout("textticker()",50);
}
//-->
<!--
document.write("<center><FORM NAME="tickform">");
document.write("<INPUT TYPE="TEXT" NAME="tickfield" SIZE="80">"); // 사이즈
document.write("</FORM></center>");
textticker();
//-->
</script>
<!--~===================================== END script =======================================================~-->
<script language="JavaScript1.2">
<!--
/*
Conveyor belt slideshow 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 slider's width (in pixels)
var sliderwidth=700
//Specify the slider's height (in pixels, pertains only to NS)
var sliderheight=145
//Specify the slider's scroll speed (larger is faster)
var slidespeed=5
//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<a href="#"><img src="P10.jpg" width="400" height="300" border=0></a>'
leftrightslide[1]='<a href="#"><img src="P11.jpg" width="400" height="300" border=0></a>'+ '+ '
leftrightslide[2]='<a href="#"><img src="p12.jpg" width="400" height="300" border=0></a>'
leftrightslide[3]='<a href="#"><img src="p13.jpg" width="400" height="300" border=0></a>'
leftrightslide[4]='<a href="#"><img src="p14.jpg" width="400" height="300" border=0></a>'
///////do NOT edit pass this line////////////////////////////////////
var copyspeed=slidespeed
//copy contents of leftrightslide into one variable
for (i=0;i<leftrightslide.length;i++)
finalslide=finalslide+leftrightslide[i]+" "
if (document.all){
//dynamically write out the marquee tag
document.write('<marquee id="ieslider" scrollAmount=0 style="width:'+sliderwidth+'">'+finalslide+'</marquee>')
//stop marquee when mouse is over it
ieslider.onmouseover=new Function("ieslider.scrollAmount=0")
//re-enable marquee when mouse is out
ieslider.onmouseout=new Function("if (document.readyState=='complete') ieslider.scrollAmount=slidespeed")
}
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
document.ns_slider01.visibility="show"
setTimeout("window.onresize=regenerate",450)
intializeleftrightslide()
}
if (document.all)
ieslider.scrollAmount=slidespeed
}
//NS specific function for initializing slider upon page load
function intializeleftrightslide(){
document.ns_slider01.document.ns_slider02.document.write('<nobr>'+finalslide+'</nobr>')
document. ns_slider01.document.ns_slider02.document.close()
thelength=document.ns_slider01.document.ns_slider02.document.width
scrollslide()
}
//NS specific function for sliding slideshow
function scrollslide(){
if (document.ns_slider01.document.ns_slider02.left>=thelength*(-1)){
document.ns_slider01.document.ns_slider02.left-=slidespeed
setTimeout("scrollslide()",100)
}
else{
document.ns_slider01.document.ns_slider02.left=sliderwidth
scrollslide()
}
}
window.onload=regenerate2
//-->
</script>
</font><font color="#000000"><ilayer width=&{sliderwidth}; height=&{sliderheight}; name="ns_slider01" visibility=hide>
<!--~============ LAYER ============~-->
</font><layer name="ns_slider02" onMouseover="slidespeed=0;" onMouseout="slidespeed=copyspeed" id="layer1" left="50" top="50" width="200" height="200" z-index="1">
<p> </p>
</layer>
<p><!--~========== END LAYER ==========~-->
</ilayer>
<div ALIGN="right">
</div>
</body>
</html>
이소스중에서 이미지슬라이드를 지우고 이미지랩으로 바꿔도 스크립트가 안먹히고 이미지가 아애 안나오더라고요
누가 바꿔주실분 없나요? ㅠㅠ