Hai Assalamualaikum. Harini rasa macam nak share satu tutorial macam mana nak buat Marquee text atau Scrolling text atau ayat yang gerak gerak tu macam yang Qilah buat kat bawah header tu. K taknak bebel banyak banyak.
1. Design -> Layout -> Add a gadget -> HTML/JavaScript
2. Korang copypaste code ni. Pilih antara satu. Ikut citarasa anda.
(a) Slide-in-text
<marquee behavior="slide" direction="left">Your slide-in text goes here</marquee>
(b) Continuous scrolling text *macam yang Qilah punye.
<marquee behavior="scroll" direction="left">Your scrolling text goes here</marquee>
(c) Text bouncing back and forth
<marquee behavior="alternate">Your bouncing text goes here</marquee>
(d) Text scrolling upwards
<marquee behavior="scroll" direction="up">Your upward scrolling text goes here</marquee>
3. Yang warna merah tu korang letak ayat yang korang nak.
Dah siap paste code tu, save je lah. Pastu preview dulu tengok comel ke tidak. Sekian, hope you enjoy it. Senang bukan?
0 comments:
Post a Comment
What to say?