Results 1 to 4 of 4

Thread: help with auto Refreshing page text

  1. #1
    Join Date
    Aug 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default help with auto Refreshing page text

    ok here is the deal i have googled like crazy and all i can see is full page refresh techniques this is not what i want on my site i have created a shoutcast radio stats thing

    it shows the stats like so

    DJ name: Dance Dude listeners: 0 out of 200 peak listeners: 4
    current genre: Dance Streaming At: 128 kbs
    Now Playing: 03-va-mos clubbers guide summer 2008 cd3-ute

    what i want is this part of my page to refresh every 10 seconds or so

    maybe via a div like so:

    <div id = "refresh_this">DJ name: Dance Dude listeners: 0 out of 200 peak listeners: 4
    current genre: Dance Streaming At: 128 kbs
    Now Playing: 03-va-mos clubbers guide summer 2008 cd3-ute</div>

    any help would be appreciated

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Use ajax, (search for tutorials), if you want an easier way use a framework like jQuery. Good luck!
    Jeremy | jfein.net

  3. #3
    Join Date
    Aug 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ok i found some scripts but none of em work im useless with ajax any1 willing to script one i will slip em a tenner if they do lol

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

Bookmarks

Posting Permissions

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