Jump to content

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

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.