Web Design Forum: Dynamically replace content? - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Dynamically replace content? Rate Topic: -----

#1 User is offline   waynef 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 33
  • Joined: 23-November 09
  • Reputation: 0
  • Gender:Male
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 15 March 2010 - 10:47 PM

Hi all,

Right I've been doing my nut in getting this to work.

I have a image gallery on my page, It has a placeholder that holds 12 images that is read in from the database (SQL)

On the same page I want to also display the other albums and when an album is clicked it is loaded into the image placeholder without re-submitting the page.

I've researched lots of Ajax / Jquery stuff and its a bit over my head and I cant seem to just pick up the script as easily as I thought.

Can anyone suggest a script that would do this for me?

Thank you in advance,

Newbily yours!

Wayne.
0

#2 User is offline   Geeks 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 321
  • Joined: 07-October 09
  • Reputation: 11
  • Gender:Male
  • Location:South Africa
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 16 March 2010 - 06:42 AM

perhaps post what you have so far
0

#3 User is online   rallport 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 3,503
  • Joined: 03-January 10
  • Reputation: 247
  • Gender:Male
  • Location:England, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 16 March 2010 - 12:31 PM

JQuery really does have excellent documentation - see http://api.jquery.com/jQuery.ajax/

If you read and more importantly understand how ajax works, you'll realise what you're attempting to do is quite simple - this one of the primary uses of ajax, loading content into a div.

Have a read of my link first and then post back :)

I wrote a VERY simple article showing content loading @ http://www.web-desig...ng-with-jquery/ - that may be a good starting point?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users