By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,516 Members | 1,107 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,516 IT Pros & Developers. It's quick & easy.

Menu bar link does not open the specified php

Undertkr
P: 4
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
Share this Question
Share on Google+
6 Replies


Atli
Expert 5K+
P: 5,058
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
P: 4
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
Expert 5K+
P: 5,058
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
P: 4
I tried your suggestions, it removes the meu bar completely.
Apr 30 '10 #5

Atli
Expert 5K+
P: 5,058
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
P: 4
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

Post your reply

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