1 Refresh/ realtime.. latest topic's Sat Apr 21, 2012 8:21 pm
nutsonlizards
Registered Member
Well I got my latest topics to Refresh so my users don't need to Refresh there pages to see when someone posted . its using a simple Div refresh/load script which works really well what I would like to do next is to have a little pop up with the new posts info... like on Facebook any hints or idea how this could be done would be great thx
- Code:
<script>
var refreshId = setInterval(function()
{
$('#container').fadeOut("slow").load('/forum #container').fadeIn("slow");
}, 90000);
</script>
<div id="container">
Lastest Topics
</div>