How do i disable announcement banner poping-up every time i refresh the page?
below the footer and script.
<footer class="aui-dialog2-footer" id="infoPopupFooterDivId">
<input type="checkbox" id="infoPopupDontShowCheckboxId" style="margin-left:5px;">
<span id="dontShowSpanId" onclick="enableCheckBox();" class="aui-dialog2-footer-hint" style="font-size: 14px;">Do not show this again.</span>
<button class="aui-button aui-button-primary" id="infoPopupOkButtonId" onclick="hideInfoPopoup();" style="float:right;" resolved="">Close</button>
</footer> <!-- End of footer div-->
</section>
<script>
// Hides the dialog
AJS.dialog2("#infoPopupSuperContentDivId").show();
AJS.$("#infoPopupOkButtonId").click(function(e) {
e.preventDefault();
AJS.dialog2("#infoPopupSuperContentDivId").hide();
});
</script>
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.