0

The website I'm working on is using Pound Symbol # on custom links for the menu. It is detected as missing link error when ran in Integrity. What should I do to avoid this error? I'm quite new to dev so I really would appreciate some help. Thank you.

jcos
  • 1
  • Could you post some of your code? I assume you mean you're using [Integrity](http://peacockmedia.software/mac/integrity/) for Mac to check broken links. – Michael McGinnis Oct 03 '17 at 06:01
  • Are they anchor links? or just #links? Please share some code. – omukiguy Oct 03 '17 at 09:03
  • @MichaelMcGinnis yes, mac integrity For this code, it is on a scroll down button on a divi builder 3 – jcos Oct 03 '17 at 09:14
  • @omukiguy This is the code and it is linked to a scroll down icon of divi builder. 3 I had this problem and I added this code which I got from a different FAQ thread but it doesn't seem to work on the scroll down icon. "http://a%20href=#%20onclick=doSomething();return%20false;click/a" – jcos Oct 03 '17 at 09:22
  • Is Integrity checking a live site? Are the links broken when you click on them? Then this might be a bug with Integrity. On the other hand, it's best to use real URLs as link targets instead of pound/hash symbols: https://stackoverflow.com/a/134957/1584531 – Michael McGinnis Oct 04 '17 at 11:50
  • I haven't really used Integrity because I use windows. My boss is running the scan. Anyways, thank you for the response. I decided to avoid using the "#" sign. – jcos Feb 08 '19 at 08:52

0 Answers0