#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    5
    Rep Power
    0
    How can I get PERL to open a new browser window that has the attributes I want. ie no address bar, no button bar, just the bare frame. I can do it with JavaScript, but can PERL do it?

    ------------------
    Michael
  2. #2
  3. No Profile Picture
    ledjon
    Guest
    Devshed Newbie (0 - 499 posts)
    Only by combining JavaScript and Perl. Perl it's self is not client based at all... JavaScript is.
  4. #3
  5. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    Try this..

    print "Window-target: frame_name_heren";
    print "Content-type: text/htmlnn";
    print "<html>n";
    print "<body>n";
    ...
    put your html attributes with no address bar, no button bar here
    print "</body>n";
    print "</html>n";

    note, the "frame_name_here", if such frame doesn't exist, it might open a new window. I haven't tested this myself, but you can take a try.

    Also check out this page: http://www.devshed.com/Talk/Forums/F...ML/000213.html

    An easier solution is if there is a form, you can specify the target within your form tag:
    <form method="POST" action="script.pl" target="frame_name">
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Azilda,Ontario,Canada
    Posts
    3
    Rep Power
    0
    Thanx for the info I will try that out..
    Jeff

    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by freebsd:
    Try this..

    print "Window-target: frame_name_heren";
    print "Content-type: text/htmlnn";
    print "<html>n";
    print "<body>n";
    ...
    put your html attributes with no address bar, no button bar here
    print "</body>n";
    print "</html>n";

    note, the "frame_name_here", if such frame doesn't exist, it might open a new window. I haven't tested this myself, but you can take a try.

    Also check out this page: http://www.devshed.com/Talk/Forums/F...ML/000213.html

    An easier solution is if there is a form, you can specify the target within your form tag:
    <form method="POST" action="script.pl" target="frame_name">
    [/quote]


IMN logo majestic logo threadwatch logo seochat tools logo