I'm trying to put together a cross-browser function for programmatically taking the user to their home page. So far I have found this:
<script language="javascript"> function gohome(){ if (typeof window.home == 'function'){ window.home(); } else if (document.all) { window.location.href = "about:home"; } else { document.write("<p>Please click on your browser's Home button.</p>"); } } </script> Firefox and Opera like window.home() and IE likes href="about:home". But Safari 3.1 (for Windows) falls through to the else clause. Does Safari have a different place in the DOM where the home page can be triggered using Javascript? So far I haven't been able to find anything. Thanks, Bill