Strange - goes to the bottom of the page

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
alex4orly
 
 
Posts: 632
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Strange - goes to the bottom of the page

Post by alex4orly »

Just started a new project based on the Shanhai template
http://www.ourvilla.net.au/
But, when a visitor comes - th page goes by itself to the bottom of the page...

Any idea why?

Thanks
alan_sh
 
 
Posts: 1695
Joined: Tue Jan 01, 2019 5:50 pm

Re: Strange - goes to the bottom of the page

Post by alan_sh »

It goes directly to the data entry line.

Alan
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: Strange - goes to the bottom of the page

Post by WWBman »

Yeah, you have Autofocus on the Editbox.
User avatar
alex4orly
 
 
Posts: 632
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Strange - goes to the bottom of the page

Post by alex4orly »

Yes, I can see that but why?
When I run it on my local machine it doesn't do it?
How do I stop this?

There is in source a function : $(document).ready(function()
{

If I manually remove this - it goes away, but the next time I publish the page, the problem is back

Please tell me how to get rid of that

Thanks again
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Strange - goes to the bottom of the page

Post by Pablo »

It has nothing to do with the script. You have enabled 'auto focus' in the inputbox.
User avatar
alex4orly
 
 
Posts: 632
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Strange - goes to the bottom of the page

Post by alex4orly »

Hello again,

That was indeed the problem, but :
1) Why, removing the script "fixes" the problem? Just trying to understand
2) I didn't set auto-focus - or maybe I forgot, it seems this is the default

Thanks Pablo.

BTW - is the problem this attempting to resolve, applicable maybe also in the UK?
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Strange - goes to the bottom of the page

Post by Pablo »

The script has nothing to do with this.

Auto focus is not enabled by default.
User avatar
alex4orly
 
 
Posts: 632
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Strange - goes to the bottom of the page

Post by alex4orly »

Thanks again
Post Reply