Auto Read More Without Requiring JavaScript

By BLOGGER MAPS  |  

Sunday, March 13  |  

Certainly you know the script read more automated isn’t it? So far, we make use of automatic readmore is equipped with a java script. So, the java script of course make a little influence on the loading page of your blog. Well now, there is a new blogger tricks for your blog design, how to make post summaries with thumbnails without java script. This trick I learned from the results of my surfing on the internet. Amazing, because this trick uses only pure one hundred percent hmtl code with a little touch of css. I will tell you how to use it below.

The first step, please go to the edit hmtl tab on your blog. Remember, you have to expand the widget. After that, look for the code <data:post.body /> and replace with the following code :

<b:if cond='data:blog.pageType != "item"'>
<b:if cond='data:post.snippet'>
<b:if cond='data:post.thumbnailUrl'>
<div class='Image thumb'>
<img expr:src='data:post.thumbnailUrl'/>
</div>
</b:if>
<data:post.snippet/>
<b:if cond='data:post.jumpLink != data:post.hasJumpLink'>
<div class='jump-link'>
<a expr:href='data:post.url + "#more"' expr:title='data:post.title'><data:post.jumpText/></a>
</div>
</b:if>
<b:else/>
<data:post.body/>
</b:if>
<b:else/>
<data:post.body/>
</b:if>

The next step, you need to add some CSS code, which is placed on top or before </b:skin> code. The following code :

.thumb img { float: left; margin: 0 10px 10px 0; }

Complete, and please see the results. Hope you enjoyed.

Blogger Maps, 13 March 2011

26 comments:

Abu Hz - Belajar Bisnis said...

How you can determine the number of characters to be displayed?
Thanks

Herdiansyah said...

Abu HZ : To set the number of characters, until now not been possible. Hopefully this problem will be solved soon. The only advantage from this tricks is loading page speed. Thank you for visted me.....

Oncoroeblik said...

thanks 4 the information. it's very usefull

Anonymous said...

Good dispatch and this enter helped me alot in my college assignement. Gratefulness you on your information.

online pharmacy

Anonymous said...

Great view I recently hit on your blog and have been reading along. I thought I would leave my incipient comment. I don’t know what todiscloseexcept that I have enjoyed reading. Correct blog. I will keep visiting this blog very each.

Aromatherapy Treatments

Anonymous said...

Your blog looks nice, even so it would be far better if you’ll be able to use lighter colors too as a professional design. This will make sure that a lot more readers come to check it out.Informative post by the way!

cheap clomid

Blogger Maps Admin said...

Oncoroeblik : Your welcome, hope you enjoyed....
Suhotone + Xebezizz : Thank you, i'll try do the best for everyone. Hope you have a lot of time to visited this site....

ershad said...

fgergregrrge

Blogger Maps said...

To set the number of characters, until now not been possible. Hopefully this problem will be solved soon. The only advantage from this tricks is loading page speed. Thank you for visted me.....

Blogger Maps said...

Youre welcome and thans for visited me.....

Blogger Maps said...

Thank you Suhotone....

Blogger Maps said...

Please do not make a spam here. Thank you....

Blogger Maps said...

Thank you so much Legesilo......

Blogger Maps said...

Thank you....

Blogger Maps said...

Thank you and i'll visited you soon...

mir said...

cool stuff. is there a way to define the cutoff point? data:post.snippet cuts it off at 100 characters by default, it seems. but that´s too less for a summary, really.

Maula Nurul Khakam said...

nice one..hehehhehe

Blogger Maps said...

Thank you, hope you enjoyed...

Blogger Maps said...

This method is still very standard. So, cutoff point is automatic. Hope someday we can be found the best way....

Ahmad Abdullah said...

Great i like that, I really appreciate your idea, All the html codes are working ...
"http://www.verticlejumpbible.org"

Rakibtg said...

image is not showing...

Herdiansyah Hamzah said...

I've been try and image thumb is appear. Maybe you use another script code. I suggest you to erase the script, before use this code. Thanks

SD said...

ad

sasha said...

nice blog. smash repairs perth

Okakaalfred said...

I was just wondering if there is a way of increasing the number of characters in the post snipet

Chiranjeev said...

is there any way to increase number of character on home page. how to increase the number of character in auto read more snippet in blogger

Post a Comment

 
© Copyright 2010-2011 Blogger Maps All Rights Reserved.
Template Design by Herdiansyah Hamzah | Published by Borneo Templates | Powered by Blogger.com.