Home » Wapka Codes 2021 » Auto Hide Message
sajeevscg 3 years ago |
:VALUE(%status%).IFEQ(unread).THEN(<center><div id="scgnoti"><p class="success"> <a id="close">Close</a>New Message <br>%sender_name%<br><textarea>%msg%</textarea></p></div></center>).ELSE();
<script>
close = document.getElementById("close");
close.addEventListener('click', function() {
scgnoti = document.getElementById("scgnoti");
scgnoti.style.display = 'none';
}, false);
</script>
For more details replay
comment |