javascript - PhoneGap iframe one finger scroll -
i'm developing app in phonegap
2.4 using jquery
, jquery mobile
. app has top bar , bottom navigation bar, both of stationary. in middle action happens.
the middle section div , i'm trying load cloud positioned pdf
iframe
inside div. however, being ios is, pdf
and/or iframe
won't scroll 1 finger once pdf
loaded in iframe
. can use 2 fingers scroll with, not desired result.
so question is, how can iframe
scroll 1 finger.
also, if it's possible, can enable pinch zoom within iframe
increase/decrease size of pdf
? ios displays pdf
@ half width of ipad.
here's css
i'm using/tried:
iframe { width: 200%; height: 200%; overflow: auto; -webkit-overflow-scrolling: touch; zoom: 200%; } #display_area { max-width: 1024px; min-height: 558px !important; height: 558px !important; max-height: 558px !important; overflow-y:scroll; padding: 0px; }
Comments
Post a Comment