Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/136362-quick-menu/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711441
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711459
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711464
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711506
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711510
Share on other sites

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*

Link to comment
https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711511
Share on other sites

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 "*"

Link to comment
https://forums.phpfreaks.com/topic/136362-quick-menu/#findComment-711529
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.