TUTORIAL : MARQUEE POST TITLE

May 30, 2012



Assalamualaikum.. WBT
Hai hai. Oke, sape tak paham apa itu Marquee? 
Marquee means korang punya ayat tuh bergerak-gerak lah. 
Hari nih Montela nak ajar Post Title bergerak ke kiri.

1. Log In > Dashboard > Design > Edit HTML > Tick Widget Expand Tempalate

2. Gunakan Ctrl F dan search kod kat bawah nih :
<b:includable id='post' var='post'> 

3. Bila uols dah jumpa kod tadi, uols cari kod macam kat bawah nih.

<b:includable id="post" var="post">
</b:includable>
<div class="post hentry uncustomized-post-template">
<a expr:name="data:post.id" href="">
<b:if cond="data:post.title">
</b:if></a>
<h3 class="post-title entry-title">
<a expr:name="data:post.id" href=""><b:if cond="data:post.link">
</b:if></a><a expr:href="data:post.link" href=""><data:post .title=".title"></data:post></a>
<b:else>
<b:if cond="data:post.url">
<a expr:href="data:post.url" href=""><data:post .title=".title"></data:post></a>
<b:else>
<data:post .title=".title">
</data:post></b:else></b:if>
</b:else>
</h3>
</div>

4. Oke,  sekarang delete semua kod yang panjang lebar tuh dan gantikan dengan kod ini :
<b:includable id='post' var='post'>
<div class='post hentry uncustomized-post-template'>
<a expr:name='data:post.id'/>
<b:if cond='data:post.title'>
<marquee direction='left'><h3 class='post-title entry-title'>
<b:if cond='data:post.link'>
<a expr:href='data:post.link'><data:post.title/></a>
<b:else/>
<b:if cond='data:post.url'>
<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
</b:if>
</h3></marquee>
</b:if> 

5. Uols jangan lupa Preview dulu oke. Tak jadi kang menangis tak berlagu. Dah takde Error baru SAVE! 


You Might Also Like

1 000, 000 Pengkomen

DISCLAIMER: Comments are welcomed. However, noted that, tasteless and insulting comments may be deleted. Any personal remarks and attacks may be deleted. The same holds true for off-topic comment. Any comments that reek of link spam or marketing messages will be deleted.

I am not responsible for the content in comments other than those made by me, or in blogs, or other online content that I may link to.</p>