Jump to content
MakeWebGames

Left and right hand menu?


Anubis

Recommended Posts

I cannot seem to get this idea to work out for me. Obviously im new at this lol. What im trying to do is have BOTH a left and a right hand menu with the page text in the center. I know the header needs to be tweaked to do this but all ive been able to acomplish is getting both menus up but with the page text above and below the menus. Has anyone made this work? im kinda at a loss now lol.

Link to comment
Share on other sites

Re: Left and right hand menu?

It should be pretty easy to get it on the right size. The problem, however, is you would have to have a static layout size. That can cause issues being that people use different size monitors and resolutions. Left or Top is much better.

Link to comment
Share on other sites

Re: Left and right hand menu?

There was a huge discussion on this before. I was going to use the solution, but never tried it out. Here are some of the things that were posted in it that I took down in notes.

function menuarea()
{
include "mainmenu.php";
global $ir,$c;
print "</td><td valign='top'>
";
}
function endpage()
{
print "</td>
<td width=10%>";
include_once("mainmenur.php");
echo "</td>
</tr>
</table>
</body>
</html>";
}
}
?>

That is at the end of my header. Note the mainmenur.php. That should be the right side menu.

That is all I have in my notes, so I dont know if that will help or not. It may be a shot in the dark.

 

ok editing to say I found the original topic http://criminalexistence.com/ceforums/i ... ic=2710.30

Link to comment
Share on other sites

Re: Left and right hand menu?

 

I had some parts of the mainmenu on the right and it looked fine, until i clicked things like Mail, Friends list & Black list, and it moves from the right to the bottom of the page. :|

Those pages are missing </table> tags at the end of the pages (before $h->endpage() call) so the layout doesn't close right. Adding said </table> tags will fix this issue.
Link to comment
Share on other sites

Re: Left and right hand menu?

 

I had some parts of the mainmenu on the right and it looked fine, until i clicked things like Mail, Friends list & Black list, and it moves from the right to the bottom of the page. :|

Those pages are missing </table> tags at the end of the pages (before $h->endpage() call) so the layout doesn't close right. Adding said </table> tags will fix this issue.

Gah why didnt i think of that, Thanks dabomstew, +1

Link to comment
Share on other sites

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.   Paste as plain text instead

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