• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

onunload not working in netscape

 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello there , I have tag <body onunload=openwin() function in a html page , when I close that html page window pops up using
window.open() function , it is working fine with IExplorer but
with netscape navigator 4.7 it is not woriking ,
when I close this html page in netscape 4.7 window is not poping up , but if I enter url in addressbar of netscape browser then onunload fires and window pops up. why onunload is not working for netscape ??
the window that is poping up has width=300 , height=300 , it is working fine in IExplorer but in netscape it does not follow width and height ??
is onunload in body tag works right with netscape ??
thanks
 
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ray,
I too face a similar problem. This is true even with NS6 and Mozilla 1.1. When the page is unloaded the event is called but when the window is closed the unload event is not called.
Did u solve this?
thanks
sudharsan
 
Ranch Hand
Posts: 937
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Accorind to the documentation it should work with NS.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what code are you using for the pop up?
Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic