I'm struggling with coding and thought I'd reach out for help here. Can anyone provide a solution to my problem?
Issue - I have a navigation link on my main page that scrolls to an ID using jQuery. It works fine on the main page, but not on any subpages where the same link appears in the navigation. Is there a way to make it so that when the link is clicked on a subpage, it automatically navigates back to the main page and then executes the scrolling function? Any suggestions would be greatly appreciated. Thank you.