RE: [PHP-WIN] using frames
| From: | Matt Hillebrand | Date: | Sat, 22 Feb 2003 01:49:25 +0000 |
| Subject: | RE: [PHP-WIN] using frames | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18668@lists.php.net to get a copy of this message | ||
This is a client-side programming issue, so you would use JavaScript and
not PHP. I guess you could do something like:
<a href="blah.php" onClick="parent.document.title='The Blah
Page'">blah</a>
It can be fun/challenging to dynamically create javascript code with
PHP. I sometimes like to use borderless iframes (not frames). That way
the client-side javascript code can interact with a server-side PHP
script in order to change the content on the screen without changing the
location of the web browser (and without the appearance of frames).
Matt
|-----Original Message-----
|From: Andrew Ferguson [mailto:andrew@fergcorp.com]
|Sent: Friday, February 21, 2003 7:31 PM
|To: php-windows@lists.php.net
|Subject: [PHP-WIN] using frames
|
|
|I want to build a website with frames and have PHP call up the
|data from a mySQL database. However, I also want the title to
|change every you click a different link in the frame. Any ideas?
|
|
|
|--
|PHP Windows Mailing List (http://www.php.net/)
|To unsubscribe, visit: http://www.php.net/unsub.php
|
|
|