chriso has asked for the wisdom of the Perl Monks concerning the following question:
The CGI.pm documentation is not clear on putting a function in the <HEAD> section. It says:print start_html ( -title=>'quiz', -script=>{ -language=>'JAVASCRIPT', <!-- function winopen(){ newwin=window.open("","","scrollbars") if (document.all){ newwin.moveTo(0,0) newwin.resizeTo(screen.width,screen.height) } } //--> } -BGCOLOR=>'beige' -onLoad=>'winopen()' );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Javascripts in HTML header
by larsen (Parson) on Dec 27, 2001 at 18:31 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |