Slideshow not working in IE but does in FF Slideshow not working in IE but does in FF
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Slideshow not working in IE but does in FF

Started by dereksurfs, November 30, 2006, 11:07:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dereksurfs

Hello,

I was testing my site and noticed the slideshow does not work in IE.  It work fine in Firefox.  So it sounds like a browser specific problem.  The error reported is very non-descriptive:
Line: 190
Char: 7
Error: Unspecified Error.

You can see it here:
http://www.lightquestphoto.com/coppermine/displayimage.php?album=1&pid=2&slideshow=4000

I checked the javascript runslideshow function in slideshow.inc.php.  Could the error be here:
function runSlideShow(){
   if (xIE4Up){
            document.images.SlideShow.style.filter="blendTrans(duration=2)"
                document.images.SlideShow.style.filter= "blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow.filters.blendTrans.Apply()
        }
        document.images.SlideShow.src = preLoad[j].src
        if (xIE4Up){
           document.images.SlideShow.filters.blendTrans.Play()
        }

        pos = j

        j = j + 1
        if (j > (p-1)) j=0
        t = setTimeout('runSlideShow()', slideShowSpeed)
        preLoadPic(j)
}



Thanks for any help you can provide,

- Derek




Sami

Working fine with IE 6.0.2900.2180.xpsp_sp2
what is your IE version
‍I don't answer to PM with support question
Please post your issue to related board

dereksurfs

Sami,

That is very strange because I am running the same exact version of IE that you are here at work.  I'll have to check which version of IE I am using at home.  But I am getting the same error there.

I checked the source code of that page and it is pointing to line 190 which is from the script I referenced above.

document.images.SlideShow.filters.blendTrans.Apply()

Any idea what blend.trans.apply does or if I could turn it off?

Thanks,

Derek

Sami

QuoteAny idea what blend.trans.apply does or if I could turn it off?
It's a M$ ActiveX , comment it and see if you got that error again !
‍I don't answer to PM with support question
Please post your issue to related board

dereksurfs

Ok,

That explains things.  ActiveX controls can cause problems on the same versions of IE depending on one's security settings.  I commented out these two lines and now it works:


//document.images.SlideShow.filters.blendTrans.Apply()
...
//document.images.SlideShow.filters.blendTrans.Play()


I could reduce my security level.  But I would rather it be compatible on other people's browers with higher security settings like mine. 

Thanks,
Derek

Sami

Then it's better to set Run ActiveX control and plug-ins  to Prompt instead of Disable
‍I don't answer to PM with support question
Please post your issue to related board

dereksurfs

Yes,

I have that set to 'Enable' already.  But there are about 6 or 7 ActiveX settings all together.  Most I have set to Enable or Prompt.  There are a couple that are set to disable such as 'Initialize and script ActiveX controls not marked as safe.'

- Derek