I know you can user session storage to only display an onload modal once. Not sure on syntax or where to add it.
<script type="text/javascript">
$(window).on('load', function() {
$('#featureGuide').modal('show');
});
</script>
I know you can user session storage to only display an onload modal once. Not sure on syntax or where to add it.
<script type="text/javascript">
$(window).on('load', function() {
$('#featureGuide').modal('show');
});
</script>
Set the value in local storage after login (Or when you want to show).
<script type="text/javascript">
$(window).on('load', function() {
var modelShown = localStorage.getItem('modelShown');
if(modelShown != 'YES'){
$('#featureGuide').modal('show');
localStorage.setItem('modelShown', 'YES');
}
});
</script>
Clear the local storage on logout.
localStorage.removeItem('modelShown');