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
Solved

When using mouseover images and display: none/block in HTML, NS & Mozilla don't know the page has loaded

Posted on 2004-08-07
14
158 Views
Last Modified: 2008-03-06
Can anyone explain to me why NS 7+ and Mozilla's load bar in the bottom right of the browser window show that the page is still being read from the server when I use mouseover images, or toggle a block of html from display: none to display: block?

The page has definitely loaded, and the onLoad event fires correctly.

Thanks.
0
Comment
Question by:metalaureate
  • 7
  • 5
14 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 11744063
Is this happening on specific sites or all pages?  Pehaps you could post a link to a site where it is happening.

Cd&
0
 

Author Comment

by:metalaureate
ID: 11744075
http://www.untangledmanager.com/services/judemo/wbf.asp

(this is my site)

Open one of the "Click for answers" buttons and watch the load-progress bar.
0
 

Author Comment

by:metalaureate
ID: 11744077
Oh, on *all* pages.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 11744277
Its the scripting.  The xbrowserAPI is has a problem.  The browser is expecting an additional packet that is never being delivered; or the script it messing up the path.

When I see the page and then look at the code, my first though is that there is about 3 times as much as should be need for a page that simple.  The browser is probably tipping over its own feet.  

When I see dynamicdrive script I generally go in the other direction.  They generally work i a limited way and I have even recommended them for amteur use, but they are generally to inflexible and unmaintainable to be usful in a professional environment.

Before you do anything, I would recommend you run the page through a validator to make sure it has no errors; because using tables for layout is an invitation to bugs.  Then play around with the scripting to see if it will give you some clue as to what the browser thinks is not being returned, or what the ASP in not returning.  As far as I can tell everything is being returned, so the load bar is not much more than an annoyance at this point.

Cd&
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 11744301
The places where you have the problem are both using the xbrowserAPI, so that almost certainly is where the problem is triggering from, but something else in the page could very well be setting up whatever it is chokeing on.

Cd&
0
 

Author Comment

by:metalaureate
ID: 11744357
Hi,

I don't think xbrowserAPI can have anything to do with it, for the following reasons:

1) I have copied the entire contents of xbrowserapi into the web page and I still get the problem.

2) See http://www.untangledmanager.com/dev/cinch.htm This uses xbrowserapi to cinch and uncinch a table containing an image, and the problem does not occur...

Weird, huh?
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 11744392
Weird?  No.  You have merely eliminated one possibility as a cause. It is a simple piece of isolated code be executed on plain basic page.  I am sure that would have been tested during development of the script.

What you have is a set up with many points of failure.  The problem my not be a single one in isolation , but rather a loadin gof the gun somewhere else and the trigger gets pulled elsewhere.  In the end it turn out that there is no bug in the page, but that it presents in such a way that a browser bug, server bug, or ASP bug, trips on it.

If the issue is critical then the way to proceed is to start removing things until the error stops and see if you can isolate the exact cause.  Could take hours, or day, or even weeks; but most certainly there is an answer.  Solving it is a matter of deciding how resource to invest in finding the solution.

Cd&
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 11744395
BTW,

I've done a couple of searches hoping to get lucky, but nothing shows up that is helpful.  Someone else might come along who has work through it in the past.

Cd&
0
 

Author Comment

by:metalaureate
ID: 11744409
Hi Cd&

It's not a critical problem; just annoying to me. I think it is just a bug in Mozilla. I have seen the behavior on other sites that uses style: none/block, by they are too embrassing to post the links here, if you get my drift.

0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 11744439
Yeah I get the drift. ;^)  Those sites are generally very heavily scripted as well. Whereas there are thousands of sites using none/block.  If there were a bug in none/block that would be the kind of class one bug that would generate a lot of documentation, and there is not even buzz like that, so it almost certainly has to be script related.

Cd&
0
 

Author Comment

by:metalaureate
ID: 11744597
Cd&,

Ok, I've been doing some more testing. The issues has nothing to do with style:none/block; that was a red herring. Any JS change of an image src attribute causes the problem.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 12191860
It was an interesting exploration, but I don't know that anything actually got solved.  Perhaps zero PAQ?

Cd&
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 12222506
PAQed, with points refunded (500)

Computer101
E-E Admin
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
IE Edge 35 79
Google chrome pages randomly timing out 3 65
windows 10 6 45
having plugin issue with firefox and want to nuke to reinstall..but how . 9 44
How many times have you been browsing the internet, with multiple tabs open, and closed the wrong one? Have you ever clicked 'Close all tabs' instead of 'Close current tab' ? Internet Explorer 8 now brings to you, what Firefox has had for a wh…
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

856 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