slideshow not showing up, images displayed only as vertical line here is my fix

Permalink
I used firefox & IE running c5 5.6.1. I had a problem where the slideshow only display a portion of an image as a vertical line. Here is my fix:

changed in concrete/blocks/slideshow/view.php line 62 added

width:684px;

I still have a problem where I placed the slideshow in a stack - it works on the home page but not on other pages properly, the pictures move down on the page every tim on displays.

 
gabrielkolbe replied on at Permalink Reply
also change the javascript a bit more to stop improve the slideshow images displaying over the page but to keep them in one place

nextImg:function(){ 
      if(this.imgNum>=this.imgInfos.length) this.imgNum=0;  
      this.imgEls[this.imgNum].css('opacity',0);
      this.imgEls[this.imgNum].css('display','none');
      this.imgEls[this.imgNum].animate({opacity:1},
         this.imgInfos[this.imgNum].fadeDuration*1000,'',function(){ccmSlideShowHelper75.preparefadeOut()});
      var prevNum=this.imgNum-1;
      if(prevNum<0) prevNum=this.imgInfos.length-1;
      if(this.imgInfos.length==1) return;
      this.imgEls[prevNum].animate({opacity:0},this.imgInfos[this.imgNum].fadeDuration*800,function(){this.style.zIndex=1; this.style.display='none';});         
   },
   preparefadeOut:function(){
      if(this.imgInfos.length==1) return;
      var milisecDuration=parseInt(this.imgInfos[this.imgNum].duration)*1000;
      this.imgEls[this.imgNum].css('z-index',2);