Alienware Posted December 10, 2008 Share Posted December 10, 2008 Ok this may be a problem that no one can help me with but its worth a try. On my website there is a menu bar, im wanting to take the menu bar off, as i have added al the links it has on it into the banner. I have no idea how to alter the page menu's and take them off, anyone know how to do this? is there a file i should look for? I didnt build the website from scratch so i dont know that bit. Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/ Share on other sites More sharing options...
rhodesa Posted December 10, 2008 Share Posted December 10, 2008 can you post a link to the and/or the code for the page? Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711425 Share on other sites More sharing options...
Brian W Posted December 10, 2008 Share Posted December 10, 2008 do you have a visual editor? in most programs you can hist Ctrl-f and then search for a word like "menu" and the original maker of the code may have conveniently named it "menu" or atleast made a comment with that word. If not, use something like to FireBug to get the elements name and then search for that. Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711441 Share on other sites More sharing options...
bluesoul Posted December 10, 2008 Share Posted December 10, 2008 Aye, posting some code would help us do more than make guesses. Typically a menu bar would indicate a table so it may be wrapped in <tr> tags but that's speculation at best. Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711446 Share on other sites More sharing options...
Alienware Posted December 10, 2008 Author Share Posted December 10, 2008 ah yes i should probably mention that the menu bar is contained somewhere in the files that i have no idea, i know where the file is itself, but not the page that attaches it to the site. The site is broken up into two menu's. and a page in between them, when you click a link, the page loads in the page in the middle, but the menu's dont change, they are a seperate page altogether. I just have no idea where the page is that holds it all together. Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711459 Share on other sites More sharing options...
bluesoul Posted December 10, 2008 Share Posted December 10, 2008 ah yes i should probably mention that the menu bar is contained somewhere in the files that i have no idea, i know where the file is itself, but not the page that attaches it to the site. The site is broken up into two menu's. and a page in between them, when you click a link, the page loads in the page in the middle, but the menu's dont change, they are a seperate page altogether. I just have no idea where the page is that holds it all together. What I would do then, is view the source of the rendered page, look for the menu code, and then search your site for that same bit of code. Dreamweaver can search an entire site's worth of text and if you find a unique enough line you can even do it in Windows Search. Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711464 Share on other sites More sharing options...
rhodesa Posted December 10, 2008 Share Posted December 10, 2008 so it uses frames? in FF, you can right click on a frame, go to "This Frame" and then "Open Frame in New Window". This will isolate the frame, you will see the URL for it in the location bar of the browser Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711467 Share on other sites More sharing options...
Brian W Posted December 10, 2008 Share Posted December 10, 2008 in IE, find the frame in the code (view source), their should be a tag on the frame for the source which I can't think of the tag name. Post a link and one of us FF users could rock that site in 10 seconds. lol Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711475 Share on other sites More sharing options...
Alienware Posted December 10, 2008 Author Share Posted December 10, 2008 here is the site adress- www.ny-mobster.net username: register password: register Im trying to get rid of the "briefcase" on the right hand side. Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711499 Share on other sites More sharing options...
rhodesa Posted December 10, 2008 Share Posted December 10, 2008 remove the following line from login.php: <frame src="statbar.php" name="rightFrame" scrolling="yes" scrollbar="left" noresize="noresize" /> if that line isn't there, then post the code for login.php Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711502 Share on other sites More sharing options...
Brian W Posted December 10, 2008 Share Posted December 10, 2008 brief case is on page http://www.ny-mobster.net/statbar.php find login.php > that page should have <frame scrolling="yes" noresize="noresize" scrollbar="left" name="rightFrame" src="statbar.php"/> thats the piece you need to get rid of. but, you can't just simply delete the line because I think it will f with your frames. you'll need to use proper html but there it is. btw missing } after function body http://www.ny-mobster.net/menu.php Line 105 Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711506 Share on other sites More sharing options...
Alienware Posted December 10, 2008 Author Share Posted December 10, 2008 <?php require("connections/db.php"); require("connections/require.php"); ?> <html> <head> <title>.:: NY Mobster ::. Welcome - <? echo $player;?></title> </head> <frameset rows="110,*" cols="*" framespacing="0" frameborder="no" border="0"> <frameset rows="110,*" 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="175,*" framespacing="0" frameborder="no" border="0"> <frame src="menu.php" name="left" noresize="noresize" /> <frameset rows="*" cols="*,160" framespacing="0" frameborder="no" border="0"> <frame src="main.php" name="main" /> <frame src="statbar.php" name="rightFrame" scrolling="yes" scrollbar="left" noresize="noresize" /> </frameset> </frameset> </frameset> <noframes> <p align="center"><strong>Your browser doesn't support frames, please download a newer version.</strong></p> </noframes> </html> all im wanting to do is take off the briefcase. Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711510 Share on other sites More sharing options...
premiso Posted December 10, 2008 Share Posted December 10, 2008 brief case is on page http://www.ny-mobster.net/statbar.php find login.php > that page should have <frame scrolling="yes" noresize="noresize" scrollbar="left" name="rightFrame" src="statbar.php"/> thats the piece you need to get rid of. but, you can't just simply delete the line because I think it will f with your frames. you'll need to use proper html but there it is. btw missing } after function body http://www.ny-mobster.net/menu.php Line 105 Frames are outdated. Redesign the site with CSS 2.0 and make it much more appealing =) My 2 cents. *shivers at the use of frames* Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711511 Share on other sites More sharing options...
rhodesa Posted December 10, 2008 Share Posted December 10, 2008 all im wanting to do is take off the briefcase. does that mean you want to keep that right column, and everything in it, just remove the very top part? so keep everything from Inbox, Playername, and below? post the code for statbar.php Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711519 Share on other sites More sharing options...
Alienware Posted December 10, 2008 Author Share Posted December 10, 2008 no i just want to take off the whole right frame. So that all is left is the menu frame and the main frame. 3 frames makes it look cluttered Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711523 Share on other sites More sharing options...
rhodesa Posted December 10, 2008 Share Posted December 10, 2008 remove the following line from login.php: <frame src="statbar.php" name="rightFrame" scrolling="yes" scrollbar="left" noresize="noresize" /> Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711528 Share on other sites More sharing options...
Brian W Posted December 10, 2008 Share Posted December 10, 2008 damn dude, should be doing this stuff yourself. lol <?php require("connections/db.php"); require("connections/require.php"); ?> <html> <head> <title>.:: NY Mobster ::. Welcome - <? echo $player;?></title> </head> <frameset rows="110,*" cols="*" framespacing="0" frameborder="no" border="0"> <frameset rows="110,*" 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="175,*" 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> <noframes> <p align="center"><strong>Your browser doesn't support frames, please download a newer version.</strong></p> </noframes> </html> that should do it. rhodesa, you also have to change "*, 160" to just "*" Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711529 Share on other sites More sharing options...
Alienware Posted December 10, 2008 Author Share Posted December 10, 2008 lol im stil learning i guess, thank for that, it worked. thankyou for wrking this out for me, i would be lost without this site lol Quote Link to comment https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711534 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.