PDA

View Full Version : Slideshow not functioning in Safari



jlandis
01-04-2011, 10:59 PM
1) Script Title: Slideshow not functioning in Safari

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem: My slideshow, found on www.bigskybiblecamp.org works in firefox/chrome/IE, but not Safari.

i am just a beginner, any help would be appreciated!

Nile
01-04-2011, 11:02 PM
It works fine for me, are you using a windows or a mac? Also, make sure close your <html > tag:


</body>
</html>

jlandis
01-05-2011, 04:20 PM
Thanks for the reply - i am using windows and i can get it to work when i open a safari browser and refresh after the first attempt fails, but i don't really like that either. also, we have a mac in the office that won't open it at all. thanks.

jscheuer1
01-05-2011, 04:54 PM
You have an unterminated HTML comment here:


. . . _findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>

<style type="text/css">
<!--
body {
background-color: #2a424c;
font-family:Tahoma, Geneva, sans-serif;

}

#page {
margin:auto;
height:535px;
width:1000 . . .

Just get rid of it.

jlandis
01-05-2011, 07:02 PM
Thanks a lot, that did it!