H
hazymind
Why does ASP don't support the ilayer element at the end of the code?
pls. help i can't figure this out?
<script language=javascript1.2>
/***********************************************
* Flexi Slideshow- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
var variableslide3=new Array()
variableslide3[0]=['images/qaed1.png', '', '']
variableslide3[1]=['images/qaed2.jpg', '', '']
variableslide3[2]=['images/qaed3.jpg', '', '']
variableslide3[3]=['images/qaed4.jpg', '', '']
variableslide3[4]=['images/qaed5.jpg', '', '']
variableslide3[5]=['images/qaed6.jpg', '', '']
variableslide3[6]=['images/qaed7.jpg', '', '']
var slidewidth3='130px'
var slideheight3='120px'
var slidebgcolor3='#FFFFFF'
var slidedelay3=2500
var ie3=document.all
var dom3=document.getElementById
for (i=0;i<variableslide3.length;i++){
var cacheimage3=new Image()
cacheimage3.src=variableslide3[0]
}
var currentslide3=0
function rotateimages3(){
contentcontainer3='<center>'
if (variableslide3[currentslide3][1]!="")
contentcontainer3+='<a href="'+variableslide3[currentslide3][1]+'">'
contentcontainer3+='<img src="'+variableslide3[currentslide3][0]+'"
border="0" vspace="3">'
if (variableslide3[currentslide3][1]!="")
contentcontainer3+='</a>'
contentcontainer3+='</center>'
if (variableslide3[currentslide3][2]!="")
contentcontainer3+=variableslide3[currentslide3][2]
if (document.layers){
crossrotateobj3.document.write(contentcontainer3)
crossrotateobj3.document.close()
}
else if (ie3||dom3)
crossrotateobj3.innerHTML=contentcontainer3
if (currentslide3==variableslide3.length-1) currentslide3=0
else currentslide3++
setTimeout("rotateimages3()",slidedelay3)
}
if (ie3||dom3)
document.write('<div id="slidedom3"
style="width:'+slidewidth3+';height:'+slideheight3+';
background-color:'+slidebgcolor3+'"></div>')
function start_slider(){
crossrotateobj3=dom3? document.getElementById("slidedom3") : ie3?
document.all.slidedom3 : document.slidensmain.document.slidenssub
if (document.layers)
document.slidensmain.visibility="show"
rotateimages3()
}
if (ie3||dom3)
start_slider()
else if (document.layers)
window.onload=start_slider
</script>
<!--end of code for QAED picture effect-->
<ilayer id="slidensmain" width=&{slidewidth3};
height=&{slideheight3}; bgColor=&{slidebgcolor3}; visibility=hide>
<layer id="slidenssub" width=&{slidewidth3}; left=0 top=0></layer>
</ilayer>
pls. help i can't figure this out?
<script language=javascript1.2>
/***********************************************
* Flexi Slideshow- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
var variableslide3=new Array()
variableslide3[0]=['images/qaed1.png', '', '']
variableslide3[1]=['images/qaed2.jpg', '', '']
variableslide3[2]=['images/qaed3.jpg', '', '']
variableslide3[3]=['images/qaed4.jpg', '', '']
variableslide3[4]=['images/qaed5.jpg', '', '']
variableslide3[5]=['images/qaed6.jpg', '', '']
variableslide3[6]=['images/qaed7.jpg', '', '']
var slidewidth3='130px'
var slideheight3='120px'
var slidebgcolor3='#FFFFFF'
var slidedelay3=2500
var ie3=document.all
var dom3=document.getElementById
for (i=0;i<variableslide3.length;i++){
var cacheimage3=new Image()
cacheimage3.src=variableslide3[0]
}
var currentslide3=0
function rotateimages3(){
contentcontainer3='<center>'
if (variableslide3[currentslide3][1]!="")
contentcontainer3+='<a href="'+variableslide3[currentslide3][1]+'">'
contentcontainer3+='<img src="'+variableslide3[currentslide3][0]+'"
border="0" vspace="3">'
if (variableslide3[currentslide3][1]!="")
contentcontainer3+='</a>'
contentcontainer3+='</center>'
if (variableslide3[currentslide3][2]!="")
contentcontainer3+=variableslide3[currentslide3][2]
if (document.layers){
crossrotateobj3.document.write(contentcontainer3)
crossrotateobj3.document.close()
}
else if (ie3||dom3)
crossrotateobj3.innerHTML=contentcontainer3
if (currentslide3==variableslide3.length-1) currentslide3=0
else currentslide3++
setTimeout("rotateimages3()",slidedelay3)
}
if (ie3||dom3)
document.write('<div id="slidedom3"
style="width:'+slidewidth3+';height:'+slideheight3+';
background-color:'+slidebgcolor3+'"></div>')
function start_slider(){
crossrotateobj3=dom3? document.getElementById("slidedom3") : ie3?
document.all.slidedom3 : document.slidensmain.document.slidenssub
if (document.layers)
document.slidensmain.visibility="show"
rotateimages3()
}
if (ie3||dom3)
start_slider()
else if (document.layers)
window.onload=start_slider
</script>
<!--end of code for QAED picture effect-->
<ilayer id="slidensmain" width=&{slidewidth3};
height=&{slideheight3}; bgColor=&{slidebgcolor3}; visibility=hide>
<layer id="slidenssub" width=&{slidewidth3}; left=0 top=0></layer>
</ilayer>