Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netscape : Event Capturing MISUNDERSTOOD

Status
Not open for further replies.

RemoteSilicon

Programmer
Feb 13, 2001
45
GB
Im sorry that I was unable to interpret my problem correctly. Actually I have a framed document. Having three frames naming Top, Left and main. Now I want to capture onLoad event of any page that should be loaded in main. I dont know which page will be loaded in main 'cause the client Im developing the for will determine that. I am writing a general code for all pages in main. That's why I want to capture onLoad event of DOCUMENT or BODY and not WINDOW or FRAMESET event. Thanks
 
What happens if you just write something using:

parent.main.document.onLoad //?

I think this kind of idea will work.
b2 - benbiddington@surf4nix.com
 
Thanks bangers for your reply, but the code didn't work not even in IE. I want to do it also in Netscape.
 
Does any one knows the answer. Plz help me if anyone knows something about me problem
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top