Skip to main content
Participant
August 22, 2020
Question

Need Help with Navigation Mystery

  • August 22, 2020
  • 2 replies
  • 299 views

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 has been closed for replies.

    2 replies

    B i r n o u
    Legend
    August 23, 2020

    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

     

    Nancy OShea
    Community Expert
    Community Expert
    August 22, 2020

    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.

     

    Nancy O'Shea— Product User & Community Expert
    Participant
    August 22, 2020

    I haven't published the website yet.