Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


share|improve this question
up vote 5 down vote accepted

This, in your source code:

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

...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.

share|improve this answer
Thank you. Thanks to you I have found and corrected the problem. – Astraport Jun 23 '11 at 19:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.