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:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old August 28th, 2000, 02:45 AM
raghuramb raghuramb is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Chennai,TamilNadu,India
Posts: 33 raghuramb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Hi All

Can anyone tell me how to embed Frames in PERL Script.

I've used the following lines in my PERL script.

print "<frameset rows='100%' cols='145,*', frameborder=0 border=0 framespacing=0>";
print "<frame name='myframemenu' src='1.html'
scrolling='auto' marginheight=1 noresize>";
print "<frame name='myframemain' src='xyz.pl'
marginheight=1 marginwidth=10>";
print "</frameset>";

It works exactly in HTML, but not when embedded in PERL.

TA
Raghu.

Reply With Quote
  #2  
Old August 28th, 2000, 03:36 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>It works exactly in HTML, but not when embedded in PERL

You need to add this line ->
print "Content-type: text/htmlnn";

Check this out -> http://www.devshed.com/Talk/Forums/Forum6/HTML/000354.html

If you need to find out more about frame in Perl, click the search link on this page, type "frame" as "Search Word", then enter my username at "Search by User Name".

Reply With Quote
  #3  
Old August 29th, 2000, 04:36 AM
raghuramb raghuramb is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Chennai,TamilNadu,India
Posts: 33 raghuramb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Hi freebsd

As per your suggestion, I've used

print "Content-type: text/htmlnn";

at the top of my script as

print "Content-type: text/htmlnn";
print "<frameset rows='100%' cols='145,*', frameborder=0 border=0 framespacing=0>";
print "<frame name='myframemenu' src='1.html'
scrolling='auto' marginheight=1 noresize>";
print "<frame name='myframemain' src='xyz.pl'
marginheight=1 marginwidth=10>";
print "</frameset>";

But I'm not getting the result what i've expected. I'm getting the

Content-type: text/html

printed on the page.

Can you recommend me more how to do it.

TA
Raghu.

Reply With Quote
  #4  
Old August 29th, 2000, 06:22 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>But I'm not getting the result what i've expected

How about running xyz.pl alone?
What your script supposed to do?
What do you expect it to do?
What is the name of your script?

>>print "<frame name='myframemain' src='xyz.pl'

Make sure you don't named your script xyz.pl as specified above, otherwise you are executing your script twice.

If you checked out -> http://www.devshed.com/Talk/Forums/Forum6/HTML/000354.html , then copy my script example and named it xyz.pl, then run it and see.
(Note: You don't need any STATIC pages prepared prior to running xyz.pl)

>>I'm getting the Content-type: text/html
On which frame page?

Reply With Quote
  #5  
Old September 2nd, 2000, 07:55 AM
raghuramb raghuramb is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Chennai,TamilNadu,India
Posts: 33 raghuramb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Thanx freebsd. Frames work fine in PERL now. Now i stuck up in another problem. I've posted my problem in the forum as new topic.

Plz read that topic and post the reply.

If possible can you come into chat or give your email id to clear some doubts regarding this.

TA
Raghu.

Reply With Quote
  #6  
Old September 2nd, 2000, 02:37 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>If possible can you come into chat or give your email id to clear some doubts regarding this.

Sorry I can't.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > Whether PERL supports Frames


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