Search found 746 matches

by alex4orly
Fri Aug 30, 2019 9:19 am
Forum: Off Topic Section
Topic: Conditional loading of a Dialog
Replies: 8
Views: 1646

Re: Conditional loading of a Dialog

That's OK, it works fine for me

Thanks again
by alex4orly
Fri Aug 30, 2019 8:27 am
Forum: Off Topic Section
Topic: Conditional loading of a Dialog
Replies: 8
Views: 1646

Re: Conditional loading of a Dialog

Yes, I did just that - below is my code, I welcome any comments <script type="text/javascript"> var villafrominput = 0; var flag = true; var user = ""; // This gets executed only if no cookie was found function getvilla() /// ON the OK click { // Get the user input from the dialog user = document.ge...
by alex4orly
Thu Aug 29, 2019 10:31 pm
Forum: Off Topic Section
Topic: Conditional loading of a Dialog
Replies: 8
Views: 1646

Re: Conditional loading of a Dialog

Yes, this does the trick - although I do noty understand how it works.... Anyway - I want to replace this code: user = prompt("Please enter your Villa Number"); With this : $("#entervilla").dialog("open"); The "Prompt" function is not ver elegant, nor easy to notice poping up at the top of the scree...
by alex4orly
Thu Aug 29, 2019 8:35 am
Forum: Off Topic Section
Topic: Conditional loading of a Dialog
Replies: 8
Views: 1646

Re: Conditional loading of a Dialog

I must be a real dummy.... I also never used JQuery....
Can't figure it out, so here is my conditional statement :

if (a == '2')
{
The Dialogue ID = entervilla;
it is unchecked to load automaticaly
and I want to make it come up if the condition is met
}

Thanks again
by alex4orly
Wed Aug 28, 2019 11:59 pm
Forum: Off Topic Section
Topic: Conditional loading of a Dialog
Replies: 8
Views: 1646

Conditional loading of a Dialog

I added a Modal dialog onto a page, I have the "Show dialogue Automatically" Unchecked
I want to show / load it to the visitor only based on a Condition (if a == '2') for example inside a Javascript function

I DO NOT want it trigerred by a button click...

Any suggestions?

Thanks
by alex4orly
Sun Aug 25, 2019 11:54 am
Forum: General Questions
Topic: Page view position while working
Replies: 9
Views: 2763

Re: Page view position while working

I was dragging the object into the marker, but when I tried placing the mouse itself while dragging - it works fine

Thanks Pablo
by alex4orly
Sun Aug 25, 2019 9:44 am
Forum: General Questions
Topic: Page view position while working
Replies: 9
Views: 2763

Re: Page view position while working

But my mouse is "Busy" holding the object itself and as soon as i let go, the markers dissapear
by alex4orly
Sun Aug 25, 2019 7:48 am
Forum: General Questions
Topic: Page view position while working
Replies: 9
Views: 2763

Re: Page view position while working

I had for many years the work are set such that: 1) My toolbox was docked on the left 2) My workspace in the middle 3) My site manager & properties on the right Somehow - my site manager & properties got to be floating. If I try to make it docing - it goes to the left of the screen... When I click i...
by alex4orly
Mon Aug 12, 2019 9:19 am
Forum: General Questions
Topic: Modal dialog on a mobile phone
Replies: 8
Views: 2165

Re: Modal dialog on a mobile phone

Well, it seems the browser didn't read the manual

Thanks again
by alex4orly
Mon Aug 12, 2019 7:36 am
Forum: General Questions
Topic: Modal dialog on a mobile phone
Replies: 8
Views: 2165

Re: Modal dialog on a mobile phone

Thannks for the tip.

It "Kind" of works.... Whan visiting on my mobile phone - it shows up in full size and only reduces itself when I scroll down the page.
This should not be the case

What else should I do?

Thanks
by alex4orly
Mon Aug 12, 2019 6:12 am
Forum: General Questions
Topic: Modal dialog on a mobile phone
Replies: 8
Views: 2165

Re: Modal dialog on a mobile phone

OK, made a minimal version of the project, the file is here: https://communitylifestyleaccommodation.org.au/CLA_4Pablo.wbs The menu option is calling through an event the javascript function (my own code) but had to leave it in to show the problem IT loads a Dialog and loads automatically on top a M...
by alex4orly
Sun Aug 11, 2019 9:55 am
Forum: General Questions
Topic: Modal dialog on a mobile phone
Replies: 8
Views: 2165

Re: Modal dialog on a mobile phone

Yes, I did that.
I have a breakpoint at 786 and 320
But on my mobile phone - it stll comes up at full width

So, what else can I do?
Thanks
by alex4orly
Sun Aug 11, 2019 12:05 am
Forum: General Questions
Topic: Modal dialog on a mobile phone
Replies: 8
Views: 2165

Modal dialog on a mobile phone

Hello friends, I jst finished setup of a simple PayPal account for this website: https://communitylifestyleaccommodation.org.au -> Menu option "CLA-Support" It works fine, but on a mobile phone or a smaller device - the width of the Modal Dialog with the Terms & Conditions is two wide. I tried hidin...
by alex4orly
Wed Aug 07, 2019 12:13 am
Forum: Forms
Topic: PayPal page jumps out of the iFrame
Replies: 14
Views: 2031

Re: PayPal page jumps out of the iFrame

OK, I found another method - very simple actually - Onclick of the final thank-you page (the same for the Cancel option) I created a simple Javascript function <script type="text/javascript"> function closeCurrentWindow() { window.close(); } </script> To see it in action - please visit: https://comm...
by alex4orly
Tue Aug 06, 2019 7:23 am
Forum: Forms
Topic: PayPal page jumps out of the iFrame
Replies: 14
Views: 2031

Re: PayPal page jumps out of the iFrame

Well, in production mode - this popup is called from a menu option - so, yes it does "Know" which window it was called from
But maybe there is another option? to force that popup to close itself?