malaga has asked for the wisdom of the Perl Monks concerning the following question:
#!c:/Perl/bin/Perl -wT use strict; use CGI qw/:standard/; print header; print "can you hear me"; #this does print, nothing else does print "<html>"; print "<head>"; my $javascript = <<'TOAD'; <style> <!-- all.clsMenuItemNS{font: bold x-small Verdana; color: white; text-decor +ation: none;} .clsMenuItemIE{text-decoration: none; font: bold xx-small Verdana; col +or: white; cursor: hand;} A:hover {color: red;} --> </style> TOAD print "</head>"; my $javanext = <<'FROG'; <script language="JavaScript" src="/menu.js"> </script> <script language="JavaScript" src="/menucontext.js"></script> <script language="JavaScript"> showToolbar(); </script> <script language="JavaScript"> function UpdateIt(){ if (document.all){ document.all["MainTable"].style.top = document.body.scrollTop; setTimeout("UpdateIt()", 200); } } UpdateIt(); </script> FROG print "</HTML>";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: print html/javascript
by dws (Chancellor) on Apr 02, 2001 at 03:41 UTC | |
by malaga (Pilgrim) on Apr 02, 2001 at 04:01 UTC | |
|
Re: print html/javascript
by nysus (Parson) on Apr 02, 2001 at 04:46 UTC | |
by cLive ;-) (Prior) on Apr 02, 2001 at 05:29 UTC |