Improve ‘Read More’ On Red-H Template

RED - H Image_thumb[1] For those of you who already use red-h template, I apologize for read more on this template are often not working. Since I made using a free hosting and hosting the coincidence ( is often down, so I change it by placing the script code directly in this template.

To change this, please log in to blogger. Select Layout, then click Edit HTML

Look for code like this below :

<script src='' type='text/javascript'/>

Delete the code, and replace with the following code :
<script type='text/javascript'>
Auto-readmore link script, version 2.0 (for blogspot)
(C)2008 by Anhvo
visit to get more cool hacks
function removeHtmlTag(strx,chop){
var s = strx.split("<");
for(var i=0;i<s.length;i++){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
strx = s.join("");
chop = (chop < strx.length-1) ? chop : strx.length-2;
while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;
strx = strx.substring(0,chop-1);
return strx+'...';
function createSummaryAndThumb(pID){
var div = document.getElementById(pID);
var imgtag = "";
var img = div.getElementsByTagName("img");
var summ = summary_noimg;
if(img.length>=1) {
imgtag = '<span style="float:left; padding:0px 10px 5px 0px;"><img src="'+img[0].src+'" width="'+img_thumb_width+'px" height="'+img_thumb_height+'px"/></span>';
summ = summary_img;
var summary = imgtag + '<div>' + removeHtmlTag(div.innerHTML,summ) + '</div>';
div.innerHTML = summary;

Do not forget to Save Template, and then see the results.

Related Posts


January 15, 2010 at 5:56 PM

..hmm..I'm sorry friend..thanks for the info..but I believe I couldnt see any HTML script added for this improve...did I missed something..??

January 22, 2010 at 1:03 AM

Emerzet615 : sorry, i was wrong to write posting that scrit code does not appear

November 16, 2010 at 10:30 AM

nice info..berguna sekali

April 17, 2011 at 8:22 AM

script" auto readmore cukup berpengaruh untuk loading blog" karena hiddenya begitu cepat ;)
thanks infonya bro.

September 1, 2012 at 11:11 AM

nice info, thanks

Post a Comment


Recent Comments

Reader Community

Recent Posts