Przykład – Czym jest one page website?

Plik sticky.js $(document).ready(function() { // grab the initial top offset of the navigation var stickyNavTop = $(’.nav’).offset().top; // our function that decides weather the navigation bar should have „fixed” css position or not. var stickyNav = function(){ var scrollTop = $(window).scrollTop(); // our current vertical position from the top // if we’ve scrolled more than …

Przykład – Czym jest one page website? Read More »