Jump to content


Photo

AJAX auto DIV refresh


  • Please log in to reply
2 replies to this topic

#1 trs21219

trs21219

    Young Padawan

  • Members
  • Pip
  • 31 posts
  • Gender:Male
  • Location:Pittsburgh, Pa

Posted 08 April 2008 - 07:09 PM

i have looked all over the internet for a good expanation of how to do this but no luck.

i want to make one div on my page refresh every x seconds.

the div id is "gameart" and it includes thumnails of flash games on my site that show on the front page but i would like it to refresh every 10 seconds or so to display new images. the div already has the method call to my php code to display the images i just need the AJAX to refresh it.

if someone could please post the AJAX i would be very grateful. i dont mind if it includes a framework like prototype or mootools i just need it to work

thanks in advance

#2 rc69

rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 09 April 2008 - 07:38 PM

:yodasearch:
http://www.pixel2lif...p...&hl=refresh

#3 trs21219

trs21219

    Young Padawan

  • Members
  • Pip
  • 31 posts
  • Gender:Male
  • Location:Pittsburgh, Pa

Posted 10 April 2008 - 01:18 AM

thanks rc, i knew someone would find something on here that i missed :worthy: :beat:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users