background preloader

Implementing Off-Canvas Navigation For A Responsive Website

Implementing Off-Canvas Navigation For A Responsive Website

Smooth Vertical or Horizontal Page Scrolling with jQuery In this tutorial we will create a simple smooth scrolling effect with jQuery. We will create a horizontal and a vertical website layout to show the effect. We will be using the jQuery Easing Plugin and just a few lines of jQuery. View demoDownload source In this tutorial we will create a simple smooth scrolling effect with jQuery. So, let’s start! The Markup The markup for our example page is going to be very plain. The HTML is going to be the same for both examples. The CSS Since we have two examples, we will start with the horizontal page style. The main idea is to make the sections very wide and 100% in height. We need to give the body a valid height, because we want to be able to define the height 100% to the section. The style for the vertical page layout is going to look as follows: Nothing special here, just that we give a big height to the sections. Let’s add the JavaScript The JavaScript The function for the horizontal scrolling effect is the following:

Site of the Month | Showcase Site of the Month proposes you to find the best creative work of the month in order to discover new ideas for your inspiration and in order to realize all the possible artistic achievements you can reach using modern techniques and tendencies. Site of the Month -it is a productive result of long-lasting searching and finally found creative godsends and solutions based on the laborious work and reliable experience of previous tasks and ideas. Memorable and outstanding works that open new horizons of creativity are proposed for your kind consideration as a Site of the Month, involving you to another world of materialised dreams that are waiting for your active participation. Site of the Month April 2014 Usability of the Month January 2012 HatBox HatBox is another excellent webpage and I especially like that it\'s responsive without any loss of content. Report Dead Link Animation of the Month

Related: