I've encountered an issue with distinguishing and bookmarking several links on a page. For example, if I have a contact.php
page with multiple jQuery click events linked to different sections such as
www.mywebsite.com/contact.php#accountant
, www.mywebsite.com/contact.php#developer
. The problem arises when clicking these links in the browser - they do not navigate directly to the specific contact details section.
You can view the problematic page here.
I've tried adding the following code snippet from main.js:
$('#contact' + $('a[href="'+window.location.hash+'"]').get(0).className.replace('contact', '') ).fadeIn(3000);
However, the issue still persists. Any assistance would be greatly appreciated. Thank you.