Posted By: aakash_softac on October 30, 2018, 8:12 am | Post: 1 |
Hi,
You can use Splash Screen which will splash on screen when you can ask user regarding age restriction when user clicks on yes will be redirected to your page. On click of No user will be redirected to somewhere else. You can add the following code in Custom HTML so that if the user clicks on Close button he will be redirected out site. Code <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script> $(document).on('click', '.smue-modal .smue-modal-close', function () { window.location.href = 'http://www.google.com'; }); </script> Do let us know if you need any other information. ----------------------- Aakash Gupta SitePad Developer Follow us for faster updates Twitter: https://twitter.com/sitepad_editor Facebook: https://facebook.com/SitePad |
Posted By: aakash_softac on October 30, 2018, 9:47 am | Post: 2 |
Hi,
It seems the current code is creating an issue with the scroll if added in Custom HTML. Add this particular code in Mail Chimp Section as currently, SitePad does not have Custom HTML for the footer https://www.sitepad.com/wiki/MailChimp Do let us know if you need any other information. ----------------------- Aakash Gupta SitePad Developer Follow us for faster updates Twitter: https://twitter.com/sitepad_editor Facebook: https://facebook.com/SitePad |
Posted By: aakash_softac on December 3, 2018, 8:38 am | Post: 5 |
Hi,
Sorry for the delay in reply. It seems you will need to add/set cookie on click on Yes button. And you will need to make a check if the cookie is set then the user should not see the splash screen. Do let us know if you need any other information. ----------------------- Aakash Gupta SitePad Developer Follow us for faster updates Twitter: https://twitter.com/sitepad_editor Facebook: https://facebook.com/SitePad |