Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Strange Netscape problem, onClick not working.


Message #1 by svendelmas@b... on Wed, 11 Apr 2001 18:10:39
I reposted this message to this list (the original post was to the 
browser_compatibility list) to increase my chances of an answer ;-). If 
you have already seen it... sorry for the extra traffic.

I have a frameset where one frame uses a JavaScript function to create the 
HTML for another frame (called upon onLoad in the main frame). This is all 
shown inside of a window I create.

My problem is that under Netscape 4.77 (I have not tested this with other 
NS versions yet) the links in the frame created by the JavaScript function 
do not work. None of the events (onClick, onMouseOut etc.) trigger. There 
are no JavaScript errors in the console, and the code works just fine in 
IE. 

To make matters worse, I have a second dialog that has a similar setup 
(JavaScript creating a bunch of links) in another window. What seems to 
happen is that only one of the two works. If one works, the other one 
doesn't and vice versa. There is no global state involved, and the 
function names are unique across frames. 

Has anyone ever seen a behavior like this?

Thanks,
Sven

  Return to Index