Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

http://virtual-fortune-teller.com/

share|improve this question

1 Answer 1

up vote 5 down vote accepted

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.

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

 
discard

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.