Wednesday, July 15, 2009

Marquee

Saya ada bocoran mengenai cara membuat efek marquee .. apa sih marquee itu dan yang gimana sih bentuknya...? pernah lihatkah anda tulisan yang bergerak atau berjalan kesamping kiri ke kanan atau sebaliknya dan atau bergerak dari atas kebawah atau sebaliknya..? nah.. itu namanya hasil pembentukan dari efek perintah marquee.Ok sebaiknya kita mulai ada dech copy kode dibawah ini pada blog anda dan anda dapat merubahnya menurut selera :
1.Model pertama dan contohnya:
<marquee>Ubah kalimat ini dengan keinginan anda</marquee>

Ubah kalimat ini dengan keinginan anda

2.Model kedua dan contohnya
contoh pertama polos tanpa tambahannya, dan contoh ini anda bisa rubah width: lebar , height: tinggi , bgcolor: warna dasar, behavior= mengatur gerakan, scrollamount= mengatur kecepatan, color= warna tulisannya.
<marquee behavior='alternate' bgcolor='#FFD86B' scrollamount='8' width='400px'><span style='color:red'>Ubah kalimat ini dengan keinginan anda</span>
</marquee>

Ubah kalimat ini dengan keinginan anda


Selamat anda mencoba semoga mendapat kepuasan. Salam.........

Friday, July 3, 2009

Test

1. You have to add this script to your source template, before the </head> tag:
<script src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js" type="text/javascript"></script>
<script type="text/javascript">$(function(){$("#butToggle").click(function(){$('#dvt').toggle(1000);});});</script>

2.Next, add this CSS code before the </body> tag :

#dvt{width: 200px;height: 100px;border: solid 1px black;background-color:LightGrey;text-align:center; display:none;}

3.Finally ,create a HTML/JavaScript then add this code or you can add it to your entry too :
<div id="dvt">Put your codes, texts here...</div>
<button id="butToggle">Spread</button>


Look for the red code ,that is the place you need to put text and option the size of the box.
Save and have fun.

 
© free template by Blogspot tutorial