Navigation Menu
Alphabetical Listing
Site Contents

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

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. Do not include more than two (2) lines of code in your comments. If you have suggestions or corrections, you can submit them to us.]

    
   
       
[optional]
 
[optional]

   

Comments feed Comment Feed RSS 2.0

42. From: Joe
Doesn't work with other scripts.
12/03/2008 16:17:38

I tried using this to load several different image galleries and it was unsuccessful. Did not get a error, it just simply ignored any javascript that was brought in. I would say this is just used for standard html and not any page.... fooie still have to use iframes.

43. From: Lee (Admin)
01/16/2009 11:02:20

Joe,
In order to help you we would need to see the script. Your question will be better handled if you post it over on the JavaScript forum. Thanks!

40. From: erhan
urgent! having trouble using this script :/
11/09/2008 20:24:55

First of all, I want to thank you so much for this script. It is really fabulous ajax script. Let me tell you my problem. It works really good in firefox and IE7 on my localhost. But when I upload it and try to test it thoruh internet, it works in FF, but not in IE :( what could the problem would be? what do you think?
Regards.
Erhan.

41. From: Lee (Admin)
11/18/2008 11:54:25

Erhan,
Your question is beyond the scope of these comments. You will need to post it over on the JavaScript forum. Thanks!

39. From: sunita
nice script
09/16/2008 05:14:50

This is very nice example.Though its look simple it shows the differnt use of AJAX .Very ice and proper code.

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.

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.