Skip to main content
Participant
Aug 22, 2020 8:49 PM UTC
Question

Need Help with Navigation Mystery

When I cut and paste my navigation code, it works for all 12 pages on my website except two: home page and contact page. The drop down menu doesn't work for one dropdown item and the hamburg doesn't work. I've tried everything I can think of, including deleting the rest of the coding for both pages to see if there was an error somewhere. Any ideas?

    This topic is closed to new replies. Start a new post to keep the conversation going.

    6 replies

    B i r n o u
    Legend
    Aug 23, 2020 12:18 PM UTC

    I guess when you talk about copy and paste, that's just the portion of the navigation menu you're talking about.
    A few questions then:
    1- did you also include the necessary script files, css and other external files in the pages where the menu doesn't work?
    2 - did you include the initialization script (usually at the bottom of the page or in the main javascript onload) to instantiate the menu
    3 - when the menu HTML code is pasted in the hosting page, is it well pasted nested within a welcome tag and not straddling between two bad tags?
    4 - are the home and contact pages at the same level as the other pages that work correctly ? and if not could break the external file paths

     

    Translate
    Nancy OShea
    Community Expert
    Community Expert
    Aug 22, 2020 8:54 PM UTC

    What's the URL to your problem page online please?

     

    Meanwhile, validate the code in your documents and fix all reported errors.  Go to Window > Results > Validation. See screenshot.

     

    Translate
    Nancy O'Shea— Product User & Community Expert
    Participant
    Aug 22, 2020 9:07 PM UTC

    I haven't published the website yet. 

    Translate