Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2009
    Posts
    29
    Thanks
    1
    Thanked 1 Time in 1 Post

    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

  • #2
    Senior Coder tomws's Avatar
    Join Date
    Nov 2007
    Location
    Arkansas
    Posts
    2,644
    Thanks
    29
    Thanked 330 Times in 326 Posts
    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?

  • #3
    New Coder
    Join Date
    Apr 2009
    Posts
    29
    Thanks
    1
    Thanked 1 Time in 1 Post
    thx bud ill check it out and post the results.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •