[HELP]Live Ticker

Status
Not open for further replies.

TesoMayn

Boredom, it vexes me.
Oct 30, 2011
1,482
1,482
I use to have a live news ticker on my old site but I deleted the files.

I need something that reads from a page and updates automatically without reloading the full webpage.

Anyone know how to do this?

Also, I do not want to use iFrame.
 

Kaz

BooYah
Staff member
Nov 16, 2010
3,064
1,025
Google it, theres so many out there which have different styles.
Eg, a live ticker like facebook, or a horizontal one somewhat similar to <marquee> but reads from the database instead of being html
 

Markshall

Русский Стандарт
Contributor
Dec 18, 2010
2,638
2,393
PHP:
function AutoUpdate()
{
    $("div#auto_update").load("ticker.php");
}
$(function(){
    setTimeout(AutoUpdate(), 3000 );
});
 
<div id="auto_update">Loading...</div>

Something like that should do, I think. You need to include the jQuery library though too.
 
Status
Not open for further replies.

Users who are viewing this thread

Top