Oddly, it works in Safari 3 Win here, perhaps you just need to clear your cache in that browser. What version of Safari are you using?
Anyways, this is wrong:
Code:
#motioncontainer {
margin:0 auto; Uncomment this line if you wish to center the gallery on page */
width: 50%; /* Set to gallery width, in px or percentage */
height: 205px;
}
It should be:
Code:
#motioncontainer {
margin:0 auto; /* Uncomment this line if you wish to center the gallery on page */
width: 50%; /* Set to gallery width, in px or percentage */
height: 205px;
}
But that may actually throw things off, as after fixing that, the width of 50% will be used, I don't think it currently is.
I have seen problems with some versions of Safari with code like so (from motiongallery.js):
Code:
function motionengine(e){
var mainobjoffset=getposOffset(crossmain, "left"),
dsocx=(window.pageXOffset)? pageXOffset: ietruebody().scrollLeft,
dsocy=(window.pageYOffset)? pageYOffset : ietruebody().scrollTop,
curposy=window.event? event.clientX : e.clientX? e.clientX: "";
curposy-=mainobjoffset-dsocx;
var leftbound=(menuwidth-restarea)/2;
var rightbound=(menuwidth+restarea)/2;
if (curposy>rightbound){
scrollspeed=(curposy-rightbound)/((menuwidth-restarea)/2) * maxspeed;
clearTimeout(righttime);
if (movestate!="left") moveleft();
}
else if (curposy<leftbound){
scrollspeed=(leftbound-curposy)/((menuwidth-restarea)/2) * maxspeed;
clearTimeout(lefttime);
if (movestate!="right") moveright();
}
else
scrollspeed=0;
}
It should probably be:
Code:
dsocx=typeof window.pageXOffset == 'number'? pageXOffset : ietruebody().scrollLeft,
dsocy=typeof window.pageYOffset == 'number'? pageYOffset : ietruebody().scrollTop,
Other than those two things, it is hard to say, as it is working here. You might try adding:
Code:
#motioncontainer {
text-align: left;
margin:0 auto; /* Uncomment this line if you wish to center the gallery on page */
width: 50%; /* Set to gallery width, in px or percentage */
height: 205px;
}
Good luck!
Bookmarks