AJAX Refresh Div [500-2750 pts]

Status
Not open for further replies.

Derek

Community Support Force
Community Support
Messages
12,882
Reaction score
186
Points
63
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.
 

Teensweb

New Member
Messages
352
Reaction score
1
Points
0
<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:

Teensweb

New Member
Messages
352
Reaction score
1
Points
0
what the! y dont u reply?
hell! you have no credits left!
 
Last edited:

sonicsshadow

Member
Messages
200
Reaction score
0
Points
16
<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.
 

Teensweb

New Member
Messages
352
Reaction score
1
Points
0
Anyway, I dont care anymore, coz he dont have much credits!
 
Status
Not open for further replies.
Top