Welcome Guest. Please Login or Register  


You are here: Index > SitePad Website Builder > General Support > Topic : main menu and call to action page



Threaded Mode | Print  

 main menu and call to action page (5 Replies, Read 2121 times)
Jgiagirl
Group: Member
Post Group: Newbie
Posts: 5
Status:
I need to create an age verification page for my site but don't want the main menu to show up top on that specific page. Is it possible to create a new page with a call to action forcing the visitor to choose between Yes or No yet not allowing the main menu to show?
any help would be greatly appreciated  :D
IP: --   

main menu and call to action page
aakash_softac
Group: Softaculous Team
Post Group: Elite Member
Posts: 314
Status:
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
IP: --   

main menu and call to action page
aakash_softac
Group: Softaculous Team
Post Group: Elite Member
Posts: 314
Status:
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
IP: --   

main menu and call to action page
Jgiagirl
Group: Member
Post Group: Newbie
Posts: 5
Status:
Thank you Aakash, This was a huge help! I actually added it to the header custom HTML and it worked fine. Now my question is; how do i make it so the same page (index) if the same visitor goes back to "home" it doesn't keep popping up that splash screen? I assume it needs a cookie to remember the same visit/user?
IP: --   

main menu and call to action page
Jgiagirl
Group: Member
Post Group: Newbie
Posts: 5
Status:
:squi: Well, scratch that! Adding it to the header or footer does the same thing. It just keeps popping up the splash screen repeatedly making it impossible for the person to visit the home page. Hopefully the mail chimp advice will work.
IP: --   

main menu and call to action page
aakash_softac
Group: Softaculous Team
Post Group: Elite Member
Posts: 314
Status:
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
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is December 12, 2018, 5:23 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.264