Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2006
    Posts
    1
    Plugin Contributions
    0

    Default contact page scroll down problem

    When I go to my contact page, the page automatically scrolls down to where the email form is. (The cursor appears in the first field of the form.) I don't want this to happen. I'd like the top of the page to show.

    Any suggestions on how to fix this appreciated.

  2. #2
    Join Date
    May 2006
    Location
    Georgetown, TX
    Posts
    30
    Plugin Contributions
    0

    Default Re: contact page scroll down problem

    I am also looking to correct this. Is there any way to keep the page from scrolling down to the first field in the form?

    For those of us that put other contact info on the page it can be quite frustrating when the first part of the define text gets scrolled past.

    Can anyone shed some light on this?

    Thanks

  3. #3
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: contact page scroll down problem

    If I'm not mistaken, I think this is default behavior of the browser, setting focus to the first input field of a form.

  4. #4
    Join Date
    May 2006
    Location
    Georgetown, TX
    Posts
    30
    Plugin Contributions
    0

    Default Re: contact page scroll down problem

    Thanks Clyde

    I went ahead and did some 'creative compacting' of my define text so now it all shows.

  5. #5

    Default Re: contact page scroll down problem

    Does anyone have any ideas on how to actually fix this one with out having to creativily compact the site?

  6. #6

    Default Re: contact page scroll down problem

    Hey guys just wondering if anyone did know how to control this. Basically my problem as listed above is that I've made a new contact us page and instead of staying at the top of the page it automatically scrolls down to the contact us form. If anyone has any ideas I would greatly appreciate it.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: contact page scroll down problem

    read this:
    http://www.zen-cart.com/wiki/index.p...e-Specific_Use

    then look at this:
    /includes/modules/pages/contact_us/on_load_main.js

    If you don't want the auto-focus to happen, you'll likely need to delete that file or rename it to on_load_main.OFF instead.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8

    Default Re: contact page scroll down problem

    Quote Originally Posted by DrByte View Post
    read this:
    http://www.zen-cart.com/wiki/index.p...e-Specific_Use

    then look at this:
    /includes/modules/pages/contact_us/on_load_main.js

    If you don't want the auto-focus to happen, you'll likely need to delete that file or rename it to on_load_main.OFF instead.
    THANKS!! I just turned it to on_load_main.OFF and it worked perfectly. You are a legend!

 

 

Similar Threads

  1. v151 The page will scroll down when enter key is hit in CKEditor
    By sungmo in forum General Questions
    Replies: 0
    Last Post: 11 Jan 2016, 06:45 AM
  2. Contact Us Page moves down 1/4"
    By mikebr in forum General Questions
    Replies: 0
    Last Post: 5 Dec 2011, 05:33 PM
  3. Move address down on Contact Us page
    By sports guy in forum Basic Configuration
    Replies: 0
    Last Post: 13 Sep 2010, 03:03 PM
  4. Manufacturer scroll vs. drop-down
    By ZCguy in forum Basic Configuration
    Replies: 2
    Last Post: 31 Oct 2009, 02:48 AM
  5. Why is my Header Shifting Down when I scroll?
    By adamis in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Nov 2008, 05:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg