Smooth scroll error

I have a JScript error on line 61 which stops my anchor links from scrolling smoothly.

I need to know the solution to making this JScript work?

My site address where the error is at is:
Richard MorrisAsked:
Who is Participating?
StingRaYConnect With a Mentor Commented:
try change this line

location.pathname.replace(/^//,'') == this.pathname.replace(/^//,'')


location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
Try Firebug add-in to Firefox to help debug your javascript.  For starters, it found:

[03:58:38.676] syntax error @
[03:58:38.683] missing ) after argument list @
[03:58:38.686] animatedcollapse is not defined @
[03:58:38.743] Unknown property 'wwwbackground-color'.  Declaration dropped. @

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.