Navigation Menu

Site Contents
What's New?


Site FAQ
About JSS
JavaScript Forum
JavaScript Tutorial
Friends of JSS

Link to Us
JavaScript Help
Contribute a script
Technology Jobs

Become a Partner

Internet.commerce

Be a Commerce Partner














Internet.com

IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Developer Channel

FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

Great Sites

DocJavaScript.com
dhtml.com
The Freebie Directory
TheFreeSite.com

Browse Doc JS's Tips!


Hiermenus Central


Promotions

Free Announcements


Social Bookmark

General

Use this script instead of frames. 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.


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

Notes

Source Code

Paste this source code into the designated areas.

External file

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


Head

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


Body

Paste this code into the BODY section of your HTML document


User Comments

Add a comment, suggestion, or correction
[For questions about usage, consult the Notes tab above or visit the JavaScript forum]

    
   
       
[optional field]
 
[optional field]

   

Comments feed Comment Feed RSS 2.0

38. From: charu
07/15/2008 06:16:02

Hi,

Thanx for this great solution. I really Appreciate your help and very thankful to your site.

37. From: marcelo
works reaaly good
03/11/2008 10:51:38

thx, worlks really good. html and php files.

36. From: DL
02/27/2008 16:50:45

The script's is GREAT !!!

32. From: hs
how to load a default page
11/14/2007 06:56:59

Hi,

Though everything seems to be working fine. I want to know what should I do so that a default page is open in
<div id="my_site_content"> tag when the page is loaded for the first time.

Regards

33. From: Lee (Admin)
11/21/2007 12:33:50

Due to the limitations of these comments, you will need to submit your question to the JavaScript Forum for further help.

34. From: michelle
child is in different folder
11/13/2007 11:36:34

the script's really great but on of the links i got are in a different folder and then all of the relative paths from that page are broken now... help anyone?

35. From: Lee (Admin)
12/04/2007 10:37:19

Due to the limitations of these comments, you will need to submit your question to the JavaScript Forum for further help.

26. From: arnab
PHP WORKING.....TXT NOT WORKING
10/04/2007 13:42:08

In my site, both html n php files n files without extension are opening but it fails to open txt files!!!strange

27. From: Lee (Admin)
10/05/2007 16:23:16

You might want to check your .htaccess file or your server set-up. Your site might not be set-up to open .txt files in that manner.

30. From: Hekuran Doli
Passing variables
09/27/2007 04:47:30

Hello, Have any body succeed to pass session, get, post variables from the main content to the div content. dosent look to work here.

next comments...

Do you write JavaScripts?
If you do, why not submit them to us?
We'll give you credit and a link back to your Web site.