Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

NS6.x (bug?) with OnMouseOver/Out

Posted on 2001-06-15
16
Medium Priority
?
149 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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 800 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
 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Find out what you should include to make the best professional email signature for your organization.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

610 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