Mobile app version of vmapp.org
Login or Join
Si4351233

: Why my site automatically scroll down? Every time when I open the site it to scroll down. About 1500 pixels down. The most interesting - I have not changed anything and before this problem

@Si4351233

Posted in: #Css

Every time when I open the site it to scroll down. About 1500 pixels down. The most interesting - I have not changed anything and before this problem was not.

MODx Evo 1.0.5
virtual-fortune-teller.com/

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Si4351233

1 Comments

Sorted by latest first Latest Oldest Best

 

@Angie530

This, in your source code:

<script type="text/javascript">
if (document.loginfrm) document.loginfrm.username.focus();
</script>


...checks whether the document has a form with id "loginfrm" in it, and if so gives the "username" field focus. (Let the page load and start typing; you'll see the User field getting field out.) Since you seem unaware this even existed, I can only guess some plugin or CMS function is injecting it automatically. You'll have to determine how to remove it.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme