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
Working fine with IE 6.0.2900.2180.xpsp_sp2
what is your IE version
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
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 !
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
Then it's better to set Run ActiveX control and plug-ins to Prompt instead of Disable
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