• Resolved pacothelovetaco

    (@pacothelovetaco)


    I am using javascript to animate my sidebar menu items. All links are being hard coded and not generated dynamically. See example here:

    http://test.vidaweb.org

    What I want to do is break up site pages into subpages. For example, everything in the about section would be a subpages to the parent page About. However, whenever I give a page a parent, it breaks my javascript, and the sidebar menu no longer works properly. See here:

    http://test.vidaweb.org/about-vida/directors

    Any hints for why this is happening?

Viewing 2 replies - 1 through 2 (of 2 total)
  • DigitalSquid

    (@twelvefootsnowman)

    It’s the link to your MenuMatic script.

    On the home page it’s linking to:
    http://test.vidaweb.org/wp-content/themes/sylvia/includes/MenuMatic_0.68.3.js

    But on the subpages it’s linking incorrectly to:
    http://test.vidaweb.org/about-vida/wp-content/themes/sylvia/includes/MenuMatic_0.68.3.js

    Because it can’t find the script it can’t create the MenuMatic variables for the menu.

    Thread Starter pacothelovetaco

    (@pacothelovetaco)

    I knew it was something like that. Thank you for the second set of eyes Twelvefootsnowman.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using subpages breaks my sidebar code’ is closed to new replies.