Difference between revisions of "Team:Cambridge-JIC"
Line 93: | Line 93: | ||
function scrollsection(id) { | function scrollsection(id) { | ||
− | $("html, body").animate({ scrollTop: $($("section.dotslide").get(id)).offset().top | + | $("html, body").animate({ scrollTop: $($("section.dotslide").get(id)).offset().top }, 1000); |
} | } | ||
</script> | </script> |
Revision as of 20:02, 14 September 2015