Alienware Posted December 29, 2008 Share Posted December 29, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/138797-frameset-problems/ Share on other sites More sharing options...
RussellReal Posted December 29, 2008 Share Posted December 29, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-725771 Share on other sites More sharing options...
Alienware Posted December 29, 2008 Author Share Posted December 29, 2008 lol yeah, sorry about the wrogn place to post then, i just wasnt sure. If anyone can be of any help though it would still be greatly appreciated Quote Link to comment https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-725776 Share on other sites More sharing options...
HoTDaWg Posted December 29, 2008 Share Posted December 29, 2008 ewwww why frames? if your using php, i would use a simple include statement ... Quote Link to comment https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-725779 Share on other sites More sharing options...
RussellReal Posted December 29, 2008 Share Posted December 29, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-725784 Share on other sites More sharing options...
Alienware Posted December 30, 2008 Author Share Posted December 30, 2008 what im wanting is a thin frame on the bottom of the page that shows the file named playonline.php it only needs to be thin as it is only showing the players that are online. But nothigns working with it :s Quote Link to comment https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-725788 Share on other sites More sharing options...
RussellReal Posted December 30, 2008 Share Posted December 30, 2008 <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> Quote Link to comment https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-725798 Share on other sites More sharing options...
Alienware Posted December 30, 2008 Author Share Posted December 30, 2008 where would that fit? i just attached it to the script and it didnt make any difference, nothing happened. Quote Link to comment https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-725805 Share on other sites More sharing options...
RussellReal Posted December 30, 2008 Share Posted December 30, 2008 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> Quote Link to comment https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-725823 Share on other sites More sharing options...
Alienware Posted December 30, 2008 Author Share Posted December 30, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-725837 Share on other sites More sharing options...
Alienware Posted December 30, 2008 Author Share Posted December 30, 2008 I have tried moving a few things round within the code but having no luck. Quote Link to comment https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-725867 Share on other sites More sharing options...
Alienware Posted December 30, 2008 Author Share Posted December 30, 2008 bumping the post up in the hope that someone might be able to help me solve the problem Quote Link to comment https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-725901 Share on other sites More sharing options...
RussellReal Posted December 30, 2008 Share Posted December 30, 2008 <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> Quote Link to comment https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-726002 Share on other sites More sharing options...
Alienware Posted December 30, 2008 Author Share Posted December 30, 2008 thankyou very much!!!! that worked thanks to everyone for their help Quote Link to comment https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-726007 Share on other sites More sharing options...
RussellReal Posted December 30, 2008 Share Posted December 30, 2008 please click the little 'solved' button ty Quote Link to comment https://forums.phpfreaks.com/topic/138797-frameset-problems/#findComment-726013 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.