cgi redirect with NO menubar, statusbar, or toolbar?
is it possible to have a cgi redirect so that it opens a new window with no menubar, statusbar, or toolbar?
is it possible to have a cgi redirect so that it opens a new window with no menubar, statusbar, or toolbar?
Rob Pengelly posted this at 00:30 — 30th November 2000.
They have: 850 posts
Joined: Jul 1999
Just gotta know the javascript for the command, than print it out. The following works:
my $output = '<script>window.open(\'page.html\', \'Name\',\'width=400,height=300,scrollbars=1,noresize\')</script>';
print "Content-type:text/html\n\n";
print $output;
hope that helps
http://www.thehungersite.com - http://www.therainforestsite.com
http://www.ratemymullet.com - Beauty is only mullet deep.
Mark Hensler posted this at 05:14 — 1st December 2000.
He has: 4,048 posts
Joined: Aug 2000
then you may want to close the current window...
print qq~
<script language=javascript>
<!--
window.close()
//-->
</script>
~;
Mark Hensler
If there is no answer on Google, then there is no question.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.