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!

classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"

Status
Not open for further replies.

IonCurici

Programmer
Oct 29, 2002
24
MD
This is working fine when using <a href=&quot;javascript:closew.Click()&quot;>Close the window</a>.
Is there a way to close the window onload?
Here is what it is intended to be:
1. user launches blank parent
2. onload parent launches child with custom toolbars and menus
3. parent kills itself without notice.
 
Code:
<body onLoad=&quot;closes.Click()&quot;>
will do that.

If you already have an onLoad event, separate them with a semi-colon...
Code:
<body onLoad=&quot;yourfunction();closes.Click()&quot;>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top