Monday, 3 October 2011

Hidden text/widget

Whats a hidden text ?
This is hidden text :

Want it ?

1. Log in > Dashboard > Design > Add Gadget > Html/JavaScript
2. Paste below code to the html/javascript

<center><div><div style="margin: 5px;">
<div style="margin-bottom: 2px;" class="bigfont"><input style="margin: 0px; padding: 0px; width: 95px; " value="Click here!" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Thank You'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Click here!'; }" type="button"/>
</div>
<div style="border: 0px inset ; margin: 0px; padding: 6px;" class="alt2">
<div style="display: none;">
CODE OR TEXT</div></div></div></div>
3. Save , preview
Red : Your text or widget code
Blue : Before click Text
Puple : After clicked text

Saya tahu korang baik , tolong saya klik skali boleh ? Terima kasih :')
Share:

0 comments:

Post a Comment

Terima kasih kerana sudi membaca , jangan lupa tinggalkan komen :)
Fikir semula sekiranya korang ingin meninggalkan komen lucah, ugutan, mengancam, identiti palsu, dan menyakitkan hati. Baca AKTA 588, AKTA KOMUNIKASI DAN MULTIMEDIA 1998. Oh, sebelum tu, tengok lah site awesome
ini