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
155 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
 
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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…
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
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.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

762 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

20 Experts available now in Live!

Get 1:1 Help Now