Snatchy Posted March 25, 2007 Posted March 25, 2007 I know this is probably basic but how do i put a main menu on the right hand side of the page? Quote
twist_killer Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu something like this (if its in a table format) <td width="(number goes here)%" align="center"></td> am not sure but i guess its something like that or just paste the whol script into microsoft front page and hightlight the menu and click right and done! (thats what i do) Quote
CraigF Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu your not able to view your php though are you? Quote
twist_killer Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu just place that in between the php pr something..but why would you want to see the php? for just moving a table? :? Quote
CraigF Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu i know, im just saying, for like when you are creating/editing mods, it would be helpful if you could see it, is there any programs like that? Quote
twist_killer Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu for all the programs i use...nope there isnt any Quote
Jake Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu Omg, just use notepad please ... For the main menu question ... open up header.php, see where it says require/include mainmenu , align left, change that to right. Quote
Snatchy Posted March 25, 2007 Author Posted March 25, 2007 Re: right hand side main menu number 1, don't talk to me like a dickhead thank you very much and number 2.... It doesn't say align left. Number 3, I find it much much easier to code in dreamweaver as it colour codes all your coding and helps you recognise where and when things arn't right so ya can stick ya notepad where the sun don't shine buddy function menuarea() { include "mainmenu.php"; global $ir,$c; print "</td><td valign='top'> "; } that's all there is and when i change top to right or bottom it adjusts where the main page is displayed.....suprise suprise nothing happens Quote
CraigF Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu I find it much much easier to code in dreamweaver as it colour codes all your coding and helps you recognise where and when things arn't right so ya can stick ya notepad where the sun don't shine buddy I use dreamweaver also, it is good program, and notepad does not give you the line numbers, its for retards Quote
Decepti0n Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu you'll have to basically re-write the whole page :\ Quote
Snatchy Posted March 25, 2007 Author Posted March 25, 2007 Re: right hand side main menu Why do i get the feeling that aligning a mainmenu to the right of the page would be so much easier than rewriting the whole thing? Quote
CraigF Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu lol ill check out the code now, gimme a min or 3 Quote
CraigF Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu go to header.php find function menuarea() { include "mainmenu.php"; global $ir,$c; print "</td><td valign='top'> "; replace it with function menuarea() { include "mainmenu.php"; global $ir,$c; print "</td><td valign='bottom'> "; then test it and tell me if it works or what changes, if it changes tell me Quote
twist_killer Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu dude just use frontpage Quote
CraigF Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu how is that meant to help? i just told him what sohuld work Quote
UCC Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu I use dreamweaver also, it is good program, and notepad does not give you the line numbers, its for retards I think you have that backwards. Dreamweaver is for retards who can't troubleshoot their own code. Notepad is for coders who know what they're doing inside and out. Of course sometimes Notepad is being funky and I use wordpad. Quote
CraigF Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu i was joking about the retard things :D dreamweaver gives the line number, notepad puts the little square so you can see where there is an enter, and you cant see the line number Quote
twist_killer Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu he said to me its not about align Quote
Snatchy Posted March 25, 2007 Author Posted March 25, 2007 Re: right hand side main menu lol align bottom didn't work, read the posts... i have already tried that. is all it does is align the main page content to the bottom. Quote
twist_killer Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu the only thing i have for you left is frontpage nothing else man Quote
CraigF Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu oh ok, let me try something else: find function menuarea() { include "mainmenu.php"; global $ir,$c; print "</td><td valign='top'> "; } function endpage() replace: function menuarea() { include "mainmenu.php valign=right"; global $ir,$c; print "</td><td valign='top'> "; } function endpage() why do you want this anyway? Quote
Snatchy Posted March 25, 2007 Author Posted March 25, 2007 Re: right hand side main menu because i want to create another menu on the right hand side of the page! why else? Quote
Snatchy Posted March 25, 2007 Author Posted March 25, 2007 Re: right hand side main menu nope still doesn't work. Quote
Decepti0n Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu why do you guess at random things to make it work :| aligning it to the right is basic html, and since (i think) its tabled, you'll have to move the entire content into the left table cell, and the menu to the right. and how can you vertically align something to the right? Quote
CraigF Posted March 25, 2007 Posted March 25, 2007 Re: right hand side main menu sorry snatchy i dont know, and same lol deception, i was just random things that might work, better then nothing :D Quote
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.