Results 1 to 4 of 4
Thread: Shared borders/Frames...
Enjoy an ad free experience by logging in. Not a member yet? Register.
If not, no biggie, but I would still like to keep the dynamic feel of PHP with the cool look of Frames. Is there a trick to dynamically creating frames as well as the HTML that PHP is so good for?
- Join Date
- Oct 2001
- Täby, Sweden
What kind of frames are you referring to? If you just mean normal <frameset>s, then just generate it as you would with any other HTML?
- Join Date
- Apr 2003
Yeah, i didnt understand the question really either....you just type the html code as you should have done without php.Regards
Sorry if that was too vague. Here is a better example. Lets say this BB that we communicate through, being native PHP, all the sudden had a frame on the left. This frame could contain links to the rest of the posts, instead of having to go back to the main page to look at the top level headings. This is what I would consider dynamically created html. I can only assume that the code(simplified) would be something in the order of:
<html> <?php print(<frameset cols="30%, * border=0> <frame name="foo1" src=$PHP_SELF.somepart> <frame name="foo2" src=$PHP_SELF.someotherpart> </frameset> ?> </html>
The second part for me to be clearer on is the Shared Border bit. This seems like a Microsoft thing. Apparently Google/Inkatomi doesn't crawl Frames properly. The bot only crawls the frameset page, but not the content, i.e. the pages that the frameset bucket calls to fill the frames.
I really don't care as much about that as I do about the dynamic feeling of 100% PHP.