App Connect State Management Support Product Page

Alert controlled by cookie but without bootstrap

Asked 30 May 2017 14:20:20
1
has this question
30 May 2017 14:20:20 Michele - posted:
Hello,
I have a page without bootstrap framework and I'd like to hide an alert box with cookie as described here:
www.dmxzone.com/go/32878/animated-alert-controlled-by-cookie

The alert is this:
www.w3schools.com/howto/howto_js_alert.asp
<div class="alert">
  <span class="closebtn" onclick="this.parentElement.style.display='none';">&times;</span> 
  This is an alert box.
</div>

How can I do it with "Connect State Management "?
Thanks.

Replies

Replied 30 May 2017 15:07:44
30 May 2017 15:07:44 Teodor Kuduschiev replied:
Hello Michelle,
It doesn't matter if it is a bootstrap div or not. Just do what is described in the tutorial.

Reply to this topic