Senin, 27 Agustus 2012

Dynamic Blogger Archive Sort by Label [updated]

·


Sample in HTM file: modifArchiveListSample.htm
Online Sample preview: dynamic-blogger-archive-sort-by-label.blogspot.com

Main JS file: modifArchiveList.js
CSS: modifArchiveList_CSS.txt

How to load

Masukin CSS diatas ke CSS diBlog elo,
Add the CSS above to your blog template CSS,
Bikin satu widget HTML/Javascript, masukin script dibawah kedalemnya terus tempatin widget ini dibagian paling bawah dari layout blog.
Create a new HTML/Javascript widget, put the below script in it and placed this widget at the most bottom of blog layout.
if($('.post-title a').length==0){
  window.lingPost=$('a[rel="bookmark"]').prop('href')
}else{
  window.lingPost=$('.post-title a').prop('href')
}
if(typeof lingPost=='undefined'){window.lingPost=false}

$.ajax({url:'http://template-aing.googlecode.com/files/modifArchiveList.js',dataType:'script',cache:true,success:function(){
asipAing.modifArchiveList();
}});
Untuk Author panel, karena script ini baca label sama URL dari halaman aktif, jadi kalo postingan elo gak ada labelnya, Author panel gak bakal diload.
Metaaaaaaaaaaalllll...... \m/:P

1 komentar:

Hairi Ramadhan mengatakan...

untuk naruh modifArchiveList.js dgn modifArchiveList_CSS.txt dmna mas bro , tlong beri penjelasannya . thanks

Posting Komentar

handapeunpost