Modal layer popup at once
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
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
Modal layer popup at once
I have:
1. A modal layer to popup when index page loads.
2. Text as "Do not show this popup again"
3. A checkbox near to above text.
Need a script to hide the popup layer from showing up each time page loads, if the checkbox enabled.
This behavior should be kept till the browser closed.
1. A modal layer to popup when index page loads.
2. Text as "Do not show this popup again"
3. A checkbox near to above text.
Need a script to hide the popup layer from showing up each time page loads, if the checkbox enabled.
This behavior should be kept till the browser closed.
- BaconFries
-
- Posts: 5864
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Modal layer popup at once
You mean like the following:
Example templates:
http://www.wysiwygwebbuilder.com/suppor ... outme.html
http://www.wysiwygwebbuilder.com/suppor ... orate.html
Example templates:
http://www.wysiwygwebbuilder.com/suppor ... outme.html
http://www.wysiwygwebbuilder.com/suppor ... orate.html
Re: Modal layer popup at once
I copied the script from your above said template. But not working.There's a template with this functionality.
Yesterday I sent my project file to your mail. I think you haven't seen it yet.
Re: Modal layer popup at once
Yes BF.You mean like the following:
Re: Modal layer popup at once
Did you make sure the ID of the popup in the script is correct?
Re: Modal layer popup at once
Attaching my project file HERE
Re: Modal layer popup at once
jQuery is missing.
To solve this, either add another object to the page that uses jQuery
or
add '$JQUERY$' to the HTML object's resources.
To solve this, either add another object to the page that uses jQuery
or
add '$JQUERY$' to the HTML object's resources.
Re: Modal layer popup at once
I added another modal layer with type jQuery, no close button and colour as transparent.
But still not working.
But still not working.
Re: Modal layer popup at once
Please add $JQUERY$ to the resources of the HTML object.
Re: Modal layer popup at once
Sorry! I don't know how to do it.Please add $JQUERY$ to the resources of the HTML object.
Can someone help me please?
Re: Modal layer popup at once
Step 1
Click the 'Resources' button
Step 2
Copy/Paste
Note that in general, we do not provide support for custom code.
When using custom code it is assumed that you know what you are doing.
Click the 'Resources' button
Step 2
Copy/Paste
Code: Select all
$JQUERY$
Note that in general, we do not provide support for custom code.
When using custom code it is assumed that you know what you are doing.
Re: Modal layer popup at once
Re:
I'm on WWB ver 20.
Thanks
I was looking for a script similar to the above, to display a one-time popup message. I opened up the "Dark Agency" template, but I don't see where this (pop-up) layer is located. The template is from WWB ver 16 days, so is there a more current version of the template?Post by Pablo » Sat Mar 22, 2025 12:41 am
There's a template with this functionality.
https://www.wysiwygwebbuilder.com/suppo ... ydark.html
I'm on WWB ver 20.
Thanks
- BaconFries
-
- Posts: 5864
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Modal layer popup at once
The template is still valid for WWB20 even although it is from WWB16. You would need to dig deep in the HTML to see how it works as it uses a "Bespoke" custom script with the already available dialog in WWB20 or at the time of WWB16
Cookie Policy
Alternatively there is the following that is a onetime.Pablo wrote: ↑Sun Nov 21, 2021 7:56 am Maybe this template will be useful?
https://www.wysiwygwebbuilder.com/suppo ... ydark.html
It uses a dialog and a custom script to show/hide the popup.
Cookie Policy
Re: Modal layer popup at once
Okay, will do.
Thanks!!
Thanks!!
Re: Modal layer popup at once
here it is:MGD4me wrote: ↑Sun Mar 23, 2025 10:28 pm Re:I was looking for a script similar to the above, to display a one-time popup message. I opened up the "Dark Agency" template, but I don't see where this (pop-up) layer is located. The template is from WWB ver 16 days, so is there a more current version of the template?Post by Pablo » Sat Mar 22, 2025 12:41 am
There's a template with this functionality.
https://www.wysiwygwebbuilder.com/suppo ... ydark.html
I'm on WWB ver 20.
Thanks

Re: Modal layer popup at once
I tried but still not working.Pablo wrote: ↑Sat Mar 22, 2025 5:56 pm Step 1
Click the 'Resources' button
Step 2
Copy/PasteCode: Select all
$JQUERY$
Note that in general, we do not provide support for custom code.
When using custom code it is assumed that you know what you are doing.

It seems that works with dialog only.
Re: Modal layer popup at once
The script is designed to be used with the dialog as demonstrated in the Agent Dark template.
If you want to use it in a different context then you will need to adapt the script.
If you want to use it in a different context then you will need to adapt the script.
Re: Modal layer popup at once
Thanks Pablo for your immediate response.
I think all your templates with popup use dialog.
Can you do a template with modal layer to popup at once, if you don't mind and time permits?
It will be a great help.
I think all your templates with popup use dialog.
Can you do a template with modal layer to popup at once, if you don't mind and time permits?
It will be a great help.
Re: Modal layer popup at once
I generally only create new templates once a year, when a new version is released.
Maybe you can use the dialog instead?
Maybe you can use the dialog instead?
Re: Modal layer popup at once
@BaconFries...
Thanks for your ongoing support. I finally got everything figured out!
It wasn't until I zoomed the workspace from 100% to about 75%, that I could found the Privacy Notice, which was located outside the viewport. Then, everything became apparent.
As it turns out, the Dialogue feature (as Pablo mentioned) is all I need, so that is the route I ended up taking. https://www.wysiwygwebbuilder.com/dialog.html
Mystery solved!
Thanks for your ongoing support. I finally got everything figured out!
It wasn't until I zoomed the workspace from 100% to about 75%, that I could found the Privacy Notice, which was located outside the viewport. Then, everything became apparent.
As it turns out, the Dialogue feature (as Pablo mentioned) is all I need, so that is the route I ended up taking. https://www.wysiwygwebbuilder.com/dialog.html
Mystery solved!
