On the Contact page, your Javascript
is throwing an error when you click the link. "Uncaught TypeError: Cannot read property 'top' of undefined" in script.js
, line 6.
It seems you're mixing up the Javascript
that should go on the Contact page with the script that should only be showing up on the Home page. Separate out your scripts so they only appear on their appropriate pages (or do a check to see what page you're on), and the link will work.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.