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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

closing a pop-up and refreshing the opener page

Status
Not open for further replies.

ibearian

Technical User
Jul 4, 2001
131
0
0
GB
All i want this to do is when you click on the
hyperlink (at the bottom of the code snippet) the window.opener to refresh and then close this.window pop-up but i can't find out how to do this.......any ideas ?

I have tried some CF pages but to little sucess

the code i have doesn't work it just closes the pop up

thanks in advance for any assistance


<BODY onLoad="self.focus()">
<table align="center" border="0" cellpadding="4">
<tr>
<th colspan="2">
We have a number of diffent colour / font combinations
click below to change the current fomat
</th>
</tr>
<tr><td><a href="skins.cfm?skin=a"
>Default</a></td><td>Example text</td></tr>
<tr><td><a href="skins.cfm?skin=f"
>Korrect</a></td><td>Example text</td></tr>

</table>
<br>
<a href="" onClick="window.opener.reload;
window.close()">Please click here to close this
page</a>

</BODY>


ibearian.

PROJECT H
mailto:ibearian@projecth.co.uk
 
Should be

window.opener.reload()

Cheech

[Peace][Pipe]
 
thanks but what this does is to load the opener in the pop-up window

so

Index.htm has a link to popup.htm. on popup.htm you do some stuff then you press close. This should refresh the index.htm page and close popup.htm. I can either get the window closing or reloading in the popup.

Any ideas ??????

ibearian.

PROJECT H
mailto:ibearian@projecth.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top