I’m trying to bypass angelfire.com’s ugly site-design-killing banner ad, by automatically scrolling past it, giving the illusion that it’s not there (sure, you could still scroll up and see it, but at least the page would look right when it loaded…)
Anyway, I’ve been trying variations of…
<script language=”javascript” type=”text/javascript”>
window.location=”#top”
</script>
…using the anchor point #top set just past the ad, at the real top of my page. It’s working fine as a link, when I link to index.html#top, but I can’t get it to load automatically. The code above should work as a redirect as soon as the page loads, but it’s not… do I need some kind of onLoad command, or does Angelfire have something blocking this script from working properly?
Andy Oliphant
The Thirteenth Hour