I am making a 1page website.
When i click the navigation link “bas&harald” it should go to the second slide (to the right) smoothly.
However i cannot get this to work. I am using this script: http://www.dezinerfolio.com/wp-content/uploads/smoothscrolldemo/df_smooth_scroll.html
I implemented it in the bottom of this js file:http://www.basenharald.nl/3d/script.js
I have set the “href” element, same goes for the “a name” element.
Can anyone tell me why this is not working? Is another codesnippet conflicting with this one?
http://www.basenharald.nl/3d
thanks in advance.
Update: Assuming that the code is pretty much the same, with some modifications to accomodate the solution, using the scrollTo plugin we can do:
Which requires that all the sections have an id that appears in the nav items. duration is in milliseconds. Here’s a working example of the idea: http://rolandmai.com/3d/