"Gallery" in Custom Navbar Points Back to Homepage

nicegrizznicegrizz Registered Users Posts: 8 Beginner grinner
edited October 20, 2008 in SmugMug Support
Hello, I have the custom navbar set-up and recently re-setup my homepage slide show. Not sure if I screwed something up when I re-did the slideshow, but now from my homepage, the "galleries" button on my custom navbar just keeps me on my homepage.:scratch I can't even get to my galleries! I've looked through my customization codes and can't see anything obvious. Any help?
Nicegrizz
www.michellemyersphoto.com

Comments

  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited October 17, 2008
    nicegrizz wrote:
    Hello, I have the custom navbar set-up and recently re-setup my homepage slide show. Not sure if I screwed something up when I re-did the slideshow, but now from my homepage, the "galleries" button on my custom navbar just keeps me on my homepage.<img src="https://us.v-cdn.net/6029383/emoji/headscratch.gif&quot; border="0" alt="" > I can't even get to my galleries! I've looked through my customization codes and can't see anything obvious. Any help?
    Nicegrizz
    www.michellemyersphoto.com

    It isn't working because you have two javascript errors that are keeping the javascript from adding the galleries class to your page which causes the CSS to show your galleries.

    The first javascript error is caused by a call to loadSlideshow(); which looks like it's in your footer. You need to remove all that old slideshow code from your footer.

    The second javascript error is because in the code:

    <script>if (hasPath("galleries"))
    YD.addClass(document.body, "galleries");
    </script>

    you do not have the hasPath function defined. Check the tutorial here for the hasPath code that you need.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • nicegrizznicegrizz Registered Users Posts: 8 Beginner grinner
    edited October 20, 2008
    Thank you, I'll try that!

    Michelle
Sign In or Register to comment.