Modal layer popup at once

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
User avatar
Biju
 
 
Posts: 135
Joined: Thu Mar 10, 2016 7:02 pm
Location: Kerala, INDIA.

Modal layer popup at once

Post by Biju »

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.
~ Remain Curious
and Keep Learning ~

_________________
visit my site
User avatar
Pablo
 
Posts: 23188
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Modal layer popup at once

Post by Pablo »

There's a template with this functionality.

https://www.wysiwygwebbuilder.com/suppo ... ydark.html
User avatar
BaconFries
 
 
Posts: 5860
Joined: Thu Aug 16, 2007 7:32 pm

Re: Modal layer popup at once

Post by BaconFries »

User avatar
Biju
 
 
Posts: 135
Joined: Thu Mar 10, 2016 7:02 pm
Location: Kerala, INDIA.

Re: Modal layer popup at once

Post by Biju »

There's a template with this functionality.
I copied the script from your above said template. But not working.
Yesterday I sent my project file to your mail. I think you haven't seen it yet.
~ Remain Curious
and Keep Learning ~

_________________
visit my site
User avatar
Biju
 
 
Posts: 135
Joined: Thu Mar 10, 2016 7:02 pm
Location: Kerala, INDIA.

Re: Modal layer popup at once

Post by Biju »

You mean like the following:
Yes BF.
~ Remain Curious
and Keep Learning ~

_________________
visit my site
User avatar
Pablo
 
Posts: 23188
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Modal layer popup at once

Post by Pablo »

Did you make sure the ID of the popup in the script is correct?
User avatar
Biju
 
 
Posts: 135
Joined: Thu Mar 10, 2016 7:02 pm
Location: Kerala, INDIA.

Re: Modal layer popup at once

Post by Biju »

Attaching my project file HERE
~ Remain Curious
and Keep Learning ~

_________________
visit my site
User avatar
Pablo
 
Posts: 23188
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Modal layer popup at once

Post by Pablo »

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.
User avatar
Biju
 
 
Posts: 135
Joined: Thu Mar 10, 2016 7:02 pm
Location: Kerala, INDIA.

Re: Modal layer popup at once

Post by Biju »

I added another modal layer with type jQuery, no close button and colour as transparent.
But still not working.
~ Remain Curious
and Keep Learning ~

_________________
visit my site
User avatar
Pablo
 
Posts: 23188
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Modal layer popup at once

Post by Pablo »

Please add $JQUERY$ to the resources of the HTML object.
User avatar
Biju
 
 
Posts: 135
Joined: Thu Mar 10, 2016 7:02 pm
Location: Kerala, INDIA.

Re: Modal layer popup at once

Post by Biju »

Please add $JQUERY$ to the resources of the HTML object.
Sorry! I don't know how to do it.
Can someone help me please?
~ Remain Curious
and Keep Learning ~

_________________
visit my site
User avatar
Pablo
 
Posts: 23188
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Modal layer popup at once

Post by Pablo »

Step 1
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.
Post Reply