Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 151
  • Last Modified:

NS6.x (bug?) with OnMouseOver/Out

Have a menu table with a whole series of OnMouseOver/OnmouseOut rollovers using the DOM .src= method. (only 3 rows listed for space considerations)

<tr>
<td height=14 width=74 background="../../barcode.gif"><a href="http://www.my-domain.org" onMouseOver="image1.src='../../scanline.gif'" onMouseOut="image1.src='../../space.gif'"><img name="image1" src="../../space.gif" width=74 height=14 border=0></a></td>
</tr>
<tr>
<td height=14 width=74 background="../../b1t.gif"><a href="http://www.my-domain.org" onMouseOver="image2.src='../../scanline.gif'"  onMouseOut="image2.src='../../space.gif'"><img name="image2" src="../../space.gif" width=74 height=14 border=0></a></td>
</tr>
<tr><td height=14 width=74 background="../../b2t.gif"><a href="../../about.shtml" onMouseOver="image3.src='../../scanline.gif'"  onMouseOut= "image3.src='../../space.gif'"><img name="image3" src="../../space.gif" width=74 height=14 border=0></a></td>
</tr>

This works perfectly in IE 4.x, 5.x and NS 4.x but barely works at all in NS 6.x My graphics and associated links completely disappear randomly as you run the cursor over them. I've searched high and low for a reason/solution to this but cannot find any. Upgraded to 6.01 but still having same troubles.

Any ideas on this would be appreciated
0
nascar_3
Asked:
nascar_3
  • 4
  • 2
  • 2
  • +6
1 Solution
 
bebonhamCommented:
really?

sounds like a problem with the images being loaded...

maybe related to other things that are being kicked off by anchors..


it would help if you post a url where the behavior can be seen..
0
 
a.marshCommented:
What about using:

onMouseOver="document.images['image3'].src='../../scanline.gif'"

for example?

Ant
0
 
webwomanCommented:
Are the images being preloaded?
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
dij8Commented:
There is no solution.  This is an issue with NS6.  I am trying to find documentation on it but the known issues list with NS6 is so long it is hard to find.
0
 
dij8Commented:
I found this link (http://bugzilla.mozilla.org/show_bug.cgi?id=68955) which is about th eonclick event but appears to have the same problem.  I haven't tested it but there is a suggestion part way through to add a "return false" statement.  This may fix your issue.

Still looking for other reports.
0
 
COBOLdinosaurCommented:
The list of problems with Netscrap 6 is almost as long as the ones for 4.5 and 4.7 -- the tradition of deliver then fix lives on...

Cd&
0
 
nascar_3Author Commented:
bebonham - I've posted a test copy at http://www.speyeder.net/nssucks/index.html

just run the cursor over the menu, you'll see that the barcodes and menu items randomly disappear. When they disappear, the links are not live anymore either. Only a problem with NS6 , works great in NS4.x and all IE4.x< versions

What's really interesting is that the menu "words" are actually the background image for that cell. The illusion is that there is a table within a table. The overall table has a background=label.jpg which gives it the "paper" look for the whole menu. Then the table within, has transparent .gifs with the words on it in each cell, to simulate that they are typed on the "paper". The rollover images alternate between the "red scanner" line, and the trnasparent "space.gif" to simulate the scanner on/off effect. So this means when the menu "words" disappear, we are actually seeing the cell's BACKGROUND image disappear, as well as the HREF itself.

Please ignore the other tables over and under the actual menu table, they simple hold the images to complete the entire test-tube effect.....


a.marsh - I tried the []'s previously. This made the rollovers inoperable....

webwoman - yes, all images are preloaded. (not on test site however, but they are on the live site. Doesn't seem to change the nature of the problem either way)

dij8 - Thanks for the URL. I thought I was crazy, but at least I can see that the problem is recognized.

It seems like this is a known unresolved issue with NS6, but I was unable to find any good information on it. I guess I'll leave this open a bit , in case someone has a functional workaround for it, otherwise I'll give the points to dij8 for giving me some concrete information about this, and confirming that I wasn't going crazy. I will probably just change the menu back to the way it was using javascript to get the same results.

0
 
webwomanCommented:
Did you use layers? If you did, and you hide them, you can't do anything to them while they're hidden. And if they're hidden, so are the links in them.
0
 
dij8Commented:
I say you don't need to change your code to fit NS6's bugs.  It still has something like only 2% market share (or less).  And is unlikely to get more until they resolve many of the basics (like the issue you have stated).  As long as you make sure your images have an ALT property then this should replace the image when the image doesn't show.  It is not a solution (remember I said there isn't one) but it resolves the issue of the link no longer working.
0
 
COBOLdinosaurCommented:
Why should anyone bother supporting netscrap anymore when it looks like Netscrap will no longer be in the browser business:

http://browserwatch.internet.com/news/stories2001/news-20010606-1.html

Cd&
0
 
DreamMasterCommented:
Cd&,

Because it will take another 6 months before Netscape will stop producing new browser versions...and because it will take at least another year after that before Netscape is gone completely (if it ever will be) and mostly...because it keeps us sharp...IE is much to fault tolerant and Netscape (eventhough I hate it) makes us think before we start to jam on our keyboards....

Cheers,
Max.
0
 
techy6Commented:
Just seen this question - I had exactly the same problem on a major academic website a few months back.  I researched it, realised it was a NS6-specific bug, and decided it wasn't worth worrying about.  Glad to see you guys think the same way!

techy6.
0
 
DreamMasterCommented:
Offcourse I also feel that worrying about a bug for a browser that takes only 2% of the market makes no sense...but I do not agree on not supporting Netscape at all...

Max.
0
 
ahosangFinance Systems DeveloperCommented:
Two things:
1) The Netscape quit thing may be a misinterpretation of the statement from Netscape - so they MAY not stop developing browsers

2) The problem is much better with Mozilla 0.91(which I believe NS 6.1 uses) - the links work now, and the scanline.gif shows up but it doesn't change back onmouseout as reliably as it should.
0
 
nascar_3Author Commented:
I'm not going to worry about it, but I might just change it back to the javascript I had before, it's not that big of a deal.

I was just anxious to try the DOM src= method because it looked cleaner, but was greatly dissapointed to see that it was a problem with NS6 when it worked so well in NS4.x

Thanks for the URL.
0
 
dij8Commented:
Glad to help.  Sorry I couldn't actually give you a solution.  You will have to rely on Corporate America to do that one (why is there only one Monopolies Commission?).  Thanks for the A.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

  • 4
  • 2
  • 2
  • +6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now