2009/01/27

Special Effects For your Post

Yesterday, when I type Readmore hunt, I get a good tutorial on Readmore. Hackospare gave the name "Special Effects for Post Peekaboo"

Good indeed, because when we hit "Readmore" does not need to move to the sub page.

However, Readmore models such as this can not be added to the modified form template Magazine. Because the template modifications in the magazine, is required for the front page article and fragment sub page for full article.

In the magazine template modifications, there are labels that are necessary both in the front page and sub page.

But if you are interested, please follow the tutorial on the blog. Good to be a reference.

Here, I also copy them from the source:

Step 1: Add these lines before the /head tag.


<script type='text/javascript' src=
'http://anniyalogam.com/scriptaculous/src/prototype.js'/>
<script type='text/javascript' src=
'http://anniyalogam.com/scriptaculous/src/scriptaculous.js?load=effects'/>
<script type='text/javascript'>
var fade = true;
var peekaboo_bgcolor = '#ffffff';
</script>


If your blog's background color is anything other than white, you need to change the peekaboo_bgcolor appropriately for it to work properly in IE. Since most blogs have white background, it should work as it is.

Step 2: Find this portion of code and remove the line shown in red.

<div class='post-body'>
<b:if cond='data:blog.pageType == "item"'>
<p><data:post.body/></p>
<b:else/>
<style>#fullpost {display:none;}</style>
<p><data:post.body/></p>

1 Comments:

Diana Yusuf said...

wow its good tip and trik, can i get permission for take this to be try in my blog?

Post a Comment

Recent Comments

 
Powered By Blogger
Photobucket.com image hosting and photo sharing
Copyright @ 2008 true pillager: Special Effects For your Post | Original Template: MINIMA| Modified By NATALUDIN|
Thank's for : Blogger | Photobucket|Picasa |

Top