Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

two pdf on a window only one accept control

  • 7 odpowiedzi
  • 1 osoba ma ten problem
  • 2 wyświetlenia
  • Ostatnia odpowiedź od 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

Zmodyfikowany przez eru.tat w dniu

Wybrane rozwiązanie

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.

Przeczytaj tę odpowiedź w całym kontekście 👍 0

Wszystkie odpowiedzi (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>]

Zmodyfikowany przez eru.tat w dniu

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.

Zmodyfikowany przez eru.tat w dniu

more options

Wybrane rozwiązanie

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