View Full Version : Script for Closing Window

07-19-2005, 05:38 AM
Please pardon me if this is a basic question that might have been answered already...?

I would like to close a child pop-up window (full-screen one opened from its parent) with:

<a href="javascript:parent.top.window.close()">Close</a>

so that the parent moves up for your attention once again.

Is there a convenient script to make this code appear in the upper right corner in any computer resolution, or you would need to put it manually as an html code.

(would prefer a script rather than add an awkward table, as this is to appear well outside the html area).


07-19-2005, 06:01 AM
<button id="eClose" style="font:messagebox;padding-left:10px;padding-right:10px;" onclick="Finish();">Close</button>

help any?