Modal popup size

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
User avatar
BaconFries
 
 
Posts: 4833
Joined: Thu Aug 16, 2007 7:32 pm

Re: Modal popup size

Post by BaconFries » Tue Jun 25, 2019 10:10 am

2) A screen comes up into the place holder of the master frame.
What do you mean by a "Screen"? a TV screen, a screen a the local cinema/movie theatre? or are you "simply" meaning onclick of the menu item the content changes in the place holder?. I agree with Pablos suggestion and cant see what is missing on how it works.
1)Add the Dialog to the page you wish to display in the content placeholder, set Dialog as required.
2)Add the link to the required item so that it will open the page (content placeholder) with the Dialog which will open and display.

User avatar
alex4orly
 
 
Posts: 981
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Modal popup size

Post by alex4orly » Tue Jun 25, 2019 12:44 pm

So, how does it work? I just create the modal on top of that page and click the auto load option?
Does it allow to have more text in that modal than the height of it and then have a scroll bar option?

Thanks

User avatar
Pablo
 
Posts: 20920
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Modal popup size

Post by Pablo » Tue Jun 25, 2019 1:24 pm

1. Insert a dialog.
2. Add the content to the dialog or add an inline frame wit hew link to the content page if you need a scrollbar.
By default, the dialog will automatically open when the page loads, but you can also trigger it via events or a timer.

User avatar
alex4orly
 
 
Posts: 981
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Modal popup size

Post by alex4orly » Tue Jun 25, 2019 10:16 pm

Thanks, this works fine....
https://communitylifestyleaccommodation ... modal.html

Now, for the "Decline" button I redirect the visitor to the site home page, using the script:

<script type="text/javascript">
function GoHome()
{
history.back();
window.location.replace('https://communitylifestyleaccommodation.org.au');
}
</script>

Any better way?

Cheers

User avatar
Pablo
 
Posts: 20920
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Modal popup size

Post by Pablo » Wed Jun 26, 2019 6:11 am

If that works for you then I guess that's alright.
Although, I thought you needed a 'dialog'? That is why all my replies where related to the 'dialog' object.

User avatar
alex4orly
 
 
Posts: 981
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Modal popup size

Post by alex4orly » Wed Jun 26, 2019 6:33 am

People come to this page to make a payment
However, before they make this payment, they MUST read the Terms and Condition of this engagement
So, they either accept the terms and pay, or they get out and back to the home page

Thanks again

User avatar
BaconFries
 
 
Posts: 4833
Joined: Thu Aug 16, 2007 7:32 pm

Re: Modal popup size

Post by BaconFries » Wed Jun 26, 2019 10:44 am

Why are you adding code, when you can simply add an event to the decline button!.

User avatar
alex4orly
 
 
Posts: 981
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Modal popup size

Post by alex4orly » Wed Jun 26, 2019 12:03 pm

Yes Baconfries,
I added an event - Onclick of the decline button and that code is the script I wrote
1) To take me back out of the Payment scree
2) To put me into the front home page

Visitors who do NOT accept the T&S should be taken out of that page

Do you think of another way to do that?

Cheers

User avatar
BaconFries
 
 
Posts: 4833
Joined: Thu Aug 16, 2007 7:32 pm

Re: Modal popup size

Post by BaconFries » Thu Jun 27, 2019 3:16 pm

When you first opened this thread I made a "demo" to show what was getting referred to about the use of a Dialog, you resolved it yourself by using the suggestion. I will upload the demo or can send to you if you wishlet me know.

User avatar
alex4orly
 
 
Posts: 981
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Modal popup size

Post by alex4orly » Thu Jun 27, 2019 8:43 pm

Hi Baconfries,

Yes, I am always happy to learn new tricks, especially from you
Please send me the demo

Much appreciated

User avatar
BaconFries
 
 
Posts: 4833
Joined: Thu Aug 16, 2007 7:32 pm

Re: Modal popup size

Post by BaconFries » Fri Jun 28, 2019 2:29 pm

Afternoon Alex, I tried to go to your site and send a look through your form/email but its members only... I will upload it to the web and post a link for you if I cant email you.

User avatar
alex4orly
 
 
Posts: 981
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Modal popup size

Post by alex4orly » Fri Jun 28, 2019 9:41 pm

Sorry, to which site did you go?
I have many sites, this particular one is at : https://communitylifestyleaccommodation.org.au/
It is open to the public, no member login required

Cheers

User avatar
alex4orly
 
 
Posts: 981
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Modal popup size

Post by alex4orly » Sat Jul 06, 2019 9:22 am

Hi Baconfries,

Ddidn't hear from you for a while, do you still want to send me that project?

Cheers

User avatar
BaconFries
 
 
Posts: 4833
Joined: Thu Aug 16, 2007 7:32 pm

Re: Modal popup size

Post by BaconFries » Sat Jul 06, 2019 12:39 pm

Hi Alex email sent to you sorry about the delay.

User avatar
BaconFries
 
 
Posts: 4833
Joined: Thu Aug 16, 2007 7:32 pm

Re: Modal popup size

Post by BaconFries » Sat Jul 06, 2019 8:27 pm

Alex file sent to CLA for your attention.

Post Reply