Ajax Navigation2

By JavaScriptSource Staff on Dec 6, 2006


When a visitor clicks on a specific link, the content of that link is inserted into the page without a refresh. When a page doesn’t exist, a user-friendly error message is given. [Note: This is an edited version of the original script.]

My Navagation links
Go to page 1
Go to page 2
Go to page 3
Go to page 4
Broken Link


Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: ajaxNavigation2.js


Paste this code into the HEAD section of your HTML document.


Paste this code into the BODY section of your HTML document