Modal popup size
Modal popup size
I am trying to use the Modal window, without the "X" to diable closing it
I am calling it from a htmp page Onload() with a link to the modal
But - I want it to show up on top of the calling page, and it comes up instead in full screen, covering the calling page completely
Any idea how to change it?
Thanks
I am calling it from a htmp page Onload() with a link to the modal
But - I want it to show up on top of the calling page, and it comes up instead in full screen, covering the calling page completely
Any idea how to change it?
Thanks
Re: Modal popup size
Which 'modal popup' are you referring to?
What is the URL of the page and what are your exact settings?
What is the URL of the page and what are your exact settings?
Re: Modal popup size
Here is the URL : https://communitylifestyleaccommodation ... tandc.html
It is supposed to be used as an entry page for Terms & Condition before the visitor gets onto the calling page
The 2 buttons are NOT yet linked to anything
Iam using here the WWB JQuery Dialog
Thanks
It is supposed to be used as an entry page for Terms & Condition before the visitor gets onto the calling page
The 2 buttons are NOT yet linked to anything
Iam using here the WWB JQuery Dialog
Thanks
Re: Modal popup size
You can hide the close button by unchecking 'Display close button' option.
Also, instead of loading it via 'onload', just select 'Show dialog automatically' or use a timer.
Also, instead of loading it via 'onload', just select 'Show dialog automatically' or use a timer.
Re: Modal popup size
OK, I will explain again :
This is the payment page: https://communitylifestyleaccommodation ... _test.html
In objects events, I trigger the Onload and inserted an event that does a LINK to the Modal Dialog at this URL
https://communitylifestyleaccommodation ... tandc.html
Iwant to force the visitor to read the terms before they decide to make a payment
I want this dialog to NOT have the closebutton, I have unchecked the close option in the object options
But, instead of coming as a popup, it come up full screen - this is what I am trying to fix
How?
Thaks again
This is the payment page: https://communitylifestyleaccommodation ... _test.html
In objects events, I trigger the Onload and inserted an event that does a LINK to the Modal Dialog at this URL
https://communitylifestyleaccommodation ... tandc.html
Iwant to force the visitor to read the terms before they decide to make a payment
I want this dialog to NOT have the closebutton, I have unchecked the close option in the object options
But, instead of coming as a popup, it come up full screen - this is what I am trying to fix
How?
Thaks again
Re: Modal popup size
I'm sorry, but I cannot see what you have done. Before I have the chance to view the source of the page is redirected to another page.
I think there is an error in the logic.
I think there is an error in the logic.
Re: Modal popup size
OK, let's forget about what I am doing
Let's say this:
I have a screen "A"
On loading it, it want it to bring up a Modal dialog on top of itself (Screen "B") - I want that 2nd screen to be the size of the Modal dialog and NOT cover the entire screen "A"
How would you do that?
Cheers
Let's say this:
I have a screen "A"
On loading it, it want it to bring up a Modal dialog on top of itself (Screen "B") - I want that 2nd screen to be the size of the Modal dialog and NOT cover the entire screen "A"
How would you do that?
Cheers
Re: Modal popup size
Hello again,
OK, I resolved this part of the equation - please visit : https://communitylifestyleaccommodation ... _test.html
In the Onload() of this page I am calling the 2nd page / popup dialog which has in it the Terms & Conditions.
My problem now is -
1) If the visitor accepts the T&C, this popup will close and the visitor can make a payment, BUT
2) If the visitor declines - I want to close the popup and redirect the visitor to the home page of the websit
Here is the trap - once I cann window.close(); the next command to use href="www..." can no longer work becasue the window does not exist any more....
Any suggestion how to chain the 2nd command from the one button click?
Cheers
OK, I resolved this part of the equation - please visit : https://communitylifestyleaccommodation ... _test.html
In the Onload() of this page I am calling the 2nd page / popup dialog which has in it the Terms & Conditions.
My problem now is -
1) If the visitor accepts the T&C, this popup will close and the visitor can make a payment, BUT
2) If the visitor declines - I want to close the popup and redirect the visitor to the home page of the websit
Here is the trap - once I cann window.close(); the next command to use href="www..." can no longer work becasue the window does not exist any more....
Any suggestion how to chain the 2nd command from the one button click?
Cheers
Re: Modal popup size
I'm sorry, but I do not understand why you are using 'onload'. 'onload' is not the correct place to open a dialog. Not all scripts may be loaded at that point.
The dialog can automatically open without using events or else use a timer.
In the dialog you can define buttons with events to redirect the user to another page.
The dialog can automatically open without using events or else use a timer.
In the dialog you can define buttons with events to redirect the user to another page.
Re: Modal popup size
I am loading first the A dialog - the one with the payment details
I want to have the visitor first ACCEPT the Terms and conditions for the payment which are listed on Dialog B - the popup
Without clicking any button, how is Dialog B going to show up on top of dialog A, by some spirutual magic?
I want to have the visitor first ACCEPT the Terms and conditions for the payment which are listed on Dialog B - the popup
Without clicking any button, how is Dialog B going to show up on top of dialog A, by some spirutual magic?
Re: Modal popup size
I'm sorry, nested dialogs are not supported.
https://getbootstrap.com/docs/4.0/components/modal/
https://getbootstrap.com/docs/4.0/components/modal/
Re: Modal popup size
Sorry, it seems a misunderstanding - I never intended to have any nested dialogues
I am talking about:
1) One page loaded into a place holder of a master frame by clicking a menu option, then
2) A Modal single popup dialog comes on top of that
Cheers
I am talking about:
1) One page loaded into a place holder of a master frame by clicking a menu option, then
2) A Modal single popup dialog comes on top of that
Cheers
Re: Modal popup size
In that case you can use the built-in dialog. it will automatically popup.
Demo:
http://www.wysiwygwebbuilder.com/suppor ... orate.html
Demo:
http://www.wysiwygwebbuilder.com/suppor ... orate.html
Re: Modal popup size
How?
1) Iclick a menu option
2) A screen comes up into the place holder of the master frame.
So, now, how does the modal dialogue know to come up on top of it?
Just wondering...
1) Iclick a menu option
2) A screen comes up into the place holder of the master frame.
So, now, how does the modal dialogue know to come up on top of it?
Just wondering...
Re: Modal popup size
A modal dialog will automatically open when the page loads.
See my demo:
http://www.wysiwygwebbuilder.com/suppor ... orate.html
See my demo:
http://www.wysiwygwebbuilder.com/suppor ... orate.html
- BaconFries
-
- Posts: 5914
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Modal popup size
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.2) A screen comes up into the place holder of the master frame.
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.
Re: Modal popup size
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
Does it allow to have more text in that modal than the height of it and then have a scroll bar option?
Thanks
Re: Modal popup size
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.
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.
Re: Modal popup size
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
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
Re: Modal popup size
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.
Although, I thought you needed a 'dialog'? That is why all my replies where related to the 'dialog' object.
Re: Modal popup size
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
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
- BaconFries
-
- Posts: 5914
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Modal popup size
Why are you adding code, when you can simply add an event to the decline button!.
Re: Modal popup size
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
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
- BaconFries
-
- Posts: 5914
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Modal popup size
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.
Re: Modal popup size
Hi Baconfries,
Yes, I am always happy to learn new tricks, especially from you
Please send me the demo
Much appreciated
Yes, I am always happy to learn new tricks, especially from you
Please send me the demo
Much appreciated
- BaconFries
-
- Posts: 5914
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Modal popup size
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.
Re: Modal popup size
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
I have many sites, this particular one is at : https://communitylifestyleaccommodation.org.au/
It is open to the public, no member login required
Cheers
Re: Modal popup size
Hi Baconfries,
Ddidn't hear from you for a while, do you still want to send me that project?
Cheers
Ddidn't hear from you for a while, do you still want to send me that project?
Cheers
- BaconFries
-
- Posts: 5914
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Modal popup size
Hi Alex email sent to you sorry about the delay.
- BaconFries
-
- Posts: 5914
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Modal popup size
Alex file sent to CLA for your attention.
Re: Modal popup size
Thanks, got it
Cheers
Cheers