Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 9th, 2000, 10:51 PM
acorn acorn is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 5 acorn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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

Reply With Quote
  #2  
Old July 9th, 2000, 11:04 PM
ledjon
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Only by combining JavaScript and Perl. Perl it's self is not client based at all... JavaScript is.

Reply With Quote
  #3  
Old July 10th, 2000, 02:04 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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/Forum6/HTML/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">

Reply With Quote
  #4  
Old August 2nd, 2000, 07:39 AM
night_killer night_killer is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Azilda,Ontario,Canada
Posts: 3 night_killer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanx for the info I will try that out..
Jeff
URL
<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/Forum6/HTML/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]


Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > Browser attributes


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway