To: "M. Sokolewicz" <tularis@xxxxxxx>
Cc: <php-general@xxxxxxxxxxxxx>
Sent: Monday, November 29, 2004 6:46 PM
Subject: Re: PHP and Frames?
----- Original Message ----- From: "M. Sokolewicz" <tularis@xxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Monday, November 29, 2004 6:34 PM
Subject: Re: PHP and Frames?
Jake McHenry wrote:
----- Original Message ----- From: "Chris W. Parker" <cparker@xxxxxxxxxxxx>sure, but you'd need to somehow distinguis between situations. The easiest would be using a GET var. eg:
To: "Jake McHenry" <linux@xxxxxxxxxxxxxxxxx>; <php-general@xxxxxxxxxxxxx>
Sent: Monday, November 29, 2004 6:26 PM
Subject: RE: PHP and Frames?
Jake McHenry <mailto:linux@xxxxxxxxxxxxxxxxx> on Monday, November 29, 2004 2:41 PM said:
Was just wondering if it is possible to create dynamic frames within a page. Like have 3 output sequences, one for frame source, then 2 for actual pages?
Frames and PHP are not interdependent on eachother. Each frame within the frameset can be a PHP page if you need them to be.
Or do frames have to have an actual page to load?
I'm sorry but I don't understand what you mean by "an actual page to load". A frame within a frameset can load anything the regular browser window can load.
Also, since this is not really PHP related (unless I'm missing the point) you might like to try an a general web design list instead. Or you could email me off list.
Chris.
Right now I only have 1 php file, which is outputing all of the html. Is there a way I can have that 1 php file output the frame source page, along with the links, header, and target page? As I said, I could have the php file output the html to the actual files, but is there a way I have have all this in 1 php file? That's what I'm asking I guess....
Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com (570) 748-6611 x108
<frameset src="page.php?id=top"><frameset src="page.php?id=left">
and in the page.php: switch($_GET['id']) { case 'top': // html for top break;
case 'left': // html for left break; } etc.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
ok, this helps on what I just emailed.. missed this... I'll try it and let you know.
Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com (570) 748-6611 x108
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for the help everyone. I got it working the way I wanted. the links on the left are auto generated by the php file, which outputs them to the content frame, all in one php file. Wasn't as hard as I thought.. like I said.. it's been a long day. Probably could have figured it out after some sleep........
Thanks,
Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com
(570) 748-6611 x108
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php