/*== SLIDER POST | JAVASCRIPT | CODEPELAJAR.COM ==*/
var posts_no = 12; /* Untuk mengatur jumlah postingannya */
var labelnya = "du-an"; /* Isikan nama labelnya */
var showpoststhumbs = true; /* Tampilkan thumnail (tidak disarankan mengubahnya) */
var thumbwidth=300; /* Lebar thumbnail */
var thumbheight=200; /* Tinggi thumbnail*/
var readmorelink = false; /* tampilkan readmorelink */
var showcommentslink = true; /* tampilkan comment count */
var posts_date = false; /* tampilkan post date */
var post_summary = false; /* tampilkan summary / snippet */
var summary_chars = 0; /* jumlah karakter dari snippet */
function showlatestpostswiththumbs(t){document.write('');for(var e=0;evar p=n.published.$t,f=p.substring(0,4),g=p.substring(5,7),v=p.substring(8,10),w=new Array;if(w[1]="Jan",w[2]="Feb",w[3]="Mar",w[4]="Apr",w[5]="May",w[6]="Jun",w[7]="Jul",w[8]="Aug",w[9]="Sep",w[10]="Oct",w[11]="Nov",w[12]="Dec",document.write(''+labelnya+'
'),
1==showpoststhumbs&&document.write(''),
document.write(''+i+"
"),
"content"in n)var A=n.content.$t;else if("summary"in n)var A=n.summary.$t;else var A="";
var k=/<\S[^>]*>/g;if(A=A.replace(k,""),1==post_summary)if(A.length
var y=A.lastIndexOf(" ");A=A.substring(0,y),
document.write(A+"...")}var _="",$=0;
document.write(''),
1==posts_date&&(_=_+w[parseInt(g,10)]+" "+v+" "+f,$=1),
1==readmorelink&&(1==$&&(_+=" "),
_=_+'Selengkapnya',$=1),
1==showcommentslink&&(1==$&&(_+="
"),"1 Comment"==l&&(l="1 Comment"),"0 Commments"==l&&(l="No Comments"),
l=''+l+"",_+=l,$=1),
document.write(_),document.write(""),document.write("")}document.write("
")}
document.write("
0 nhận xét:
Đăng nhận xét