Page 1 of 1

Create a Popup dialogue box

Posted: Sat Jan 16, 2021 5:45 pm
by ohisiojohn
Pablo,

Is there away on how to create a pop-up dialogue box that only opens with a button clicked.

What I meant is that, create a pop-up dialogue box that has some information then link it with any button on the page. When someone clicks on the button, the dialogue box will pop-up.

Thank you

Re: Create a Popup dialogue box

Posted: Sat Jan 16, 2021 6:12 pm
by Pablo
You can implement this with a dialog or modal layer.
Then use events to open the dialog/layer.
Cards can also be used as popups.

Re: Create a Popup dialogue box

Posted: Sat Jan 16, 2021 6:20 pm
by ohisiojohn
Pablo,

Thanks for the respond. Is there any tutorial about this. I have no idea on implementing this!.

Re: Create a Popup dialogue box

Posted: Sat Jan 16, 2021 6:50 pm
by Pablo
Step 1
A dialog

Step 2
Add a button

Step 3
Add an 'onclick' event to the button
Set the action to 'show'
Set the target to the ID of the dialog.

Demo:
https://www.wysiwygwebbuilder.com/suppo ... tions.html

Re: Create a Popup dialogue box

Posted: Sat Jan 16, 2021 6:56 pm
by ohisiojohn
Thanks Pablo.

It has worked