|
February 24, 2000 Netscape Navigator's Delayed Printout Tips: February 2000
Yehuda Shiran, Ph.D.
|
|
In Internet Explorer you can define a SPAN element and update its content -- all during loading of the page. In Netscape Navigator, this scenario does not work. Netscape cannot write to a SPAN element that has just been loaded. You have to put an event handler that will update the SPAN element when the page is fully loaded.
Let's take for example the Doc Dialer from Column 57. Here is the
The event handler in Netscape should be:
And the function start calls another function:
And this function does the update:
Learn more about incompatibilities between the browser in Column 6, Browser Compatibility.
People who read this tip also read these tips: Look for similar tips by subject: |