Skip navigation
Currently Being Moderated

The "Home" tab in Spry menu reverts to sub-folder status.

Oct 17, 2012 8:22 PM

Tags: #spry_menu_bar #navigation_errors #navigation_issues #spry_menu_issues #spry_errors #links_issues #link_errors

I have 8 primary selection tabs in my Spry menu. Those pages live in the root folder. All other pages live in a sub-folder called "pages". This setup worked perfectly for months. At some point, and I know not why or exactly when, when I click on a "pages" sub-folder tab and then try to go back to the primary row of tabs, the selection pop-up tells me that the path for any of those on top has changed to http://mywebsite/_pages/Home  and of course an error occurs.  I am using CS6 and I have modified the template several times as well as the index.html file. I have even swapped out all the newly modified pages. But the paths appear to stay exactly as they were when I first noticed them. What else can be causing this problem?

Thanks in advance.

John Oster

  • Currently Being Moderated
    Oct 17, 2012 8:34 PM   in reply to

    Can you provide a link to a page which displays the problem behaviour so we can view it in our browsers?

    Mark as:
  • Currently Being Moderated
    Oct 18, 2012 2:34 PM   in reply to

    Because you are not giving us much to work on, I am assuming that index.html resides in the root directory and the other pages reside in the pages subdirectory. I am also assuming that you have created a template that includes the menu items with relevant links.


    If the above is true, you are best off using absolute links, ie in lieu of

    <a class="MenuBarItemSubmenu" href="../index.html">Home</a>


    <a class="MenuBarItemSubmenu" href="http://www.mysite/index.html">Home</a>

    Mark as:
  • Currently Being Moderated
    Oct 18, 2012 8:06 PM   in reply to

    Please do not start again, you are very close to the solution.


    Have a look at the following scenarios:


    1. If the template shows

    <a class="MenuBarItemSubmenu" href="../index.html">Home</a>

    <a class="MenuBarItemSubmenu" href="about.html">About Us</a>

    <a class="MenuBarItemSubmenu" href="contact.html">Contact</a>

    and the template is applied to index.html which resides in the root folder, none of the links will work. However, if the template is applied to about.html which resides in a subfolder (_pages), then all of the links will work.


    2. If the template shows

    <a class="MenuBarItemSubmenu" href="http://mywebsite/index.html">Home</a>

    <a class="MenuBarItemSubmenu" href="http://mywebsite/_pages/about.html">About Us</a>

    <a class="MenuBarItemSubmenu" href="http://mywebsite/_pages/contact.html">Contact</a>

    then it does not matter where the template is applied, the links will always work, assuming that about.html and contact.html are both located in the _pages subdirectory.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points