Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

two pdf on a window only one accept control

  • 7 replies
  • 1 has this problem
  • 2 views
  • Last reply by eru.tat

more options

I have a little web with two embebed pdf, but touch control with touch screen only affects one. i.e: if i tap on right one to scroll down and meanwhile i try to do the same on second one, first one starts to zoom on/out, like if both fingers were on the same pdf.

Any config to free this and allow interact with 2 pdf at the same time?

thx in advance

I have a little web with two embebed pdf, but touch control with touch screen only affects one. i.e: if i tap on right one to scroll down and meanwhile i try to do the same on second one, first one starts to zoom on/out, like if both fingers were on the same pdf. Any config to free this and allow interact with 2 pdf at the same time? thx in advance

Modified by eru.tat

Chosen solution

eru.tat said

We should be able to scroll both pdf at the same time with two fingers,one finger on each frame, but instead of that webpage zooms.

If I try to vertical scroll with one finger on each PDF, it just ignores me. Perhaps it depends on how far apart your fingers are?

This might not be a supported behavior with iframes.

You might be able to use a script to synchronize the scrolling. I've seen solutions in a web search for synchronizing scrolling of div's but I didn't find a recent one for iframe's in the initial results.

Read this answer in context 👍 0

All Replies (7)

more options

Hello Eru.tat,

Could you please post the link of that page, the source of those elements, or at lease a screenshot. This will help contributes to see the issue clearly.

Thanks!

more options

Rashan Hasaranga said

Hello Eru.tat, Could you please post the link of that page, the source of those elements, or at lease a screenshot. This will help contributes to see the issue clearly. Thanks!

Thx for ur fast reply code is veri simple my friend. just two embed pdf in same web.

inside <body>

< div style="width:100%;">
   
           < div style="width:45%;float:left;">
               < div >
                   <iframe style=""   width="98%" height="900px"  src="ANYPDF.pdf#view=FitH&scrollbar=0&toolbar=0" >
                   </iframe>
               < /div>
           < /div>
           < div style="width:45%;float:left;">
               < div >
                       <iframe style=""   width="98%" height="900px"  src="ANYPDF.pdf#view=FitH&scrollbar=0&toolbar=0" >
                       </iframe>
               < /div>
           < /div>
           

< /div>]

Modified by eru.tat

more options

I set up a sample document, but I don't understand the steps you are using here:

eru.tat said

if i tap on right one to scroll down and meanwhile i try to do the same on second one, first one starts to zoom on/out, like if both fingers were on the same pdf.

Are you scrolling by swiping on the touchscreen, or using a different device?

If I use pinch-zoom on the screen, it affects the entire page and not just a particular framed document.

more options
more options

jscher2000 said

I set up a sample document, but I don't understand the steps you are using here: eru.tat said
if i tap on right one to scroll down and meanwhile i try to do the same on second one, first one starts to zoom on/out, like if both fingers were on the same pdf.

Are you scrolling by swiping on the touchscreen, or using a different device?

If I use pinch-zoom on the screen, it affects the entire page and not just a particular framed document.

Yeah thats what Im trying to say. Sorry for my painful english.


U cant interact with both pdfs at the same time. We should be able to scroll both pdf at the same time with two fingers,one finger on each frame, but instead of that webpage zooms.

Modified by eru.tat

more options

Chosen Solution

eru.tat said

We should be able to scroll both pdf at the same time with two fingers,one finger on each frame, but instead of that webpage zooms.

If I try to vertical scroll with one finger on each PDF, it just ignores me. Perhaps it depends on how far apart your fingers are?

This might not be a supported behavior with iframes.

You might be able to use a script to synchronize the scrolling. I've seen solutions in a web search for synchronizing scrolling of div's but I didn't find a recent one for iframe's in the initial results.

more options

Yeah surely are those I found too in stack of. But I don't want to sync em, I would like to be able to work each one independent of each other