Closed Thread
Results 1 to 7 of 7

Thread: AJAX Refresh Div [500-2750 pts]

  1. #1
    Derek is offline Community Support Force Derek is a splendid one to beholdDerek is a splendid one to behold
    Join Date
    May 2005
    Location
    cossacks
    Posts
    6,354

    AJAX Refresh Div [500-2750 pts]

    I need a method of refreshing a div... 500-2750 points given.

    Look at this video that is what I'm trying to do. See the 6 users online now turn to 7 users online now? Basically that refreshes every 20 seconds done by ajax and/or javascript

    http://www.youtube.com/watch?v=xjRi4anEU5o


    I think that may be a fade and appear effect too. If you include the fade and appear effect I'll give you a lot of points.

  2. #2
    Teensweb is offline x10 Lieutenant Teensweb is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    352

    Re: AJAX Refresh Div [500-2750 pts]

    <html>
    <head>
    <script src="http://code.jquery.com/jquery-latest.js"></script>

    <script>
    var refreshId = setInterval(function()
    {
    $('#refreshdivision').fadeOut("slow").fadeIn("slow ");
    }, 5000);
    </script>
    </head>
    <body>
    <div id="refreshdivision">
    Content Here
    </div>
    </body>


    Satisfies every thing that u need!
    Edit:
    hope I'll get 2750 C for it.....
    Last edited by Teensweb; 02-27-2009 at 05:41 AM. Reason: Automerged Doublepost

  3. #3
    Teensweb is offline x10 Lieutenant Teensweb is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    352

    Re: AJAX Refresh Div [500-2750 pts]

    what the! y dont u reply?
    hell! you have no credits left!
    Last edited by Teensweb; 02-28-2009 at 10:58 PM.

  4. #4
    Teensweb is offline x10 Lieutenant Teensweb is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    352

    Re: AJAX Refresh Div [500-2750 pts]

    Dint know that you're so cheap!

  5. #5
    sonicsshadow is offline x10 Sophmore sonicsshadow is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    198

    Re: AJAX Refresh Div [500-2750 pts]

    Quote Originally Posted by Teensweb View Post
    <html>
    <head>
    <script src="http://code.jquery.com/jquery-latest.js"></script>

    <script>
    var refreshId = setInterval(function()
    {
    $('#refreshdivision').fadeOut("slow").fadeIn("slow ");
    }, 5000);
    </script>
    </head>
    <body>
    <div id="refreshdivision">
    Content Here
    </div>
    </body>


    Satisfies every thing that u need!
    Edit:
    hope I'll get 2750 C for it.....
    That will make the div fade in, but it will not refresh the div. You need to use AJAX to get the information again and then re-output the div. That's probably why he has not replied.

  6. #6
    Teensweb is offline x10 Lieutenant Teensweb is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    352

    Re: AJAX Refresh Div [500-2750 pts]

    Anyway, I dont care anymore, coz he dont have much credits!

  7. #7
    xxll_martin_llxx is offline x10 Elder xxll_martin_llxx is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    716

    Re: AJAX Refresh Div [500-2750 pts]

    If you don't care anymore why are you still replying?

    *Closed*

Closed Thread

Similar Threads

  1. AJAX Refresh problem with IE
    By oracle in forum Programming Help
    Replies: 9
    Last Post: 06-05-2008, 02:09 PM
  2. Ajax and Flash refresh problem
    By mattura in forum Programming Help
    Replies: 2
    Last Post: 01-25-2008, 01:41 PM
  3. AJAX Gaming Server?
    By Sup3rkirby in forum Programming Help
    Replies: 14
    Last Post: 12-26-2007, 04:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers