Skip to content

Scroll to Top #28

@leapthemes

Description

@leapthemes

My iFrames all use forms. When the form is submitted or any validation occurs with errors, the browser scrolls to the top of the page. If the user hits the submit button and there were errors, the user won't be aware because they are now at the top of the website.

I have tried:
$("#myIframeID").responsiveIframe({ scrollToTop: false });

But then the browser scrolls to the footer (where the iFrame is) on page load in Chrome and IE9.

I would appreciate any help. Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions