I am in the process of creating my own personal website. To ensure seamless navigation, I added a "home" button that, when clicked, triggers a JavaScript function called loadhomepage()
to load the homepage. While this function works perfectly upon initial site visit, it fails to display all elements when used after navigating away from the homepage.
I researched similar issues on stackoverflow, but they mostly pertained to numerical calculations (Javascript counter works only once & JavaScript function will only work once). Mine involves fading elements in and out, making these solutions unsuitable for my problem.
If you'd like to check it out, here's the fiddle link: https://jsfiddle.net/martyjay60/c3tp1swj/
The load_homepage
function currently renders a blank page instead of displaying all the elements as intended. Any assistance or advice would be greatly appreciated. Thank you!