[TriLUG] Question for web/CGI people

Andrew Perrin clists at perrin.socsci.unc.edu
Tue Aug 10 16:35:48 EDT 2004


5~On Tue, 10 Aug 2004, Matthew Todd wrote:

> 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
>

Thanks for the warning. In this case I don't think it's too much of a
problem, since this is for internal use -- only 4 or 5 clients will be
accessing it, and I can just make them turn off their popup blockers :)

ap

----------------------------------------------------------------------
Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
clists at perrin.socsci.unc.edu * andrew_perrin (at) unc.edu






More information about the TriLUG mailing list