Recent posts update fast load


This is new version of Recent posts

1. Login to blogger, then choose "Layout --> Edit HTML". Don't forget to backup your template first.
2. Check the "Expand Widget Templates" box.

3. Find below code




 function removeHtmlTag(strx,chop){
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
s = s.join("");
s = s.substring(0,chop-1);
return s;

}


And replace by this code
function removeHtmlTag(s,max){
s=s.replace(/<br.*?>/ig, ' ');
return s.replace(/<.*?>/ig, '').split(/\s+/).slice(0,max-1).join(' ')
}


Now you have to change the value of sumaryPost
Example: summaryPost = 30;
Fandung[dot]com

7 comments:

  1. Anonymous30/3/13

    Neat blog! Ιs your themе custom made οr ԁid you download it frοm somewhеre?
    A ԁesign liκe yοurs wіth a feω ѕimрle tωeeks woulԁ rеally make my blog
    ѕtаnԁ out. Please lеt me knoω where
    yοu got your design. Appreсiatе іt

    Alѕo visit mу homepagе: www.Prweb.com

    ReplyDelete
  2. Anonymous30/3/13

    Apprесіаting thе haгd work you ρut іnto уour ѕіte and detaіled іnfοгmation yοu proνide.

    It's nice to come across a blog every once in a while that isn't the same out οf date rehashed material.
    Gгeat read! Ӏ've saved your site and I'm аdding your RSS fеeds
    tο my Google aсcount.

    my web pаge; http://www.prweb.com

    ReplyDelete
  3. Anonymous30/3/13

    Thіѕ is very аttentiоn-grabbіng, Үou're a very skilled blogger. I'ѵe јoіnеd уοur rss
    feed аnd sit uρ foг in the hunt for eхtra of your magnificent ρost.
    Also, I haνe shareԁ youг site in my
    ѕocial nеtwοrkѕ

    Τaκe а look at my hοmepаgе:
    hydroxatone Reviews

    ReplyDelete
  4. Anonymous16/4/13

    Definitely consider that which you stated. Your favourite reason seemed to be on the internet the simplest factor to bear in mind of.
    I say to you, I definitely get irked at the same time
    as folks think about concerns that they plainly do
    not recognise about. You controlled to hit the nail upon the top and
    also defined out the entire thing with no need side effect , other
    people can take a signal. Will likely be back to get more.
    Thank you

    Also visit my web site - X-Ray Tec

    ReplyDelete
  5. Anonymous25/7/14

    西班牙催情薬:http://www.kampo365.com/product/182.html
    紅蜘蛛女性催情口服液 RED SPIDER:http://www.kampo365.com/product/181.html
    美人豹:http://www.kampo365.com/product/179.html
    金蒼蝿 Gold Fly 迷情液:http://www.kampo365.com/product/178.html
    西班牙蒼蝿粉(鉄箱催情粉)(4缶装):http://www.kampo365.com/product/175.html
    DEMON女用興奮粉:http://www.kampo365.com/product/173.html
    紅蜘蛛 II(水剤+粉剤):http://www.kampo365.com/product/171.html
    西班牙蒼蝿迷情液 (gold fly):http://www.kampo365.com/product/168.html
    西班牙魔力蒼蝿水:http://www.kampo365.com/product/167.html
    西班牙蒼蝿水口服液+遅延増大:http://www.kampo365.com/product/166.html
    西班牙魔力蒼蝿水:http://www.kampo365.com/product/164.html
    三體牛寶:http://www.kampo365.com/product/570.html
    西班牙蒼蝿水:http://www.kampo365.com/product/163.html
    西班牙蒼蝿水口服液:http://www.kampo365.com/product/162.html
    VOV催情粉:http://www.kampo365.com/product/236.html
    シルバーフォックスslivlr fox 催情液:http://www.kampo365.com/product/161.html
    愛妻楽:http://www.kampo365.com/product/158.html
    西班牙(Spanish Bag)昆虫粉:http://www.kampo365.com/product/157.html
    紅蜘蛛赤くも催情粉:http://www.kampo365.com/product/156.html
    西班牙蒼蝿粉:http://www.kampo365.com/product/154.html
    SPANISCHE FLIEGE D5:http://www.kampo365.com/product/143.html
    三體牛鞭:http://www.kampo365.com/product/141.html

    ReplyDelete