Something weird is going on...

circlemgraphicscirclemgraphics Registered Users Posts: 14 Big grins
edited January 24, 2010 in SmugMug Support
...don't know when it started, but it had to have started recently.

Site:: circlem.smugmug.com

Problem:: When clicking the "Gallery" link at the top of the page, it is showing ALL of my galleries individually. In the past, when you clicked the "Gallery" link, it would show the categories (ie Flowers, Places, etc). You could then click the category to show you the galleries inside each category. There was also code in the background to remove the "Family" category from that page entirely, which is displayed elsewhere.

Now for some reason it has quit working. I have not touched ANYTHING in the site for many many months. Has something changed in the HTML that is breaking the Javascript? The following is the line of js that is causing the problem.

if(document.getElementById('categoryTitle').innerHTML == 'Gallery Categories')

Now there is no element in the page with an ID of 'categoryTitle' and innerHTML of "Gallery Categories", instead it now has an innerHTML of "Galleries".

I hope this made sense and any help would be greatly appreciated.

Comments

Sign In or Register to comment.