b310 has asked for the wisdom of the Perl Monks concerning the following question:
<INPUT type="button" value="Close Window" onCLick="window.close();">
# Javascript to create popup window my $JSCRIPT; $JSCRIPT=<<EOF; function launchwin() { window.open("../shiptax.htm", "dialog", "width=300, height=250, scroll +bars=yes, resizable=yes"); } EOF ;
print header (-cookie => $cookie), start_html (-title => "Test Site", -script=>$JSCRIPT, -backgro +und=>"../images/sb0068.jpg", -leftmargin=>"0", -topmargin=>"0"), add_boilerplate ($page), end_html ();
$page .= p({ -style => "font-family: verdana; font-size: 10pt;" }, "Sh +ipping and tax may be added to your order.\n" . "To estimate shipping and tax, please see the " . a({-onClick => "launchwin"}, "Shipping and Tax") . " page.\n");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl/CGI/Javascript Problem
by pfaut (Priest) on Mar 04, 2003 at 16:42 UTC | |
by b310 (Scribe) on Mar 04, 2003 at 20:03 UTC | |
by poj (Abbot) on Mar 04, 2003 at 21:48 UTC | |
by b310 (Scribe) on Mar 04, 2003 at 22:04 UTC | |
by iguanodon (Priest) on Mar 05, 2003 at 11:33 UTC |