Tutor Text Show/Hide
Posted on Wednesday, June 8, 2011| ✎ 0 Awesome
 
hai..!! ape tajuk diatas?? x tahu?? ape ye?? ha!! kalo korang nk tahu..!! tgk kat bawah ni

CLICK HERE TO READ SOMETHING SPECIAL.  (kak nana punye)

hello guys,..!! sape nk buad !?? angkat kepala.. hahahahaha.. ok sape2 nk buad jom ikut tuto 
sini..!!


1. Dashboard > Design > Add Gadget > HTML/Javascript.
2. Paste code ni kat content tu!


<script language="javascript"> function toggle() {var ele = document.getElementById("toggleText");var text = document.getElementById("displayText");if(ele.style.display == "block") {ele.style.display = "none";text.innerHTML = "HERE";}else {ele.style.display = "block";text.innerHTML = "HERE";}</script>
CLICK <a id="displayText" href="javascript:toggle();">HERE</a> TO READ SOMETHING SPECIAL. <div id="toggleText" style="display: none">Isi lah apa-apa kat sini.</div>
 Kalau nak tukar yang HERE warna merah tu, pastikan semua ayat yang warna merah sama.

Yang CLICK tu ayat depan button show/hide text. Yang TO READ SOMETHING SPECIAL. tu ayat belakang button show/hide text.

Isi lah apa-apa kat sini. tu contents show/hide button lepas ditekan. 

(ayat kak nana(copy coz x tahu nk buad ayat!!) hope kak nana x marah*~

ok dah boleh?? bangga lah ngan diri korang!! :D..

save!

credit to:kak nana punye tuto



 

« Newer Posts | Older Post »
I'm Girl
Assalamualaikum:)
My name Anis for short :) My age is 12 years old! UPSR IS COMING @_@ just follow me if you like this blog and i will follow back :D
|
Facebook


My Heart♥
Creadit
Please notice me! if i not credit your stuff :)
Designer : Anis Maisarah
Background : Una
Header : Iyra
Doodle : Apple
Best View : Google Chrome