Re: sessions, IE and pop-up windows
| From: | Emma Jane Hogbin | Date: | Mon, 09 Jun 2003 20:32:32 +0000 |
| Subject: | Re: sessions, IE and pop-up windows | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150803@lists.php.net to get a copy of this message | ||
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 ]]