I have no Mac to test on but, after looking at the script, I see two things that might be a problem for Safari. If you are getting any errors, this would help me determine if it is one or both of those two things or perhaps something else.
Before I offer any suggestions, to test my theories, put this on your page after removing all scripts and javascript calls but, otherwise leaving the page as it is, and let me know what it does:
Code:
<script type="text/javascript">
onload=function(){
var d=typeof document.all;
var db=document.body? document.body.offsetWidth : 'no document.body';
var de=document.documentElement? document.documentElement.offsetWidth : 'no documentElement'
var t=document.createTextNode('document.all type='+d+'\r\ndocument.body result='+db+'\r\ndocumentElement result='+de)
var r=document.createElement('pre');
r.style.position='absolute';
r.style.top=0;
r.style.left=0;
r.style.color='black';
r.style.backgroundColor='white';
r.appendChild(t);
document.getElementsByTagName('body')[0].appendChild(r)
}
</script>
If it generates text in the upper left corner of the page (it should), copy and paste that into your reply.
Also let me know if you are using a DOCTYPE or not and, if so, which one.
Bookmarks