Go Back   CodingForums.com > :: Client side development > JavaScript programming > Ajax and Design

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-22-2009, 12:26 AM   PM User | #1
admhays
New Coder

 
Join Date: Apr 2009
Posts: 29
Thanks: 1
Thanked 1 Time in 1 Post
admhays is an unknown quantity at this point
Educate me please

the site: longshots-bar.com

I have the basic layout of the site designed with the exception of the contact and subscribe page, and some IE qwerks to iron out. I have not formated the content pages that will be loaded into the divs. The are just one line of text for reference sake right now. I would like to be able to load the content into the corresponding div next to the nav area without refreshing the whole page. I'm a noob to Ajax and JS but I have a little experience in AS3 if that is of any use. I am looking for someone who is willing to explain it to me I dont want it a script just posted for me.

Thanks
admhays is offline   Reply With Quote
Old 10-22-2009, 03:33 AM   PM User | #2
tomws
Senior Coder

 
tomws's Avatar
 
Join Date: Nov 2007
Location: Arkansas
Posts: 2,644
Thanks: 29
Thanked 330 Times in 326 Posts
tomws will become famous soon enoughtomws will become famous soon enough
Do you mean you want to know the mechanics of how to load content without a refresh? If so, I'll provide an overview, but you should check out some tutorials for details.

Using a javascript framework like jquery will make this fairly easy. It will let you over-ride the click event for the content links, and then fetch that content and place it into the desired location.

Sounds over-simplified, doesn't it? Well, there's really nothing more to the mechanics than that. The syntax and methods are a little harder to grasp, but the jquery site provides tutorials and more (see the Reqources section on the front page), and Google will show a ton more.
__________________
Are you a Help Vampire?
tomws is offline   Reply With Quote
Old 10-22-2009, 05:24 AM   PM User | #3
admhays
New Coder

 
Join Date: Apr 2009
Posts: 29
Thanks: 1
Thanked 1 Time in 1 Post
admhays is an unknown quantity at this point
thx bud ill check it out and post the results.
admhays is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:02 AM.


Advertisement
Log in to turn off these ads.