• On my phone (Windows 8.1), tapping the Navigation dropdown brings a proper looking menu, but the first entry in the menu says Navigation, and if you tap this (or tap Back) it comes up with a Server error 404 (file or directory not found).

    This happens on my site, and on the Modality demo on the VpThemes site at vpthemes.com/portfolio/modality (and on every other page on the vpthemes.com site!).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hopesoftuk

    (@hopesoftuk)

    I suspect this just affects Windows phones. The problem is that the code you generate for the menu is

    <select id="tinynav1" class="tinynav tinynav1">
      <option>Navigation</option>
      <option value="https://vpthemes.com">Home</option>
      <option value="#">Themes</option>

    It looks like the Windows phone browser is returning a value of ‘Navigation’ for the first option, you treat this as a URL and try to go to https://vpthemes.com/Navigation. If you change it so that the first entry says:
    <option value="#">Navigation</option>
    that may solve it.

    But this is something you must fix.

    Thread Starter hopesoftuk

    (@hopesoftuk)

    Looking further, https://www.w3.org/html/wg/drafts/html/master/semantics.html#the-option-element says:

    The value attribute provides a value for element. The value of an option element is the value of the value content attribute, if there is one, or, if there is not, the value of the element’s text IDL attribute.

    So it looks as though the phone browser is doing the right thing.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Theme: Modality] Responsive mobile menu link gives 404’ is closed to new replies.