Mozilla Firefox Question

  • Thread starter Thread starter K3
  • Start date Start date
try checking for update drivers for your vga
the site works prefect on my system using IE, Maxthon and Firefox
 
I'm trying to display the current time on a webpage
(http://home.maine.rr.com/k3/_temp/sample.htm) and I can't figure
out why it "flickers" only in Mozilla and Firefox.

I suspect it's because the JavaScript is generating a warning each time
through the loop that updates the clock display. The warning is:

Warning: Element referenced by ID/NAME in the global scope. Use
W3C standard document.getElementById() instead.
Source File: http://home.maine.rr.com/k3/_temp/sample.htm
Line: 77
It works great with all other browsers.

The clock does not display at all in K-Meleon. K-Meleon's JavaScript
console has this to say:

Error: Clock is not defined
Source File: http://home.maine.rr.com/k3/_temp/sample.htm
Line: 77

You would probably get better help on this in alt.html.
 
try checking for update drivers for your vga
the site works prefect on my system using IE, Maxthon and Firefox

OK in Opera 8.0 B3, Konqueror and Galeon on Linux.

Regards
Gordon
 
K3 said:
I'm trying to display the current time on a webpage
(http://home.maine.rr.com/k3/_temp/sample.htm) and I can't figure out
why it "flickers" only in Mozilla and Firefox. It works great with
all other browsers.

Thanks!

Funny thing is that first time I went to that page with Firefox 1.0.2
about fifteen minutes ago the clock flickered noticably. But when I
tried again a minute ago it did not flicker at all.

Markku Virtanen
 
I was having this same flickering with Firefox last fall; tried
increasing the screen refresh rate to the max my monitor could handle,
and that eliminated the problem.
 
K3 wrote :
I'm trying to display the current time on a webpage
(http://home.maine.rr.com/k3/_temp/sample.htm) and I can't figure
out why it "flickers" only in Mozilla and Firefox. It works
great with all other browsers.

There is a property named "innerHTML" in your JavaScript, and this
property is known to be buggy on Gecko-based browsers like Mozilla or
Firefox, according to this page :

http://www.developer-x.com/content/innerhtml/

This could be the reason of the flickering. Anyway, you may try to
change "100" to "1000" in the following line of the script :

window.setTimeout("tick();", 100);

The display of the clock will still flicker in Firefox, but only once a
second (this number sets the refreshing delay in milliseconds).
 

I have current Firefox, IE (active scripting and almost everything else off), and Mozilla.
All 3 browsers always show "Ken's Start Page"
Other lines vary:

Proxomitron on
Firefox shows "snapshot" of time, no date
Mozilla shows date only
IE6 shows nothing

Proxomitron set at "Bypass"
Firefox shows "flickering", changing countdown of time, and date
Mozilla shows nothing
IE6 shows nothing
 
Back
Top