Hallo Sobat Blogger kali ini saya akan memberikan tips cara membuat scroll artikel terkait dengan scroll box seperti Artikel terkait di bagian bawah artikel ini. Oh iya fungsi dari artikel terkait ini untuk menambah pageview agar orang - orang yang melihat artikel kita akan lebih mudah untuk mencari artikel- artikel yang berkaitan dengan artikel tersebut. Ok langsung saja kita mulai mepraktekan caranya.
- Masuk ke akun Blogger anda.
- Jangan lupa Backup dulu template anda agar ketika terjadi kesalahan maka anda bisa mengembalikannya menjadi seperti semula.
- Kemudian pilih Rancangan dan masuk ke tab Edit HTML
- Setelah itu jangan lupa memberi centang pada Expand Template Widget
- Cari kode ]]></b:skin> kemudian letakan kode dibawah ini tepat diatas kode ]]></b:skin>
.rbbox{border: 1px solid rgb(192, 192, 192);padding: 5px;
background-color: #f0f0f0;-moz-border-radius:5px; margin:5px;}
.rbbox:hover{background-color: rgb(255, 255, 255);
- Kemudian Cari kode <data:post.body/> dan letakan kode dibawah ini tepat dibawah kode <data:post.body/>
<b:if cond='data:blog.pageType == "item"'>
<br/>
<br/>
<H2>Artikel Terkait:</H2>
<div class='rbbox'>
<div style='margin:0; padding:10px;height:200px;overflow:auto;border:1px solid #ccc;'>
<div id='albri'/>
<script type='text/javascript'>
var homeUrl3 = "<data:blog.homepageUrl/>";
var maxNumberOfPostsPerLabel = 4;
var maxNumberOfLabels = 10;
maxNumberOfPostsPerLabel = 999;
maxNumberOfLabels = 3;
function listEntries10(json) {
var ul = document.createElement('ul');
var maxPosts = (json.feed.entry.length <= maxNumberOfPostsPerLabel) ?
json.feed.entry.length : maxNumberOfPostsPerLabel;
for (var i = 0; i < maxPosts; i++) {
var entry = json.feed.entry[i];
var alturl;
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'alternate') {
alturl = entry.link[k].href;
break;
}
}
var li = document.createElement('li');
var a = document.createElement('a');
a.href = alturl;
if(a.href!=location.href) {
var txt = document.createTextNode(entry.title.$t);
a.appendChild(txt);
li.appendChild(a);
ul.appendChild(li);
}
}
for (var l = 0; l < json.feed.link.length; l++) {
if (json.feed.link[l].rel == 'alternate') {
var raw = json.feed.link[l].href;
var label = raw.substr(homeUrl3.length+13);
var k;
for (k=0; k<20; k++) label = label.replace("%20", " ");
var txt = document.createTextNode(label);
var h = document.createElement('b');
h.appendChild(txt);
var div1 = document.createElement('div');
div1.appendChild(h);
div1.appendChild(ul);
document.getElementById('albri').appendChild(div1);
}
}
}
function search10(query, label) {
var script = document.createElement('script');
script.setAttribute('src', query + 'feeds/posts/default/-/'
+ label +
'?alt=json-in-script&callback=listEntries10');
script.setAttribute('type', 'text/javascript');
document.documentElement.firstChild.appendChild(script);
}
var labelArray = new Array();
var numLabel = 0;
<b:loop values='data:posts' var='post'>
<b:loop values='data:post.labels' var='label'>
textLabel = "<data:label.name/>";
var test = 0;
for (var i = 0; i < labelArray.length; i++)
if (labelArray[i] == textLabel) test = 1;
if (test == 0) {
labelArray.push(textLabel);
var maxLabels = (labelArray.length <= maxNumberOfLabels) ?
labelArray.length : maxNumberOfLabels;
if (numLabel < maxLabels) {
search10(homeUrl3, textLabel);
numLabel++;
}
}
</b:loop>
</b:loop>
</script>
</div>
<script type='text/javascript'>RelPost();</script>
</div>
</b:if>
<br/> - Simpan dan lihat hasilnya ^^
{ 19 komentar... Views All / Send Comment! }
mantaaaappp bos,,,,,,,!!!!!
bagus sekali posting nya,,,,,,,!
Berhasil berhasil berhasil tapi Script nu di handap b:skin mah error cuy ,jadi we ngan make nu dihandapeun data:post.body ,tapi da moal nanaon nyak???
@Darana-xp sory salah uy kuduna ditempatknna diatas kode ]]> lain dibawahna,,, hhe ganti dei w supaya tamabh optimal
thx..
update antivirus
http://indra-av.blogspot.com/
ok sip bos siap menuju TKP :) thanks atas kunjungannya
makasih aku mau nyoba
ok silahkann gan semoga bermanfaat :D
sippp,, tp lum sukses sma hover'y kang,
Mantap Gan!!
Terima Kasih Atas Postingannya Sangat Membantu
@Topjer trus berusha kang nanti juga pasti bisa :D
@Klik menarik
sip sma2 :D
Terimakasih bro.. sudah saya coba dan berhasil sukses... makasih banyak ya.. saya follow deh blog mu bro... follow balik ya.. :D
www.angkatigabelas.blogspot.com
ok siap gan.. sip sma2 :D
makasih infonya sangat membantu sekali untuk yang belum pasang, nice share and happy blogging
burberry factory outlet, louis vuitton, louis vuitton outlet online, prada handbags, cheap oakley sunglasses, tiffany jewelry, ralph lauren outlet, michael kors handbags, ray ban sunglasses, oakley sunglasses, nike outlet, replica watches, ray ban sunglasses, christian louboutin, michael kors, nike air max, prada outlet, chanel handbags, nike free, uggs outlet, michael kors outlet, oakley sunglasses, uggs on sale, longchamp outlet, louboutin shoes, longchamp bags, michael kors outlet online, louboutin uk, tory burch outlet, ray ban sunglasses, michael kors outlet online, tiffany jewelry, longchamp outlet, kate spade, uggs outlet, uggs on sale, burberry outlet, louis vuitton outlet, uggs on sale, oakley sunglasses, oakley sunglasses, michael kors outlet online, cheap jordans, nike air max, replica watches, louis vuitton handbags
ugg uk, barbour jackets uk, canada goose outlet, louis vuitton, moncler, links of london uk, pandora uk, juicy couture outlet, ugg,ugg australia,ugg italia, doke & gabbana, canada goose, moncler, montre pas cher, ugg pas cher, juicy couture outlet, canada goose outlet, converse, moncler, pandora jewelry, converse shoes outlet, louis vuitton uk, louis vuitton, lancel, karen millen uk, canada goose jackets, pandora jewelry, moncler uk, wedding dresses uk, moncler jackets, replica watches, hollister, vans scarpe, ray ban, moncler outlet, sac louis vuitton, swarovski uk, hollister, ugg,uggs,uggs canada, canada goose uk, supra shoes, moncler pas cher, sac louis vuitton, gucci, nike air max, swarovski jewelry, canada goose, coach outlet, canada goose jackets, marc jacobs, canada goose pas cher, moncler
michael kors outlet online
cheap jordans
michael kors outlet
timberland outlet
true religion outlet
oakley sunglasses
nike factory outlet
nike air force
louis vuitton outlet
coach outlet
tory burch outlet
oakley vault
michael kors outlet
supra sneakers
louis vuitton
coach factory outlet
true religion jeans
pandora jewelry
ray ban sunglasses
nike air jordan
adidas shoes
louis vuitton handbags
ray ban sunglasses discount
nike roshe run
nike roshe flyknit
toms shoes outlet online
jordan retro
true religion
louis vuitton handbags
ray ban sunglasses
michael kors
michael kors outlet
michael kors outlet clearance
tory burch flats
longchamp handbags
burberry outlet
instyler curling iron
true religion shorts
coach outlet
cheap jordans
20165.21wengdongdong
chenlina20160708
oakley outlet
tory burch handbags
designer handbags
fitflop sandals
coach factory outlet online
coach outlet
christian louboutin shoes
louis vuitton outlet online
ray ban wayfarer
longchamp handbags
christian louboutin outlet
nike outlet store
lebron james shoes 13
cheap nfl jerseys
air jordans
coach outlet store online
adidas running shoes
supra shoes
mont blanc fountain pens
coach outlet store online
air jordan pas cher
louis vuitton outlet
jeremy scott shoes
louis vuitton outlet
nike outlet
christian louboutin outlet
christian louboutin shoes
michael kors outlet clearance
nike air force 1
cheap jordans
jordan concords
coach factory outlet
ralph lauren polo
louboutin pas cher
michael kors handbags
cheap oakley sunglasses
cheap oakley sunglasses
louis vuitton handbags
gucci outlet
coach outlet
as
https://www.bfirstseo.com/شركة-مكافحة-حشرات-بمكة/
https://www.bfirstseo.com/شركة-مكافحة-حشرات-بالجبيل/
https://www.bfirstseo.com/شركة-مكافحة-حشرات-بالاحساء/
https://www.bfirstseo.com/مكافحة-حشرات-بالخبر/
Post a Comment
Hallo sobat blogger !!
Jika ada broken link / ada yang masih kurang dipahami silahakn tinggalkan komentar anda disini....
--------------------------------------------------------
.You Coment i coment, You follow i follow :D