Jump to content

frames


brown2005

Recommended Posts

echo'<FRAMESET cols="800, 200" border="0" frameborder="0" framespacing="0">';

echo' <FRAME src="main.php" name="main" scrolling="auto" frameborder="0" noresize>';   

echo' <FRAME src="sponsors.php" name="sponsors" scrolling="no" frameborder="1" noresize>';

echo'</FRAMESET>';

 

i have the above frame

 

but when i click on a link in main.php

 

it creates

 

echo'<FRAMESET cols="800, 200" border="0" frameborder="0" framespacing="0">';

echo' <FRAME src="main.php" name="main" scrolling="auto" frameborder="0" noresize>';   

echo' <FRAME src="sponsors.php" name="sponsors" scrolling="no" frameborder="1" noresize>';

echo' <FRAME src="sponsors.php" name="sponsors" scrolling="no" frameborder="1" noresize>';

echo'</FRAMESET>';

 

as frames, ne ideas why?

Link to comment
https://forums.phpfreaks.com/topic/40431-frames/
Share on other sites

  • 2 weeks later...

DO NOT USE FRAMES. They can still be used, but they are useless and old. I remember netscape 2.0 was the first frame based browser. That has now changed and sooner or later it will not function properly. Take my word and use tables instead. Then use php include file for each cell. It does the same exact thing, but is more modern!

Link to comment
https://forums.phpfreaks.com/topic/40431-frames/#findComment-203126
Share on other sites

  • 2 weeks later...

If you want to use frames, the alternate route I would go is with DIV tags and use library(.lbi) items instead of frames. Define your DIV display width, height and position and then insert the library items into the DIV using a template page. Then instead of your "main" frame you have a "main" DIV id that you can edit. Makes all pages seemingly fluid.

Link to comment
https://forums.phpfreaks.com/topic/40431-frames/#findComment-212356
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.