Mira Rara Official



Dislike my blog ?
click HERE

Friends !
Notis !
online user
visitors

Official !
Our
Fall in ♥. Awesome !



Memories !



Chit Chat !


Famouse !
Text Show/Hide


Example :-

CLICK HERE TO READ SOMETHING SPECIAL.

Nak benda ni ? Jom ikut tuto mira >.<

 First , Dashboard > Design > Add Gadget > HTML/Javascript.
Untuk pengguna Classic Template tentu korang tau nak letak mana kan ?
 Paste code ni kat situ.
<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.
 Dah puas hati, Save terus. Jangan view kat Rich Text. Kalau tak, tak jadi.
Itu jee. Sila jangan complain tak jadi sebab mira buat jadi je. Pfft ar

Labels: