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 December 21st, 2000, 06:27 PM
bigoshi bigoshi is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 0 bigoshi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi!

I've just started to use Perl.
Now, I've the following problem:

Say, I wanna have a web site seperated into two frames (an upper and a lower one). The upper frame contains kinda navigation bar with several buttons. When clicking on a buttons it will change its picture and stays that way. Meanwhile the lower frame switches to the responding URL.

How can you do that using Perl ?
I did it using JavaScript before, but JavaScript can (and should) be turned off...

Thanx for any hints.

Reply With Quote
  #2  
Old December 22nd, 2000, 09:08 AM
luciddream luciddream is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: Ft. Lauderdale, FL, US
Posts: 29 luciddream User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
well, if the people have activeperl installed, you can use client-side perlscript for dhtml, but, i suggest javascript for this... everyone has it, and you dont need to make a round trip to the server just to change an image.

Reply With Quote
  #3  
Old December 22nd, 2000, 10:45 AM
Anonym0us Anonym0us is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 0 Anonym0us User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by bigoshi:
Hi!

I've just started to use Perl.
Now, I've the following problem:

Say, I wanna have a web site seperated into two frames (an upper and a lower one). The upper frame contains kinda navigation bar with several buttons. When clicking on a buttons it will change its picture and stays that way. Meanwhile the lower frame switches to the responding URL.

How can you do that using Perl ?
I did it using JavaScript before, but JavaScript can (and should) be turned off...

Thanx for any hints.
[/quote]


Tell me, why should JavaScript be turned off? That's the sillies thing I have heard recently.

Reply With Quote
  #4  
Old December 25th, 2000, 08:30 PM
Dingle Dingle is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 452 Dingle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 43 m 12 sec
Reputation Power: 8
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by Anonym0us:

Tell me, why should JavaScript be turned off? That's the sillies thing I have heard recently.
[/quote]

yeah thats got me scratching my head too...

Reply With Quote
  #5  
Old December 26th, 2000, 08:23 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>...Meanwhile the lower frame switches to the responding URL

Why don't you reload the entire frameset?

>>How can you do that using Perl ?

Check out this simple example which might help you in some ways -> http://www.devshed.com/Talk/Forums/Forum6/HTML/000354.html

Reply With Quote
  #6  
Old December 26th, 2000, 08:56 AM
bigoshi bigoshi is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 0 bigoshi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
First of all thanx for your comments...

To freebsd:

I've tried to do it this way before, but I discovered a problem when using the browsers reload function on that kinda site.

On reload the browser always had problems displaying the page - without showing any error message.
Perhaps anyone knows THAT problem. It only appeared when using the "overall most used browser": Microsoft's Internet Explorer.
Opera 5 didn't seem to have this problem though - the site just worked fine.

BiG OSHi

Reply With Quote
  #7  
Old December 26th, 2000, 08:24 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>On reload the browser always had problems displaying the page


What kind of display problem?
If you already checked out my example, you would see I didn't use any JavaScript at all. When you call up http://www.domain.com/xyz.pl directly, the frameset output would re-request the script two additional times for the appropriate frames (with the predefined query string).
Note, no static html pages at all, all pages including frameset page should be created on the fly. Of course, if you want your top frame to be a static page, just rewrite it to the frameset section.

Say hotmail, the entire frameset is reloaded whenever you click on something.


[This message has been edited by freebsd (edited December 26, 2000).]

Reply With Quote
  #8  
Old December 27th, 2000, 04:46 AM
bigoshi bigoshi is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 0 bigoshi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Well, now it works...

I wrote quite the same code before I posted my first question here 'cause it didn't work then...yours obviously works fine...I don't get it...

Nevertheless, thanx for your help !

BiG OSHi

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > Perl and 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