Jump to content

Problem: The jQuery library must be included before the smoothscroll.js file


veldfiets

Recommended Posts

Hello programmers,

 

Just have met with the above statement which comes with www.veldfiets.nl/whbe2b.

I have changed somewhere a thing and mismanaged the smoothscroll in the above way.

I cannot find the mistake.

Has anybody a clue?

It has been a long time ago that I wrestled with the matter and got it working....

Thanks a lot.

Edited by veldfiets
Link to comment
Share on other sites

are you looking in your browser's error console? If I visit you website's main page, there are a bunch of 404 errors which means the browser can't find the files you are looking for. Anything could be the reason for that on the server side, since you didn't explain what you changed, but pretty much it means one of these things

 

  1. The files don't exist on the server at all at that path
  2. You changed the path in index.html but didn't move the files there
  3. You moved the files but didn't change the path in index.html (intentional or not)
Link to comment
Share on other sites

Thanks. Me myself cannot find the path in the forest also, to many div's....

It has ben two years ago since I managed this altogether... should perform the error-test now.

Indeed, I could also find no mistake, but I took another library (instead of 1.11.1)?: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="javascript/smoothscroll.js"></script> and put it down below.

 

And it helpt: it works, I shall remanage the site..

Edited by veldfiets
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...