I took a look at your page in IE5.01 sp2 for the PC hoping that some of the IE Mac problems would show up. No such luck. Here is a way to block javascript code from IE Mac though:
Code:
var agt=navigator.userAgent.toLowerCase();
if (agt.indexOf('mac')==-1||agt.indexOf("msie")==-1){
Your code that IE Mac doesn't like goes here
}
else {
Alternative for IE Mac goes here
}
Depending upon the situation, you can just leave the red part off if there is nothing you want IE Mac to do. If it is inside of a function and you want IE Mac to stop executing at that point put:
return;
I'm not sure how to fix the clock but, using style perhaps. If you can get it looking good in IE Mac using style then you can use the comment hack to show all other browsers a style that works for them:
Code:
<style type="text/css">
.clock {
style for clock in IE Mac goes here
}
/* begin hiding from IE Mac\*/
.clock {
style for clock in all other browsers here
}
/* end hiding */
</style>
Hopefully you know enough about css style to see what this will afford you. '.clock' is a class name we can apply to the element containing the clock to get its dimensions, font size, margins, etc. different for IE Mac than other browsers:
HTML Code:
<div class="clock">here is where the clock appears</div>
Bookmarks