由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
BuildingWeb版 - new window's size control?
相关主题
perl cgis: how to send back frame webpage?[转载] Perl for programmers(4): Logical operation
另一个小问题...[转载] Perl for programmers(1): Variables in Perl
Re: 在cgi里如何写html?[转载] Perl for programmers(11): package design in perl
[转载] Perl for programmers(10): A template for CGI fileHelp me with a stupid question.
[转载] Perl for programmers(9): subroutines一个perl初级问题
[转载] Perl for programmers(8): string operation(pattern matching)怎样向用户返回suyvey form的统计结果?
[转载] Perl for programmers(7): string operationjava <-> cgi/perl 急问
[转载] Perl for programmers(5): flow control如何找到disscussion Board的免费软件?
相关话题的讨论汇总
话题: perl话题: html话题: sgfviewer话题: window话题: new
进入BuildingWeb版参与讨论
1 (共1页)
j***y
发帖数: 2074
1
hi, all:
i want to use perl to write a new html file.
it is fairly easy, you know.
but one thing is nagging me:
how can i control the new window's size?
my html code is:
the first
link


and the corresponding perl script is:
#!d:/perl/bin/perl
print "Content-type: text/html\n\n";
print "\n",
"\n",
"SGFViewer\n",
"\n",
"\n",
"
\n";
s**********i
发帖数: 711
2

change the link to "window.open('/cgi-bin/sgfviewer/goviewer.pl?1",
'_blank', width=210,height=600">
or just

: hi, all:
: i want to use perl to write a new html file.
: it is fairly easy, you know.
: but one thing is nagging me:
: how can i control the new window's size?
: my html code is:
: the first
: link


: and the corresponding perl script is:
: #!d:/perl/bin/perl

j***y
发帖数: 2074
3
thanks, this mix of javascript and perlscript works!

【在 s**********i 的大作中提到】
:
: change the link to : "window.open('/cgi-bin/sgfviewer/goviewer.pl?1",
: '_blank', width=210,height=600">
: or just
s**********i
发帖数: 711
4

it has nothing to do with perl. new window size can't
be controled by its content, only the caller to open
this window.

【在 j***y 的大作中提到】
: thanks, this mix of javascript and perlscript works!
1 (共1页)
进入BuildingWeb版参与讨论
相关主题
如何找到disscussion Board的免费软件?[转载] Perl for programmers(9): subroutines
how to invoke cgi in html?[转载] Perl for programmers(8): string operation(pattern matching)
怎么才能统计访问者得ip呢[转载] Perl for programmers(7): string operation
请问如何让IE提示将CGI返回的结果保存为文件?[转载] Perl for programmers(5): flow control
perl cgis: how to send back frame webpage?[转载] Perl for programmers(4): Logical operation
另一个小问题...[转载] Perl for programmers(1): Variables in Perl
Re: 在cgi里如何写html?[转载] Perl for programmers(11): package design in perl
[转载] Perl for programmers(10): A template for CGI fileHelp me with a stupid question.
相关话题的讨论汇总
话题: perl话题: html话题: sgfviewer话题: window话题: new