I think when my web host moved my site to a new server some information was lost in the transfer. As a result, I've got truncated code in all slideshow pages. See it here:
http://www.daveakins.com/coppermine/displayimage.php?album=2&pid=56&slideshow=5000
I'm assuming that it's missing some closing tags or something (I only know HTML so can't figure out what it needs).
Anyone volunteer some assistance?
Thanks in advance.
FOLLOWUP: I checked the slideshow.inc.php file and the close-script tag is there so that can't be it.
DAve
I can see the slide show fine in my Mozilla 1.5 Redhat 9
I get the error, in IE.
I don't know if this is the cause, but your script code differs from mine here;
Your code
// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header
// NS4-6,IE4-6
// Fade effect only in IE; degrades gracefully
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000
// Duration of crossfade (seconds)
var crossFadeDuration = 3
My code
// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header
// NS4-6,IE4-6
// Fade effect only in IE; degrades gracefully
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000
// Agent sniffer shamelessly 'stolen' from the excellent X library from cross-browser.com
var xOp7=false,xOp5or6=false,xIE4Up=false,xNN4=false,xUA=navigator.userAgent.toLowerCase();
if(window.opera){
xOp7=(xUA.indexOf('opera 7')!=-1 || xUA.indexOf('opera/7')!=-1);
if (!xOp7) xOp5or6=(xUA.indexOf('opera 5')!=-1 || xUA.indexOf('opera/5')!=-1 || xUA.indexOf('opera 6')!=-1 || xUA.indexOf('opera/6')!=-1);
}
else if(document.layers) xNN4=true;
else {xIE4Up=document.all && xUA.indexOf('msie')!=-1 && parseInt(navigator.appVersion)>=4;}
// Duration of crossfade (seconds)
var crossFadeDuration = 3
I tested the slideshow feature in Netscape and it works fine so it must be something with IE. (?)
Casper, I'll try changing the code and see what happens. Any add'l suggestions are greatly appreciated.
Thanks
DA
Changing the code didn't work.
slideshow works fine for me with above mentioned link (using IE6 on Windows 2000).
GauGau
Yes, it works fine now, but didn't yesterday.
@uga2000dawg, please post what you did to solve the problem, so anyone else having this problem can see how to do it.
Casper et al:
I didn't do anything! I tried the code you provided but reverted back to what I had when yours didn't work. Now the slideshow function is fine. Very strange. I wish I could take credit for coming up with a solution but I can't. Oh well, I'm content.
Thanks for everyone's help
DA