Solved

NS6.x (bug?) with OnMouseOver/Out

Posted on 2001-06-15
16
140 Views
Last Modified: 2012-05-04
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
Comment
Question by:nascar_3
  • 4
  • 2
  • 2
  • +6
16 Comments
 
LVL 8

Expert Comment

by:bebonham
ID: 6197389
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
 
LVL 15

Expert Comment

by:a.marsh
ID: 6197693
What about using:

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

for example?

Ant
0
 
LVL 19

Expert Comment

by:webwoman
ID: 6197771
Are the images being preloaded?
0
 
LVL 10

Expert Comment

by:dij8
ID: 6197873
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
 
LVL 10

Accepted Solution

by:
dij8 earned 200 total points
ID: 6197921
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
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6198105
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
 

Author Comment

by:nascar_3
ID: 6198468
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
 
LVL 19

Expert Comment

by:webwoman
ID: 6198636
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 10

Expert Comment

by:dij8
ID: 6198844
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
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6198861
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
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6201246
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
 
LVL 1

Expert Comment

by:techy6
ID: 6201342
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
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6201354
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
 
LVL 12

Expert Comment

by:ahosang
ID: 6201841
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
 

Author Comment

by:nascar_3
ID: 6202010
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
 
LVL 10

Expert Comment

by:dij8
ID: 6202331
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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now