On Mon, Jun 09, 2003 at 02:27:50PM -0600, Kevin Stone wrote:
> I'll bet you're using an onLoad command to launch the popup aren't you. Use
> Output Buffering to keep stdout from flushing before the parent script dies.
> If my assumption about onLoad is correct then that'll solve your problem.
Um not "onload" the link looks like this:
<a onclick='openEdit("add=event&cellid=10"); return false;'
onkeypress='openEdit("add=event&cellid=10"); return
false;'href='edit.php?add=event&cellid=10'>Add an event</a>
and the javascript looks like this:
// its goal is to EDIT any type of content in a pop-up window
function openEdit(params) {
var url = "editsmall.php?"+params;
var ewin = window.open(url, "ewin",
"width=500,height=300,toolbar=0,resizable=1,scrollbars=1");
ewin.focus();
}
--
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php