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 21st, 2000, 07:18 AM
Keshav Keshav is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Chennai, Tamilnadu, India
Posts: 19 Keshav User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hello Friends,

I am developing a web based email project using Perl. I am having a file called xyz.pl.
In which i can initially log in with username and password. then i am getting into the inbox. On LHS i am having a menu which has inbox, compose, address book etc. If i have lot of messages in the mail box i am getting alignment problem. So i have decided to use frames. I used frames and it is not working properly. Can anyone help me?
Waiting for an earlier feedback.

Cheers

Keshav

Reply With Quote
  #2  
Old August 21st, 2000, 07:36 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>I used frames and it is not working properly

Anything related to target and perl? Start here-> http://www.devshed.com/Talk/Forums/Forum6/HTML/000332.html

If it's simply a frame question, please go to HTML or JavaScript forum.

Reply With Quote
  #3  
Old August 21st, 2000, 07:45 AM
Keshav Keshav is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Chennai, Tamilnadu, India
Posts: 19 Keshav User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hello

I know how to use it in html. I want to know how to use it in a perl script. i am using two frames. in which file i should use the frames. My file is located at ../cgi-bin/xyz.pl. Here i can login and get into inbox. that is also xyz.pl. If i use frames what should be the name of the main program. Waiting for the reply.

Thanks
Keshav

Reply With Quote
  #4  
Old August 21st, 2000, 08:49 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
############################################
#!/usr/local/bin/perl

print "Content-type: text/htmlnn";

if ($ENV{'QUERY_STRING'} eq "left") {
print "<body bgcolor=yellow>n";
print "This is left framen";
print "</body>n";
# replace these with your subroutine here
# add the appropriate frame target or form target here
}
if ($ENV{'QUERY_STRING'} eq "right") {
print "This is right framen";
# replace these with your subroutine here
# add the appropriate frame target or form target here
}

if ($ENV{'QUERY_STRING'} eq "") {
print "<html>n";
print "<frameset frameborder=0 border=no framespacing=0 cols="18%,*">n";
print "<frame name=left scrolling=auto src=xyz.pl?left>n";
print "<frame name=right src=xyz.pl?right>n";
print "</frameset>n";
print "</html>n";
}
############################################

If this is not what you are trying to do, please be more specific of what is not working properly since you never specified what was the problem.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > How to use frames in perl programming?


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