Page 1 of 1

Webpage suddenly changed

Posted: Thu Jan 17, 2019 6:00 am
by ghines
Hi all,

This webpage:
https://www.sanctuarycounselling.com.au/contact.html
used to have the contact form to the right of the google map. Been that way for months. Now it is at the bottom of the page and I've done nothing to the contact form nor the website.

Can someone explain why?

TIA

Greg

Re: Webpage suddenly changed

Posted: Thu Jan 17, 2019 7:03 am
by BaconFries
Web pages just don't suddenly change!. If it has been like that for months then there must be a reason why it suddenly has!. Note the form is by a third party (jotform) so how it works is controlled by its code. See also previous similar questions asked about the same and replies.

Re: Webpage suddenly changed

Posted: Thu Jan 17, 2019 7:16 am
by ghines
Note, I'm not blaming the program at all. Just after reasons why it was fine for months and now it is not.

Re: Webpage suddenly changed

Posted: Thu Jan 17, 2019 7:35 am
by BaconFries
Reply from Pablo in back in November...

But maybe this FAQ will be helpful?
When do I use 'Include min-width in CSS3 media queries'?
http://wysiwygwebbuilder.com/forum/view ... 10&t=63817

Re: Webpage suddenly changed

Posted: Thu Jan 17, 2019 7:55 am
by Pablo
The code you have added seems to be incomplete:
https://validator.w3.org/nu/?doc=https% ... ntact.html

Re: Webpage suddenly changed

Posted: Thu Jan 17, 2019 10:40 pm
by ghines
Thanks @Pablo for your reply. The error was caused by having the option "Move JavaScripts to the end of the page" enabled. I disabled this and the error disappeared and the page is now working.

BTW - Using WWB 12.5.2

Re: Webpage suddenly changed

Posted: Sat Jan 19, 2019 10:33 pm
by ghines
BTW - This still happens in WWB14 when "Move JavaScripts to the end of the page" is enabled, so I guess it must be a bug.

Re: Webpage suddenly changed

Posted: Sat Jan 19, 2019 10:44 pm
by BaconFries
This is not a Bug...it is related to the code you have manually added yourself. The error(s) can be seen in the w3c validator showing there is missing closing tags these being </div> in the HTML object . Please note if you wish to add/insert code then you should understand how use and check for errors so thst it is valid and not break the code generated by WWB.

Re: Webpage suddenly changed

Posted: Sat Jan 19, 2019 10:51 pm
by ghines
@BaconFries - I think you do not understand what I'm trying to say. If you enable "Move JavaScripts to the end of the page" the page will fail the validator, disable "Move JavaScripts to the end of the page" and then publish the page and it passes the validator.

The option "Move JavaScripts to the end of the page" is adding the errors to the page.

Re: Webpage suddenly changed

Posted: Sat Jan 19, 2019 11:02 pm
by BaconFries
I fully understand, the issue is not all scripts can be moved to the end of page they need to be inserted in the correct position in the HTML or it will give errors. This is not a Bug it is simply how it works.