"Gallery" in Custom Navbar Points Back to Homepage
nicegrizz
Registered Users Posts: 8 Beginner grinner
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
Nicegrizz
www.michellemyersphoto.com
0
Comments
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.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Michelle