• 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

browser incompatibility

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have a problem in closing the child window on unload of the Parent page.
Whenever the parents page is unloaded the Child window has to be closed on unload.
This is working in IE6.0, IE 5.5 but not in 5.0
Could anybody guide me how to go about this problem.
thanx in advance.
sowmya
 
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, it depends on how are you doing it.
for example, in IE there is a onbeforeunload event - you can try to use it.
also, in IE 5+ there is a window.showModallesDialog method - my guess it will do exactly what you want without any event handling. In NS4+ you could open a window with "dependant" attribute - and it will do the same thing.
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi yuriy,
thanx for the response.
I am closing the child window on unload of the Parent window.
now it is working. there was a parent function called in child window which was giving problem.
thanx again.
sowmya
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic