Ad rotator driving mozilla/netscape wiggy

A

apchar

I have a simple ad rotator that's driving mozilla and netscape a
little crazy. You know that symbol in the upper right corner of the
browser that animates while a page is downloading and is supposed to
stop once the page is loaded? Well, after my rotate() function is
called the animation starts and stops randomly as I move the mouse
around the page over various other links.
This only happens in Netscape and Mozilla firefox.
Did I do something nonstandard or is this an idiosyncrasy/bug/feature
in the mozilla engine?

Here's the javascript function:
function rotate()
{
numAds=8
adNum = Math.ceil(Math.random()*numAds);
frames['ads'].location.href="/ads/fullbanner/ad"+adNum+"/ad.html";
}

where frames['ads'] is this iframe.
<iframe name=ads id=ads src='/ads/fullbanner/ad1/ad.html' width=468
height=60 marginwidth=0 marginheight=0 frameborder=0 hspace=0 vspace=0
border=0 scrolling=no>Cant do inline frames.</iframe>

There's not much to the html thats being loaded into this iframe.
Here's one of the files:
<html>
<head></head>
<body>
<center>
<a target="_top" href="http://www.blah.com">
<img border=0 name="ad1" width=468 height=60
src="/ads/fullbanner/ad1/blah.jpg"></a>
</center>
</body>
</html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top