473,471 Members | 1,905 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Menu bar link does not open the specified php

Undertkr
4 New Member
I just installed SMF today with out any real hitches, except for this one... I have a menu bar on my site and the link in the bar does not open the Forum, instead it goes to my opening page of my web?!? If I type marbleorchards.com/Forum while on the site it works. Any ideas? Thanks.
Note: the first page on my site is an "index.php", and it is this one that it goes to.
Apr 30 '10 #1
6 1609
Atli
5,058 Recognized Expert Expert
Hey.

Can you show us the code that is causing the problem?

I tried entering your site, but there seems to be something wrong with the forum link in the menu. When you hover over it, it just blinks and then automatically refreshes the page without me clicking it.

And, to make matters worse, you seem to have disabled right-clicking, making it that much harder to figure out what is going on. Meaning; it prevents me from using Firebug to quickly view the markup. The button to do that is in the right-click menu, which you have disabled. And being a JS generated menu, only enabled when the mouse is over it, navigating there manually is not an easy task.

P.S.
Disabling right-clicking does nothing more than annoy users. If you think this protects any content on your site from being stolen, or your markup/code from being viewed, you are gravely mistaken. - All this does is annoy people. Nothing more. (And annoyed users tend to leave, and stay gone.)

I highly recommend against doing this.
Apr 30 '10 #2
Undertkr
4 New Member
Hi, Thanks for reminding me about the right click, I am re-doing the web. When I get back later today I will take care of that.
The issue is the link to the "Forum" as you pointed out. The code in the link is: http://www.marbleorchards.com/Forum/. As you state, it goes back to the opening page. It should go to the "Forum".
Apr 30 '10 #3
Atli
5,058 Recognized Expert Expert
Ok, if you look at the HTML markup, there is a <div> with the ID "N55".

It's onmouseover attribute is set like this:
Expand|Select|Wrap|Line Numbers
  1. cFrame.f32(0,this);cFrame.execURL('','_self');
I can only surmise that the execURL method is meant to redirect the page, but that it is not meant to be in this event callback.

Try removing that call, changing the event to:
Expand|Select|Wrap|Line Numbers
  1. cFrame.f32(0,this);
Apr 30 '10 #4
Undertkr
4 New Member
I tried your suggestions, it removes the meu bar completely.
Apr 30 '10 #5
Atli
5,058 Recognized Expert Expert
Are you sure you edited the correct element? I made the same modification using Firebug and it fixed the problem. The link worked as expected.

Show us the code you are using, after the modification. We might be able to help spot the problem.
May 1 '10 #6
Undertkr
4 New Member
I edited the iemenu.js in WE3. I am in the deep end of the pool and not too sure about working with php's, thanks for the help.
http://marbleorchards.com/DigiPics/General/Code.txt
May 1 '10 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Bizt | last post by:
Hi, I would like to create a menu where the menu options were taken from an XML file. The reason is that I would be able to update the xml file (by simply adding new child nodes) after I...
1
by: ajay | last post by:
I have following code for a slide menu but i twiked it to work for a single level menu. Open it in a Browser to get a clear picture. I have 2 Qs 1) How to make first entry as non-link. i.e i...
0
by: vikram.cvk | last post by:
Hello Experts, Im trying to design a CSS vertical drop down menu which should have the following functionality. Home About Us | -->Overview
14
by: Don G | last post by:
Within the menu for my site, I have inserted 'class="current"' within the link for the current page. So the link looks somthing link: <li><a href="index.php" class="current">Home</a></li> The...
3
by: Mark Constant | last post by:
I am taking a Javascript course online. We are learning to create drop-down menus with <div> layers. The problem is that the way the books teachers us to get the dropdown menu to work you have to...
2
by: Jackson Yap | last post by:
can someone kind enough to help me look at the attached html and js file? Why is it that the javascript menu could not work at www.apchosting.net but could work at...
3
by: unurban | last post by:
I have a javascript menu based off of unordered lists that only shows the subnav links when you click on the main nav links. is there a way to keep any subnav items open after you click on a link...
0
by: =?Utf-8?B?SmltSGVhdmV5?= | last post by:
I am have a ASP:Menu with static and dynamic menu items. Each of the static items has dynamic menu items. If the user clicks on a static menu item, which has no click event, then menu item...
4
by: tburger | last post by:
Hey everyone- This is my first post at The Scripts, but I've used the forums before for other programming issues. Hopefully, someone has some solid styling advice for me. I've now been dealing...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.