New on DHTMLGoodies.com:
DHTML Chess is now available for WordPress at WordPressChess.com.
Download RSS scroller script
Download files
You can download the entire project from this zip file.
Files included in package
- rss-scroller.html = The main HTML you open in your browser
- js/ajax.js = Ajax (SACK library)
- readRSS.php = File that reads RSS data from a source. rss-box.html uses Ajax to retreve data from this file.
- lastRSS.php = RSS parser download from http://lastrss.webdot.cz/
Setup
Server side support
This script requires that you have access to PHP on your webserver.
Creating RSS box and specify url of feed
This scripts loads content from an external RSS file into a div on your page. The first you have to do is to put in an empty div where you want the RSS box to appear. Example:
<div id="rssBox">
</div>
Then you need to specify
- The url to your RSS source
- Which div you want the RSS data to be placed
- How many items you want to read from the source
- Time between each item is shown in the box.
All this is something you specify by calling a Javascript function named "insertAjaxContent". Example:
insertAjaxContent('rssBox','http://www.dhtmlgoodies.com/rss/dhtmlgoodies.xml',5,3);
"rssBox" refers to the empty div you created, Then we have the url to the external RSS feed. I have specified that I only want the 5 newest items to be shown and the script should show an item for 3 seconds before switching to the next one.
Layout
The script uses plain CSS for the layout. This is the CSS for the demo:
#rssBox{
width:300px;
margin:5px;
float:right;
height:300px;
border:1px dotted #317082;
padding:3px;
font-size:0.8em;
background-color:#E2EBED;
}
#rssBox .slide{ /* A specific slide */
background-color:#E2EBED; /* Light blue background color */
}
.rssBoxDate{
display:none; /* I don't want to show the date */
}
.rssBoxHeading{ /* Heading of RSS item */
font-weight:bold;
color:#317082;
margin:0px;
}
.rssBoxDescription{ /* Description of RSS item */
}
.rssBoxLink{ /* Read more link */
color:#F00;
text-decoration:none;
}
.rssBoxLink:hover{ /* Read more link - mouse over */
text-decoration:underline;
}
Javascript variables
You have two Javascript variables available:
var rssBoxTxt_readMore = 'Read more';
var rssBoxOpenLinksInNewWindow = true;
var rssBoxPadding = 2;
var rssBox_slideSpeed = 7;
var rssBox_waitBetweenEachSlideStep = 5;
- rssBoxTxt_readMore = Link label, i.e. the "Read more" link.
- rssBoxOpenLinksInNewWindow = Open "Read more" links in new window or not. true = new window, false = same window
- rssBoxPadding = Padding inside parent box
- rssBox_slideSpeed and rssBox_waitBetweenEachSlideStep = Determines speed of sliding
To often I've downloaded a widget & and there's ZerO! instructions and never a style sheet to start with - that's good work y'all. B
-------
<a href="https://new-world.guide/db/item/house_housingitem_buff_luck_bonus_t3">https://new-world.guide/db/item/house_housingitem_buff_luck_bonus_t3</a>
оч даже!
-------
<a href="https://uristpravo.ru/">https://uristpravo.ru/</a>
Ну и писанина
-------
<a href="https://gurava.ru/georegions/1">https://gurava.ru/georegions/1</a>
Это мне скучно.
-------
<a href="https://opt24.store/product-category/produkty-pitaniya/zhevatelnaya-rezinka/">https://opt24.store/product-category/produkty-pitaniya/zhevatelnaya-rezinka/</a>
Конечно. И я с этим столкнулся. Давайте обсудим этот вопрос. Здесь или в PM.
-------
<a href="https://faktura29.ru/">купить мебель в архангельске недорого</a>
ПОЛНАЯ !!!
-------
<a href="https://portotecnica.su/product/show/id/1532/">https://portotecnica.su/product/show/id/1532/</a>
Сегодня я много читал на эту тему.
-------
<a href="https://podologijosklinika.lt/">https://podologijosklinika.lt/</a>
Браво, какие нужные слова..., великолепная мысль
-------
<a href="https://ydeda.pro/">продать аккаунт телеграмм</a>
хорошее гониво
-------
<a href="https://venro.ru/">https://venro.ru/</a>
для общего развития посмотреть мона, а так могли бы и лучьше,
-------
<a href="https://venro.ru/">платные сервисы накрутки лайков в инстаграм</a>
-------
<a href="https://gurava.ru/properties/show/7585">https://gurava.ru/properties/show/7585</a>
Я с вами не согласен
-------
<a href="https://venro.ru/">https://venro.ru/</a>
Замечательно, весьма полезная фраза
-------
<a href="https://opt24.store/product-category/smes_dlya_prigotovleniya_i_vypechki/">https://opt24.store/product-category/smes_dlya_prigotovleniya_i_vypechki/</a>
Совершенно согласна.
-------
<a href="https://gamtosgrozioformule.lt/sventinis-manikiuras-pagal-zodiako-zenkla-meistres-patarimai/">https://gamtosgrozioformule.lt/sventinis-manikiuras-pagal-zodiako-zenkla-meistres-patarimai/</a>
Извиняюсь, мне тоже хотелось бы высказать своё мнение.
-------
<a href="https://podology.shop/lt/">https://podology.shop/lt/</a>
Извините за то, что вмешиваюсь… Я разбираюсь в этом вопросе. Можно обсудить.
-------
<a href="https://refix.lt/">https://refix.lt/</a>
Замечательно, очень хорошая штука
-------
<a href="https://venro.ru/">накрутка лайков в инстаграме платно недорого</a>
Я думаю, что это — серьёзная ошибка.
-------
<a href="https://fmgcnc.ru/product/ultra-cut-400/">https://fmgcnc.ru/product/ultra-cut-400/</a>
Мне кажется это блестящая фраза
-------
<a href="https://mobile-appllication.com/aviator/">https://mobile-appllication.com/aviator/</a>
Какая замечательная фраза
-------
<a href="https://vavadavcf.info/">https://vavadavcf.info/</a>
-------
<a href="https://msk.modulboxpro.ru/arenda/">https://msk.modulboxpro.ru/arenda/</a>
Извините, что я Вас прерываю, но не могли бы Вы дать больше информации.
-------
<a href="https://piterskie-zametki.ru/225170">https://piterskie-zametki.ru/225170</a>
А вы сами так пробовали?
-------
<a href="https://gurava.ru/geocities/17/%D0%92%D0%B8%D0%B4%D0%BD%D0%BE%D0%B5?property_type=1&purpose_type=2">https://gurava.ru/geocities/17/%D0%92%D0%B8%D0%B4%D0%BD%D0%BE%D0%B5?property_type=1&purpose_type=2</a>
Я думаю, что Вы допускаете ошибку. Предлагаю это обсудить. Пишите мне в PM, пообщаемся.
-------
<a href="https://portotecnica.su/category/show/id/213/">https://portotecnica.su/category/show/id/213/</a>
И что в таком случае нужно делать?
-------
<a href="https://opt24.store/product-category/shokolad_i_shokoladnye_batonchiki/shokoladnye_batonchiki/">https://opt24.store/product-category/shokolad_i_shokoladnye_batonchiki/shokoladnye_batonchiki/</a>
По-моему это уже обсуждалось.
-------
<a href="https://xn--80adbhccsco0ahgdgbcre0b.xn--p1acf/">архитектор в сочи услуги</a>
Пожалуйста, расскажите поподробнее..
-------
<a href="https://xn--80aakfajgcdf8bbqzbrl1h3d.xn--p1ai/">ремонт дома сочи</a>
как мило.))
-------
<a href="https://venro.ru/">накрутка просмотров Инстаграм</a>
Правда!!!
-------
<a href="https://venro.ru/">https://venro.ru/</a>
На мой взгляд это очень интересная тема. Давайте с Вами пообщаемся в PM.
-------
<a href="https://eldoradovcf.xyz/">https://eldoradovcf.xyz/</a>
Respublikine Vilniaus Psichiatrijos Ligonine
инвалид с детства
https://ligoniukasa.lrv.lt/lt/veiklos-sritys/gydymo-istaigoms-ir-partneriams/kompensuojamieji-vaistai-ir-medicinos-pagalbos-priemones-2
https://www.e-tar.lt/portal/legalAct.html?documentId=TAR.FA9CC3E1430C
https://e-seimas.lrs.lt/portal/legalActPrint/lt?jfwid=32wfbz1b&actualEditionId=VdjRCsptjH&documentId=6096c8029b0b11e8aa33fe8f0fea665f&category=TAD
rvpl.lt
doxepin
moditen depo
cyclodol
risperdal
30 injection
галоперидол
насильственная Hospitalization without court
paranoid schizophrenia
https://synthira.ru/load/drugie_igry/the_sims_4/mod_na_shizofreniju/396-1-0-6787
mental disabled from childhood
https://e-seimas.lrs.lt/portal/legalAct/lt/TAD/TAIS.18311?jfwid=
https://ru.wikipedia.org/wiki/%D0%93%D0%B0%D0%BB%D0%BE%D0%BF%D0%B5%D1%80%D0%B8%D0%B4%D0%BE%D0%BB
https://socmin.lrv.lt/lt/veiklos-sritys/socialine-parama-kas-man-priklauso/as-ar-seimos-narys-turi-negalia
https://rb.gy/t2195
https://goo.su/0nfH7
https://goo.su/PgVlbD
https://goo.su/2jRY3Ic
https://rb.gy/csotkj
https://rb.gy/qbqoti
https://goo.su/TVYE Гогенцоллерны Буйная психбольная
https://sam.lrv.lt/lt/veiklos-sritys/darbo-grupes-ir-komisijos
https://www.tax.lt/imones/243348-viesoji-istaiga-respublikine-vilniaus-psichiatrijos-ligonine
https://vgd.ru/STORY/nobil1.htm
https://www.bagssjp.com/product/detail-5219.html
https://www.bagssjp.com/product/detail-11590.html
https://www.bagssjp.com/product/detail-11831.html
https://www.bagssjp.com/product/detail-672.html
https://www.bagssjp.com/product/detail-2472.html
Post your comment
Comment preview: