Forum Moderators: coopster

Message Too Old, No Replies

Why won't my include file menu show?

         

Cate

10:13 pm on Apr 13, 2009 (gmt 0)

10+ Year Member



Let me preface this question with "clearly, I am not a web developer" I know enough to get myself in trouble...which I do with alarming regularity.

I have an existing website, which has a LOT of pages, too many to count. It's been running with a navigation menu as a php include file for years. I'm wanting to change the menu, and have found one I like which I started to modify and then decided I should probably make sure I could make it work as an include before going to far.

The menu works just fine on it's own, no problems. When I try to insert it where the old menu used to be on a page, it just doesn't show up. I'd like an error of some sort so I know what to look for, but alas.

If anyone can assist at all I would really appreciate it.

Many, many thanks in advance!
Cate

[edited by: eelixduppy at 1:44 am (utc) on April 14, 2009]
[edit reason] removed URLs. See TOS [/edit]

g1smd

12:02 am on Apr 14, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Are you aware that Google, etc, will not follow a javaScript generated menu? They don't see the links at all in those.

I'd look to something that uses normal type HTML anchor links and which is styled by CSS for the effects that you are looking for.

The page is very code-heavy, and there is a very long time gap after the logo loads before anything else is seen. That will see some visitors bounce as they think nothing is happening.

Cate

12:18 am on Apr 14, 2009 (gmt 0)

10+ Year Member



Hmm, no I wasn't aware. The existing (old) menu doesn't have that problem, does it?

I'm glad I know, but I really like that menu :( I can get the same effect without the javascript? I don't like the way the existing menu displays the child categories.

Hats off to you all that do this for a living... you have far greater patience than I.

rocknbil

12:21 am on Apr 14, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome aboard Cate!

I know enough to get myself in trouble....I'll start by posting the page links (if that's ok?)

Yep, like most of us . . . and no! :-) See #13 [webmasterworld.com]

Try putting this at the top of your errant PHP files:

error_reporting(E_ALL);
ini_set('display_errors', '1');

Slinger

11:22 pm on Apr 16, 2009 (gmt 0)

10+ Year Member



could be many things such as....the filename in the java doesnt match anymore.....or.... width/height amounts in the code have to be right....