How to make a Full Page, Column Based Navigation for your Website

Editor's note (2026): This tutorial is from 2014, and the Full Page Nav plugin is no longer maintained. We've fixed the code formatting and added a CSS-only alternative at the end.

Visitors want to find information quickly. Clear, engaging navigation helps your site stand out and keeps people exploring. This tutorial shows how to create a full-page, column-based navigation with very little HTML using the Full Page Nav jQuery plugin.

How it works

The plugin divides the screen into columns, one per menu item. You set the number of columns, and each one gets an equal share of the width. When a visitor hovers over a column, it expands (controlled by the hover_size option) while the others shrink. You can also make each column clickable.

Keep in mind that when one column expands, the others get narrower, so keep labels short.

What you need

  • jQuery
  • The plugin's two files, jquery.fullpagenav.js and fullpagenav.css, available on GitHub

Include both files in your page's <head>.

HTML

<ul class="nav">
  <li><img src="image1.jpg" alt=""> Services</li>
  <li><img src="image2.jpg" alt=""> About</li>
  <li><img src="image3.jpg" alt=""> Portfolio</li>
</ul>

The images are optional background images for each column.

JavaScript

$(".nav").fullpagenav({
  columns: 5,
  selector: "> li",
  hover_size: "30%",
  animateDuration: 500,
  animateFrom: "left",
  clickable: true,
  afterClicked: null
});

Options

  • selector: which elements become columns (you don't have to use a list).
  • columns: how many columns to create.
  • animateDuration: animation speed in milliseconds.
  • animateFrom: the direction the hovered column expands from.
  • hover_size: the width of a column when hovered.
  • clickable: set to true to make each column clickable.
  • afterClicked: a function to run after a column is clicked.

Making columns clickable

Use a data-link attribute on each item:

<ul class="nav">
  <li data-link="https://www.example.com/services"><img src="image1.jpg" alt=""> Services</li>
  <li data-link="https://www.example.com/about"><img src="image2.jpg" alt=""> About</li>
</ul>

For accessibility, consider also including real <a> links inside each item so keyboard and screen-reader users can navigate.

CSS-only alternative

Today you can create a similar effect with Flexbox and no JavaScript:

.nav { display: flex; height: 100vh; margin: 0; padding: 0; list-style: none; }
.nav li { flex: 1; transition: flex 0.5s; overflow: hidden; }
.nav li:hover, .nav li:focus-within { flex: 2; }

Want a website with navigation that impresses visitors? I.T. For Less can help — contact us.

Strategy & Consulting