1) Script Title: Ultimate Fade-in slideshow (v1.51)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm

3) Describe problem: I have a css flyout menu that uses a semi-transparent png background which works fine until I add the javascript. When I do add it the menu background becomes almost completely transparent instead of nearly solid. Is this a common problem (I searched but no luck), is there a fix? It works in FF, not IE7.

Sincerely, CptObv

Code:
#leftColNav li {
    font-size: 11px;
    line-height: 2.8em;
}
#leftColNav .level3 {
    border-left: 1px solid #c2c2c2;
}

#leftColNav li ul {
    background: url(../rv4_images/drop_down_bg.png);
    border: 1px solid #b6b6b6;
    border-top: none;
    visibility:hidden;
    padding: 0;
    width: 148px;
}
#leftColNav li ul li {
    background: none;
    border: none;
    display: block;
    font-size: 0.9em;
    height: auto;
    line-height: 2.6em;
    padding: 0;
}



#leftColNav .level4 {
    background: #fff;
    border-top: 1px solid #c2c2c2;
    padding: 10px 0;
}
#leftColNav .level4 a {
    font-weight: normal;
    line-height: 15px;
}
#leftColNav .level4 a:hover {
    background: none;
    color: #3d3d3d;
}
#leftColNav li a.current {
    background: #4e4e4e;
    color: #fff;
}
#leftColNav li a.current:hover {
    background: #4e4e4e;
    color: #fff;
}
#leftColNav li a.subNav {
    background: #f7f7f7;
    font-weight: normal;
    border-top: 1px solid #c2c2c2;
}
#leftColNav li a.subNav:hover {
    background: #f7f7f7;
    color: #3d3d3d;
}
#leftColNav li#last {
    border-bottom: 1px solid #939393;
    margin: 0.2em 5px 0;
}
#leftColNav li#sections {
    background: #a1a1a1;
    font-weight: bold;
    padding: 0 10px;
}
#leftColNav li a {
    display: block;
    padding: 0 10px;
   
}
#leftColNav li a:hover {
    background-color: #b4b4b4;
    color: #7b8738;
}



#leftColNav li:hover ul{
     left:196px; top:-31px; position:relative; visibility:visible !important
    }

#leftColNav li:focus ul{
     left:196px; top:-31px; position:relative; visibility:visible !important
    }

-------


/***********************************************
* Ultimate Fade-In Slideshow (v1.51): © Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

var arrJpgs=new Array()
arrJpgs[0]=["SLEP_Pictures/Staff_Ride_218.JPG", "", ""]  
arrJpgs[1]=["SLEP_Pictures/McKinseyandCompanySLSRGettysburg 65.jpg", "", ""] 
arrJpgs[2]=["SLEP_Pictures/CNM_3708.JPG", "", ""] 
arrJpgs[3]=["SLEP_Pictures/WendtAssocStaff Ride_115.JPG", "", ""] 
arrJpgs[4]=["SLEP_Pictures/DeloitteGettysburgStaffRide076.JPG", "", ""] 

var arrJpgs2dFlr=new Array()
arrJpgs2dFlr[0]=["rv4_images/2dFlr1.bmp", "", ""]  
arrJpgs2dFlr[1]=["rv4_images/2dFlr2.bmp", "", ""] 

var arrJpgsNormandy=new Array()
arrJpgsNormandy[0]=["rv4_images/Normandy4.bmp", "", ""]  
arrJpgsNormandy[1]=["rv4_images/Normandy3.bmp", "", ""] 

var arrJpgs1029=new Array()
arrJpgs1029[0]=["rv4_images/1029_3.jpg", "", ""]  
arrJpgs1029[1]=["rv4_images/1029_1.bmp", "", ""] 
arrJpgs1029[2]=["rv4_images/1029_2.jpg", "", ""] 

var arrJpgsStLo=new Array()
arrJpgsStLo[0]=["rv4_images/StLo.bmp", "", ""]  
arrJpgsStLo[1]=["rv4_images/st_lo2.jpg", "", ""] 

var arrJpgsCSLHis1=new Array()
arrJpgsCSLHis1[0]=["rv4_images/history1.png", "", ""]  
arrJpgsCSLHis1[1]=["rv4_images/history2.png", "", ""] 
arrJpgsCSLHis1[2]=["rv4_images/history3.png", "", ""] 

var arrJpgsCSLHis2=new Array()
arrJpgsCSLHis2[0]=["rv4_images/JCBust.jpg", "", ""]  
arrJpgsCSLHis2[1]=["rv4_images/collins.jpg", "", ""] 

arrJpgsJlass=new Array ()
arrJpgsJlass[0]=["rv4_images/Jlass8.jpg", "", ""]
arrJpgsJlass[1]=["rv4_images/Jlass2.jpg", "", ""]
arrJpgsJlass[2]=["rv4_images/Jlass7.jpg", "", ""]
arrJpgsJlass[3]=["rv4_images/Jlass5.jpg", "", ""]

arrJpgsUQ=new Array ()
arrJpgsUQ[0]=["rv4_images/uq1.gif", "", ""]
arrJpgsUQ[1]=["rv4_images/uq2.gif", "", ""]

arrJpgsSDME=new Array()
arrJpgsSDME[0]=["rv4_images/SDME/SDME1.jpg", "", ""]
arrJpgsSDME[1]=["rv4_images/SDME/SDME2.png", "", ""]
arrJpgsSDME[2]=["rv4_images/SDME/SDME3.jpg", "", ""]
arrJpgsSDME[3]=["rv4_images/SDME/SDME4.png", "", ""]
arrJpgsSDME[4]=["rv4_images/SDME/SDME5.jpg", "", ""]
arrJpgsSDME[5]=["rv4_images/SDME/SDME6.jpg", "", ""]


var fadebgcolor="grey"
 
var arrToRotate=new Array()
var fadeclear=new Array()
 
var dom=(document.getElementById)
var iebrowser=document.all
 
function rotateJpg(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck=pause
this.mouseovercheck=0
this.delay=delay
this.degree=10 
this.curimageindex=0
this.nextimageindex=1
arrToRotate[arrToRotate.length]=this
this.slideshowid=arrToRotate.length-1
this.canvasbase="canvas"+this.slideshowid
this.curcanvas=this.canvasbase+"_0"
this.theimages=theimages
this.imageborder=parseInt(borderwidth)
this.postimages=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages[p]=new Image()
this.postimages[p].src=theimages[p][0]
}
 
var fadewidth=fadewidth+this.imageborder*2
var fadeheight=fadeheight+this.imageborder*2
 
if (iebrowser&&dom||dom) 
document.write('<div id="master'+this.slideshowid+'" style="border:none;padding:none;position:relative;width:'+fadewidth+'%;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="border:none;padding:none;position:absolute;width:'+fadewidth+'%;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="border:none;padding:none;position:absolute;width:'+fadewidth+'%;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div></div>')
else
document.write('<div style="border:none;padding:none;" ><img style="border:none;padding:none;"   name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')
 
if (iebrowser&&dom||dom)
this.startit()
else{
this.curimageindex++
setInterval("arrToRotate["+this.slideshowid+"].rotateimage()", this.delay)
}
}

function fadepic(obj){
if (obj.degree<100){
obj.degree+=10
if (obj.tempobj.filters&&obj.tempobj.filters[0]){
if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+
obj.tempobj.filters[0].opacity=obj.degree
else //else if IE5.5-
obj.tempobj.style.filter="alpha(opacity="+obj.degree+")"
}
else if (obj.tempobj.style.MozOpacity)
obj.tempobj.style.MozOpacity=obj.degree/101
else if (obj.tempobj.style.KhtmlOpacity)
obj.tempobj.style.KhtmlOpacity=obj.degree/100
else if (obj.tempobj.style.opacity&&!obj.tempobj.filters)
obj.tempobj.style.opacity=obj.degree/101
}
else{
clearInterval(fadeclear[obj.slideshowid])
obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1"
obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
obj.populateslide(obj.tempobj, obj.nextimageindex)
obj.nextimageindex=(obj.nextimageindex<obj.postimages.length-1)? obj.nextimageindex+1 : 0
setTimeout("arrToRotate["+obj.slideshowid+"].rotateimage()", obj.delay)
}
}
 
rotateJpg.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="")
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img height="100%" width="100%" style="border:none"  src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="")
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}
 
 
rotateJpg.prototype.rotateimage=function(){
if (this.pausecheck==1) 
var cacheobj=this
if (this.mouseovercheck==1)
setTimeout(function(){cacheobj.rotateimage()}, 100)
else if (iebrowser&&dom||dom){
this.resetit()
var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
crossobj.style.zIndex++
fadeclear[this.slideshowid]=setInterval("fadepic(arrToRotate["+this.slideshowid+"])",50)
this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0"
}
else{
var ns4imgobj=document.images['defaultslide'+this.slideshowid]
ns4imgobj.src=this.postimages[this.curimageindex].src
}
this.curimageindex=(this.curimageindex<this.postimages.length-1)? this.curimageindex+1 : 0
}
 
rotateJpg.prototype.resetit=function(){
this.degree=10
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
if (crossobj.filters&&crossobj.filters[0]){
if (typeof crossobj.filters[0].opacity=="number") //if IE6+
crossobj.filters(0).opacity=this.degree
else //else if IE5.5-
crossobj.style.filter="alpha(opacity="+this.degree+")"
}
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=this.degree/101
else if (crossobj.style.KhtmlOpacity)
crossobj.style.KhtmlOpacity=this.degree/100
else if (crossobj.style.opacity&&!crossobj.filters)
crossobj.style.opacity=this.degree/101
}
 
 
rotateJpg.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ 
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}