Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Beginning JavaScript: ch1_examp2.htm Browser Compatibility Query


Message #1 by "Bob Cochran" <cochranb@c...> on Mon, 14 May 2001 01:38:34
There are differences in how Netscape 6.01 [Mozilla/5.0 (Windows; U; 
Win98; en-US; m18) Gecko/20010131 Netscape6/6.01] and Internet Explorer 
5.50.4522.1800 SP1 render the code example titled ch1_examp2.htm on page 
14 of the Beginning JavaScript book. 

The code renders as shown in the book on Internet Explorer. But in 
Netscape it looks like the only the background colors will be set and 
displayed while alert boxes are pending. Text will NOT be displayed, so 
that you see the expected text

Paragraph 1

Paragraph 2

Paragraph 3

Only after the OK button is clicked for the alert box containing the 
text "Second Script Block"; that is, after the OK button is clicked for 
the final alert box in the web page.

Why is this happening? 

Many thanks

Bob Cochran
Beltsville, Maryland, USA

  Return to Index