Jump to content

Frameset Problems


Alienware

Recommended Posts

Ok so i have researched and tried all sorts of things that i found, but i just cannto work out how to add another frame to my frameset, i was a frame that runs across the bottom of each page, if anyone can help me it would be appreciated!

 

here is the code-

 

<?php
require("connections/db.php");
require("connections/require.php");
?>
<html>
<head>
<title>.:: NY Mobster ::. Welcome - <? echo $player;?></title>
</head>
<frame src="stats.php" name="stats" scrolling="no" noresize="noresize" />
</frameset>
<frameset rows="120,*" cols="*" framespacing="0" frameborder="no" border="0">
<frameset rows="120,*" cols="*" framespacing="0" frameborder="no" border="0">
<frame src="banner.php" name="banner" scrolling="no" noresize="noresize" />
</frameset>





<frameset rows="0" cols="*" framespacing="0" frameborder="no" border="0">
<frameset rows="*" cols="260,*" framespacing="0" frameborder="no" border="0">
<frame src="menu.php" name="left" noresize="noresize" />
<frameset rows="*" cols="*" framespacing="0" frameborder="no" border="0">
<frame src="main.php" name="main" />
</frameset>


</frameset>
</frameset>
</frameset>
</frameset>
<noframes>
<p align="center"><strong>Your browser doesn't support frames, please download a newer version.</strong></p>
</noframes>
</html>

 

Its infuriating, i keep trying and nothings working with it.

 

Thanks people :)

Link to comment
https://forums.phpfreaks.com/topic/138797-frameset-problems/
Share on other sites

oh my god thats alot of frameset tags.. lol

 

<frameset cols="260,*" framespacing="0" frameborder="no" border="0">
<frame src="menu.php" name="left" noresize="noresize" />
<frame src="main.php" name="main" />
</frameset>

 

this is not a php question btw.. just letting you know

Link to comment
https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-725771
Share on other sites

the frameset I posted is a 2 frame frameset, 1 frame on the left, 1 frame on the right.. if you mean you want to add another frame? then just change

 

cols="260,*"

To like

 

cols="260,*,260"

 

and add the next frame after the last frame

Link to comment
https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-725784
Share on other sites

<frameset rows="*,10" cols="260,*" framespacing="0" frameborder="no" border="0">

  <frame src="menu.php" name="left" noresize="noresize" />

  <frame src="main.php" name="main" />

  <frameset cols="100%" frameborder="0">

    <frame src="playonline.php" />

  </frameset>

</frameset>

Link to comment
https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-725798
Share on other sites

that would be your whole frameset...

 

<?php
require("connections/db.php");
require("connections/require.php");
?>
<html>
<head>
<title>.:: NY Mobster ::. Welcome - <? echo $player;?></title>
</head>
<frameset rows="*,10" cols="260,*" framespacing="0" frameborder="no" border="0">
  <frame src="menu.php" name="left" noresize="noresize" />
  <frame src="main.php" name="main" />
  <frameset cols="100%" frameborder="0">
    <frame src="playonline.php" />
  </frameset>
</frameset>
<noframes>
<p align="center"><strong>Your browser doesn't support frames, please download a newer version.</strong></p>
</noframes>
</html>

Link to comment
https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-725823
Share on other sites

it didnt work properly

 

<frameset rows="*,10" cols="260,*" framespacing="0" frameborder="no" border="0">
  <frame src="menu.php" name="left" noresize="noresize" />
  <frame src="main.php" name="main" />
  <frameset cols="100%" frameborder="0">
    <frame src="playonline.php" />
  </frameset>
</frameset> 

 

that neary worked, exept that instead of putting the page in the new frame at the bottom of the page which is now just  white space, it has put the page underneath the menu bar with a little scroll bar going down

Link to comment
https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-725837
Share on other sites

<frameset rows="*,10" cols="*" framespacing="0" frameborder="no" border="0">

  <frameset cols="260,*" frameborder="0">

    <frame src="menu.php" name="left" noresize="noresize" />

    <frame src="main.php" name="main" />

  </frameset>

  <frame src="playonline.php" />

</frameset>

 

Link to comment
https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-726002
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.