Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8967525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:15:47+00:00 2026-06-15T17:15:47+00:00

I am working on a Facebook App where if the user gets an error

  • 0

I am working on a Facebook App where if the user gets an error popup, the page is supposed to auto-scroll to a certain section (read center) of the page. I have got it working on Firefox, IE, Safari but cannot get it to work on Google Chrome.

Right now I’m using this code :

  • document.getElementById(‘banner’).scrollIntoView(true);

    –> works on all the major browsers except Chrome

I have tried all the below functions to get it working on Chrome but no luck:

  • 1.window.scrollTo(100,500);
  • 2.parent.window.scroll(0,0);
  • 3.parent.frames.window.scrollTo(200,300);
  • 4.var rowpos = jQuery(‘#banner’).position();
  • 5.jQuery(‘#iframe_canvas’).animate({ scrollTop: jQuery(‘#banner’).offset().top }, { duration: ‘slow’, easing:
    ‘swing’});

Since this is to be made to work on a Facebook App that is by rendered by Facebook in an iframe which is sort of like a sandbox, therefore the outermost parent window has no control of the elements inside the iframe, therefore I am running out of ideas.

I would really appreciate if anyone can drop any pointers to help me solve this issue, its holding up my entire project from being delivered 🙁

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T17:15:48+00:00Added an answer on June 15, 2026 at 5:15 pm

    Use the FB.Canvas.scrollTo function of the Facebook JS-SDK

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My sample Facebook app was working great yesterday in Chrome. The page integrates Silverlight
I'm developing a facebook iframe app (page app), which counts the user's friends that
I am working with facebook app canvas which requires post. I am using express
I am working on a facebook app when i try to invoke js for
I'm working with a Facebook Canvas App and I would like to only display
I'm running a facebook app on localhost using wamp. My application is working fine
I am trying to develop a facebook app on heroku. Working directly on the
I'm working on a small app that uses the Facebook API. What I want
I'm working on an app to post music to the Facebook timeline, but having
I want to integrate Facebook with my Birthday App, so I started https://developers.facebook.com/docs/mobile/android/build/ working

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.