Adding a cover/spash page that dissappears on keyclick

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
wmdino
 
 
Posts: 13
Joined: Sat Nov 07, 2020 12:02 pm

Adding a cover/spash page that dissappears on keyclick

Post by wmdino »

Help,

I am new to the forum and I tried doing a search for this but I get tons of hits that are not relevant.

I didn't upload any code because I don't know where to start.

I created a home page using layout grids and responsive text.

I want to create a cover or splash screen that shows up when the user goes to my url and then goes away with a key-click.

I can't get the cover screen to cover all of the layout grids. I can set an event to hide on key-click, but it won't cover the layout grids below it.

I am sure it's probably a simple matter of setting up the correct properties, but I can't get it to work. Should I be using a layout grid for the cover or a regular Layout (I tried both). I do want to put some responsive text in the cover page.

I am using WB20

Thank you for any help.

- Bill
User avatar
Pablo
 
Posts: 24597
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Adding a cover/spash page that dissappears on keyclick

Post by Pablo »

Maybe you can use the Dialog?
https://www.wysiwygwebbuilder.com/dialog.html
wmdino
 
 
Posts: 13
Joined: Sat Nov 07, 2020 12:02 pm

Re: Adding a cover/spash page that dissappears on keyclick

Post by wmdino »

Thanks! Yes, this might work. I will look at it today.

Are there any features in WB21 that would be of additional assistance? I just (in the last few weeks) upgraded to WB20.

- Bill
User avatar
BaconFries
 
 
Posts: 6292
Joined: Thu Aug 16, 2007 7:32 pm

Re: Adding a cover/spash page that dissappears on keyclick

Post by BaconFries »

Are there any features in WB21 that would be of additional assistance? I just (in the last few weeks) upgraded to WB20.
See the following:
What is new in WYSIWYG Web Builder 21?

If you have recently purchased WWB20 within the last 90 days of release of WWB21 you may be entitled to a "Free" upgrade see the following:
Do I qualify for a free upgrade?
WYSIWYG Web Builder 21 Upgrade FAQ
wmdino
 
 
Posts: 13
Joined: Sat Nov 07, 2020 12:02 pm

Re: Adding a cover/spash page that dissappears on keyclick

Post by wmdino »

So using the Dialog box more or less works, but there's a problem...

The box covers the main page and goes away when I press the escape key. However, if I leave the main (index) page and go to another internal page, and then back to the index page, the dialog box comes back again.

Basically, I want the user to see the cover page when they first type in the URL for the website, and then not show again until they close it completely and come back.

Is that possible?

Thanks,
- Bill

BTW, WB20 at the moment.
User avatar
crispy68
 
 
Posts: 3207
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Adding a cover/spash page that dissappears on keyclick

Post by crispy68 »

I would think you would need to use a cookie in this case since it sounds like you want it to only fire once per visit. As is, when someone leaves the page and comes back the dialog will show again.
wmdino
 
 
Posts: 13
Joined: Sat Nov 07, 2020 12:02 pm

Re: Adding a cover/spash page that dissappears on keyclick

Post by wmdino »

I was thinking it might come down to cookies, but I think I found a simple solution. I haven't uploaded the code yet to my hosting service so I don't know if this will actually work...

1. I cloned my index page to a new page called "home"
2. I deleted all the content on my original index page and added my cover screen as a series of responsive layout grids with responsive text.
3. I filled the new index page with all my cover screen info. I set the event OnClick to an internal page link...that link went to my "home" page (recall this is a clone of what my original index page was, so I lost no information.)
4. I have a bunch of internal links in sub-pages that originally went to the "index" page if the user wanted to go back "home". I changed those links to the "home" page.

Now, when I preview the site, the cover page shows. When I click the cover page, it goes to the new home page which had all of the info in the original index page. Any other internal page links are now redirected to the "home" page.

The cover page does not come back again until I close the site and then go back to it.

I haven't tried uploading the code yet, but it works in preview mode.

Am I perhaps missing anything?

Thanks,
- Bill
User avatar
BaconFries
 
 
Posts: 6292
Joined: Thu Aug 16, 2007 7:32 pm

Re: Adding a cover/spash page that dissappears on keyclick

Post by BaconFries »

https://www.wysiwygwebbuilder.com/commu ... p?p=479041
Dialog
- Added 'one-time popup' functionality via the 'Cookie Expire Days' property. A cookie is stored on the visitor’s browser to only show the dialog once across multiple visits. Use '0' to disable cookie functionality.

The following template has a example of this
https://www.wysiwygwebbuilder.com/suppo ... ydark.html
Post Reply