[TriLUG] Question for web/CGI people

Matthew Todd matthew.todd at alumni.duke.edu
Tue Aug 10 16:33:08 EDT 2004


On Tue, Aug 10, 2004 at 04:12:54PM -0400, Andrew Perrin wrote:
> When a reviewer is assigned to a book, I want two distinct things to
> happen: (1) a letter is generated, to be printed and sent out by
> snail-mail; and (2) the user is redirected back to a blank assignment
> screen.

On Tue, 2004-08-10 at 16:17, David Rasch wrote:
> I would suggest you add an onclick event to a link or an onsubmit
> event (using JavaScript) to your form that launches a window with the
> popup PDF (which could be from a Perl script), and then redirect your
> current window to a new location


Warning, you'll find your efforts stymied by some popup blockers.

We've found Google's to be particularly strict.

If there's any way to re-shape the user interaction to avoid both things
having to happen at once, I'd recommend it.

Or (ugh) frames somehow?  -- Matthew




More information about the TriLUG mailing list