Widget Breaking News Ticker

Widget ini akan membantu Anda untuk menampilkan postingan terbaru sebagai ticker.Dalam tutorial ini saya akan menunjukkan kepada anda, ba...

Widget Breaking News Ticker
Widget ini akan membantu Anda untuk menampilkan postingan terbaru sebagai ticker.Dalam tutorial ini saya akan menunjukkan kepada anda, bagaimana cara membuat breaking news ticker untuk blogger. Jika wordpress ingin menambahkan Breaking news ticker hanya dengan menambahkan beberapa plugin wordpress dengan mudah. Tapi untuk pengguna blogger perlu melakukannya dengan menambahkan beberapa kode secara manual.

Berikut cara memasang Widget Breaking News Ticker:

1. Masuk ke Blogger > Edit html
2. Ctrl F (pada windows) atau Command F (pada mac) search </style>
3. Copy kode dibawah yang saya berikan dan paste sebelum </style>
(FYI Kode warna orange dibawah bisa anda ganti sesuka hati agar cocok dengan warna design templates anda)
/*========================== CSS Breaking News by SevenAngel==========================*/
#breakingnews {margin-right:15px;height:30px;line-height:30px;overflow:hidden;width:35%;float:left;}
#adbreakingnews li a {font-family:inherit;font-weight:400;color:#666;transition:all 0.5s ease-in-out;}
#adbreakingnews li a:hover {color:#EE8F04;}
#adbreakingnews {float:left;margin-left:60px;}
#adbreakingnews ul,#adbreakingnews li{list-style:none;margin:0;padding:0}
#breakingnews .breakhead {position:absolute;display:block;float:left;font-size:11px;font-weight:700;text-transform:uppercase;padding: 2px 6px;}
4. Ctrl F (pada windows) atau Command F (pada mac) search </body>
5. Copy kode dibawah yang saya berikan dan paste sebelum </body>
<script type='text/javascript'>
// Breaking News by sevenangel.id
$(document).ready(function(){var e="",t=20;$.ajax({url:""+e+"/feeds/posts/default?alt=json-in-script&max-results="+t,type:"get",dataType:"jsonp",success:function(e){function t(){$("#adbreakingnews li:first").slideUp(function(){$(this).appendTo($("#adbreakingnews ul")).slideDown()})}var n,r,s="",a=e.feed.entry;if(void 0!==a){s="<ul>";for(var l=0;l<a.length;l++){for(var o=0;o<a[l].link.length;o++)if("alternate"==a[l].link[o].rel){n=a[l].link[o].href;break}r=a[l].title.$t,s+='<li><a href="'+n+'" target="_blank">'+r+"</a></li>"}s+="</ul>",$("#adbreakingnews").html(s),setInterval(function(){t()},5e3)}else $("#adbreakingnews").html("<span>No result!</span>")},error:function(){$("#adbreakingnews").html("<strong>Error Loading Feed!</strong>")}})});
6. Save Template anda
7. Masuk Ke menu Layout pada dashboard blogger anda dan pilih dimana anda ingin meletakkan Widget Breaking News ini.(Add a Gadget > HTML/JavaScript)
Widget Breaking News Ticker
Masukan kode dibawah ini kedalam HTML/JavaScript tersebut
<div id='breakingnews'><span class='breakhead'><i class='fa fa-refresh fa-spin'/> Latest</span>
<div id='adbreakingnews'>Loading...</div></div>
<div style='clear: both;'/>
8.Save and Done silahkan liat hasilnya di Home anda.

When you intend to do something innovative in life, people will tell you that you can not do it but when you prove that you can, the same person would ask you: How you did it? So don't give up and keep blogging humbly.


Tips dan Trik Android iOS Game_$type=two$height=auto$l=0$m=0$s=0$rm=0$show=home


SevenAngel Technology: Widget Breaking News Ticker
Widget Breaking News Ticker
SevenAngel Technology
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy