heee :D jom kita mulakan yaaa ? actually tuto nie una belajar dari SINIE , simpleee saje ! and senang nak faham okehh ? soo , jom kita buat yerr ? 1st thing korunk kene Dashboard > design > add gadget > HTML/javascript
nowww , korunk copy code di bawa ini yaaa ?
<script language="javascript">dah sudah semua korunk save lahh , hahh , nie una nak bgtahu tolong jgn click rich text sebab ape ? sebab ia takkan menjadi punyer hahh , una dah try bnyk kali , then baru okehh :) korunk kene cuba elok2 kayy ? kalau tak faham tanya yaaa ? or korunk boleh click SINIE jer :) okehh ? thanksss ^^
function toggle() {
var ele = document.getElementById("toggleText");
var text = document.getElementById("displayText");
if(ele.style.display == "block") {
ele.style.display = "none";
text.innerHTML = "TAKE A LOOK";
}
else {
ele.style.display = "block";
text.innerHTML = "TAKE A LOOK";
}
}
</script>
DO <a id="displayText" href="javascript:toggle();">TAKE A LOOK</a> TO SEE MIRACLE
<div id="toggleText" style="display: none">
TULIS SAJA APA-APA YANG KORUNK MAHU :)
</div>