This is not really a mod_perl question. Pop-up windows can only be created
using client-side scripting like Javascript. Your handler would need to
output the necessary Javascript to cause the pop, like:

<script>
    url = "/pop/source.html";
    name = "popwin";
    h = 250;
    w = 350;
    var theWin = window.open(url, name, 'scrollbars=yes, resizable=yes,
                toolbar=no, height='+h+', width='+w);
    theWin.focus();
</script>

For more information on how that works, read Javascript docs:
http://developer.netscape.com/docs/manuals/?content=javascript.html



> From: "Domien Bakker" <[EMAIL PROTECTED]>
> Date: Tue, 20 Nov 2001 15:30:45 +0100
> To: <[EMAIL PROTECTED]>
> Subject: How to create a browser popup window
> 
> Hello all,
> 
> Can anybody give me the "golden" tip of creating a popup browser window
> from my mod_perl handler? I want to fill in this popup window with
> results 
> generated within my handler.
> 
> Is there a module available from CPAN which can handle this?
> 
> Thanks in advance!
> 
> Met vriendelijke groet / With kind regards,
> Domien Bakker
> Application Developer
> 
> Application development
> Operations and Engineering
> ZeelandNet BV
> 
> Postbus 35
> 4493 ZG Kamperland
> The Netherlands
> tel. +31 (0)113 377733
> fax +31 (0)113 377784
> [EMAIL PROTECTED]
> http://ww.zeelandnet.nl/
> 
> 
> 
> 

Reply via email to