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
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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.