Пост (в основном) для пользователей:
Blogger, Блоггер (Blogspot, Блогспот)
Бегущая строка несмотря на относительную древность применения, все еще популярна. Особенно у начинающих блоггеров. Поэтому сегодня я предлагаю вам очень интересный вариант.

Впрочем убедитесь сами:
Код вставляется очень просто:
В Дизайн - Добавить гаджет - HTML/JavaScript

<script type="text/javascript">function RecentPostsScrollerv2(json)
{
var sHeadLines;
var sPostURL;
var objPost;
var sMoqueeHTMLStart;
var sMoqueeHTMLEnd;
var sPoweredBy;
var sHeadlineTerminator;
var sPostLinkLocation;
try
{
sMoqueeHTMLStart = "\<MARQUEE onmouseover=\"this.stop();\" onmouseout=\"this.start();\" ";
if( nWidth)
{
sMoqueeHTMLStart = sMoqueeHTMLStart + " width = \"" + nWidth + "%\"";
}
else
{
sMoqueeHTMLStart = sMoqueeHTMLStart + " width = \"100%\"";
}
if( nScrollDelay)
{
sMoqueeHTMLStart = sMoqueeHTMLStart + " scrolldelay = \"" + nScrollDelay + "\"";
}
if(sDirection)
{
sMoqueeHTMLStart = sMoqueeHTMLStart + " direction = \"" + sDirection + "\"";
if(sDirection == "left" || sDirection =="right")
{
//For left and right directions seperate the headilnes by two spaces.
sHeadlineTerminator = " ";
}
else
{
//For down and up directions seperate headlines by new line
sHeadlineTerminator = "\<br/\>";
}
}
if(sOpenLinkLocation =="N")
{
sPostLinkLocation = " target= \"_blank\" ";
}
else
{
sPostLinkLocation = " ";
}
sMoqueeHTMLEnd = "\</MARQUEE\>"
sHeadLines = "";
for(var nFeedCounter = 0; nFeedCounter < nMaxPosts; nFeedCounter++)
{
objPost = json.feed.entry[nFeedCounter];
for (var nCounter = 0; nCounter < objPost.link.length; nCounter++)
{
if (objPost.link[nCounter].rel == 'alternate')
{
sPostURL = objPost.link[nCounter].href;
break;
}
}
sHeadLines = sHeadLines + "\<b\>"+sBulletChar+"\</b\> \<a " + sPostLinkLocation + " href=\"" + sPostURL + "\">" + objPost.title.$t + "\</a\>" + sHeadlineTerminator;
}
if(sDirection == "left")
{
//
sHeadLines = sHeadLines + " " + sPoweredBy;
}
else if(sDirection == "right")
{
sHeadLines = sPoweredBy + " " + sHeadLines ;
}
else if(sDirection == "up")
{
sHeadLines = sHeadLines + "\<br/\>" + sPoweredBy;
}
else
{
//For down and up directions seperate headlines by new line
sHeadLines = sPoweredBy + "\<br/\>" + sHeadLines;
}
document.write(sMoqueeHTMLStart + sHeadLines + sMoqueeHTMLEnd )
}
catch(exception)
{
alert(exception);
}
}</script><script style=""> var nMaxPosts = 15; var nWidth; var nScrollDelay = 175; var sDirection="right"; var sOpenLinkLocation="N"; var sBulletChar="→"; </script> <script src="http://blogodel.com/feeds/posts/default?alt=json-in-script&callback=RecentPostsScrollerv2"></script>
Там где маркировано красным, необходимо внести адрес-урл вашего блога.
20 коммент.:
https://www.blogger.com/profile/00056077849840177938
https://www.blogger.com/profile/01794712115911046677
https://www.blogger.com/profile/00056077849840177938
https://www.blogger.com/profile/13746790384341325111
https://www.blogger.com/profile/00056077849840177938
https://www.blogger.com/profile/13746790384341325111
https://www.blogger.com/profile/11470153331225193524
https://www.blogger.com/profile/04641467992662136191
https://www.blogger.com/profile/01559909081181621469
Куда сам текст вставлять... у меня пока ничего не проявилось?
https://www.blogger.com/profile/01132453707190631545
http://hobby-boom.blogspot.ru/
https://www.blogger.com/profile/03116056575182403627
http://martalebre.weebly.com
https://www.blogger.com/profile/09716848580008111286
https://www.blogger.com/profile/09553979312745024654
https://www.blogger.com/profile/13746790384341325111
https://www.blogger.com/profile/11570344517971292252
https://www.blogger.com/profile/09107974568417194528
Отправка комментария
Дорогие Друзья! К сожалению, по причине здоровья, моя активность по этому блогу будет осуществляться по мере ВОЗМОЖНОСТИ!