Something weird is going on...
circlemgraphics
Registered Users Posts: 14 Big grins
...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.
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.
0
Comments
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
Nailed it. What makes this even weirder is I have never changed a thing since I created the site. I even had to change code to un-hide the box to change the setting back to category. Oh well, it's fixed. Thanks again.
Want faster uploading? Vote for FTP!