RSS AJAX Newsticker

JavaScriptBank

Bannato
26 Nov 2009
86
0
0
This JavaScript tutorial will show you how to combine RSS, AJAX, and JavaScript to create a real-time RSS ticker.

Thanks to AJAX... detail at JavaScriptBank.com - 2.000+ free JavaScript codes


How to setup

Step 1: Use JavaScript code below to setup the script
JavaScript
Codice:
<script type="text/javascript" src="rssticker.js"></script>

Step 2: Copy & Paste HTML code below in your BODY section
HTML
Codice:
CNN:
<DIV style="HEIGHT: 100px; border-style: dotted; border-width: 1px; background-color: silver; text-align: left;">
<script type="text/javascript">
//rss_ticker(RSS_id, cachetime, divId, divClass, delay, optionalswitch)
new rss_ticker("CNN", 60, "cnnbox", "cnnclass", 200)

</script>
</DIV>
<br><br><br>
Each ticker on the page can be invoked independently, for example:
<DIV style="HEIGHT: 100px; border-style: dotted; border-width: 1px; background-color: silver; text-align: left;">
<PRE><script type="text/javascript">
//rss_ticker(RSS_id, cachetime, divId, divClass, delay, optionalswitch)
new rss_ticker("CNN", 60, "cnnbox", "cnnclass", 2000)
</script></PRE>

</DIV>

Step 3: must download files below
Files
rssticker.js






 
Discussioni simili
Autore Titolo Forum Risposte Data
J RSS AJAX Newsticker Javascript 0
G Inserire "Leggi il resto dell'articolo" con link al post sul sito preso via RSS Email Marketing 0
C [HTML] Inserimento feed/rss di Mr.Webmaster sul proprio sito HTML e CSS 1
S [RSS] Gli RSS si aggiornano in base al tempo o ad un nuovo elemento? XML 2
Shyson [WordPress] Chiarimenti sugli RSS WordPress 5
S Data estratta da RSS non memorizzata PHP 2
C modificare un rss con php PHP 2
otto9due Piccolo problemino con il formato data e immagini per gli rss PHP 1
B Feed rss da fare in php PHP 0
R Come prelevare valori da Feed Rss ? aiuto Javascript 0
novello88 escludere un post dal flusso RSS WordPress 0
L Creare RSS HTML e CSS 0
L Rss da pagina php PHP 2
S integrare RSS tramite codice - no tool esterni Javascript 4
M Leggere rss su sito html HTML e CSS 0
M Come creare un database per eventi esportabile su feed rss Classic ASP 0
F da xml o rss a csv PHP 2
I rss news HTML e CSS 5
Web Designer RSS Feed Icon MyBB CMS (Content Management System) 0
Z Leggere feed rss xml con link di riferimento in .aspx PHP 4
U delucidazione sui feed rss in php PHP 4
G DOMDocument: aprire Feed rss in nuova pagina PHP 2
W Nuovo aggregatore feed rss Presenta il tuo Sito 0
D Come si fa a far scorrere le notizie? (lettore di rss) PHP 2
A Rss PHP 2
E RSS pagine Intermedie XML 0
B Wordpress: importare blog da feed rss WordPress 3
R Problema Feed RSS wordpress 2.9.2 WordPress 4
SolidSnake4 Errore validazione feed rss Apache 6
D Visibilità Sito e Rss Feed SEO e Posizionamento 0
M Links non accettato con xml per i Feed Rss XML 3
I feed/rss e posizionamento SEO e Posizionamento 1
E Rss come realizzarli senza errori PHP 3
T Feed RSS XML 0
B www.rssitalia.it directory gratuita feed RSS Presenta il tuo Sito 0
M mostrare un feed rss con PHP PHP 2
G Feed Rss HTML e CSS 2
L Aiuto file feed rss PHP 1
L Problemi con Feed RSS e link menu flash. Flash 0
B Realizzare un Feed RSS (2a parte): connettersi ad un file RSS remoto Classic ASP 4
A sistema di commenti+guestbook+aggiornamento news rss PHP 0
S feed rss Webdesign e Grafica 0
B RSS Italia, Directory italiana di feed RSS, Atom e Podcast Presenta il tuo Sito 0
A Web Link in Rss PHP 1
M News RSS e Atom direttamente sul tuo sito Presenta il tuo Sito 0
T rss 0.91 e 2.00 Classic ASP 1
G rss errore Classic ASP 7
S Feed RSS XML 11
B traduzione simultanea pagine Rss dall'Inglese HTML e CSS 0
G RSS di infiormatica XML 0

Discussioni simili