1

Installed statusnet 1.0.1. & able to run it.

Now the enchantments I am looking for is : page content reload after specific time interval. Right now I put header 'Refresh:50' in htmloutput.php file to reload entire page. But I want to update just timeline section, not entire page.

How can I do that.

Aniruddha
  • 3,513
  • 6
  • 27
  • 38

2 Answers2

0
$("DIV_TO_BE_REPLACED").load("PATH DIV_CLASS_OR_ID");
var refreshId = setInterval(function() {
   $("DIV_TO_BE_REPLACED").load('PATH');
}, 9000);// change time limit
$.ajaxSetup({ cache: false });

for example

$(".right").load("/index.html .right");
var refreshId = setInterval(function() {
   $(".right").load('/index.html .right');
}, 3000);
$.ajaxSetup({ cache: false });
Serjas
  • 2,184
  • 4
  • 21
  • 35
0

There is a plugin called Realtime included in the base distribution (plugins/Realtime/), you should check it out.

julien_c
  • 4,942
  • 5
  • 39
  • 54