• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Opening a child window

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai

I want to open a child window while click on the close of the parent window. i don't want to close the parent window at that time.plz give me a solution.I have a code. but wheni executed it the child window cannot open..

here is my code
<html>
<head>
<script language="JavaScript">

function popup(){


alert("helloooo");

window.open("'+'hello.html",'WebForm1','width=475,height=400,left= 376,top= 232');
alert("HHHH");
}
</script>

</head>

<body onUnload="popup();">


Heloo

</body>
</html>
plz give me a solution
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can not happen. With pop up blockers these days it is not possible to get around it.

Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic