Macamane nk letak wording yg bergerak2 mcm kat seblah nie..
ok!senang je..
p kat design>page elements>add a gadget>HTML/Java Script..n copy coding..
tok coding
korang ubah coding nie kat 'ayat yg korg nak' kat situ letak pe ayat yg korg nak tulis..
1. kalo korg nak wording tu juz bergerk je..xde color kat blakg..
<marquee>ayat korang nak</marquee>
2.kalo korg nak wording + color background..
<marquee bgcolor="#99CCFF">ayat korang nak</marquee>
mentapi..color tu bole ubah..kalo2 korg x berkenan..korg bole ubah color tu tp cr la hexadecimal code color yg korg nak..
3.korg pon bole tukar kalo nak wording tu kekiri ke kekanan ke keatas ke..
<marquee direction="right" bgcolor="#99CCFF">ayat korang nak</marquee>
korg tukar ''right'' kpd left ke up ke down ke..
4. korg pon bole gak pause kan wording tu kalo letak mouse kat wording tu..gune coding nie..
<marquee behavior="alternate" direction="left" bgcolor="#CCCCCC" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="2" scrolldelay="50"> ayat korang nak</marquee>
ok! harap korg bole la gune bende alah nie kat blog korg plak ea..ngee~
bai!
No comments:
Post a Comment