Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

116
Views
iFrame embedding: Scrollbar handling

I am running a platform that provides simple forms and simple outputs for a bunch of clients who embed this features in there webpages by iframe. As these forms and outputs tend to grow over common screen heights, the idea is to let the main scrollbar of the embedding webpage also control the scrollbar of the embedded iframe, i.e. if the scrollbar reaches the iframe, the embedding page stops to scroll, but the iframe is scrolled till it reaches its bottom. Afterwards, the embedding page will be continued to be scrolled. Embedding pages and my platform are on different domains.

It is possible for me to include some (perferently vanilla) javascript besides the HTML code for iFrame.

My questions: 1.) Is there a framework to handle control of the scrollable elements? (I have seen such things on a newspaper website, but it isn't online anymore.) 2.) Am I running into some Cross-Domain same origin policy issues anyway?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You could try Element.scroll(). It scrolls to cords on your webpage, for example, if you wanted to observe the current scrolling cords and act on them.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!