Welcome to TalkGraphics.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,910

    Default Assitance required getting Iframes to scroll on mobiles

    Hi, I can get iframes to scroll easily within desktop PC's etc but can't easily get them to scroll on either my iphone mobile nor ipad. The page scrolls instead.

    I have found what I think would be a solution but my knowledge of js and ccs isn't great.

    The solution page is here.

    Could someone (Acorn or Siran ) possibly point me in the correct direction?

    Attached is a draft page I'm using to try this out.
    Attached Files Attached Files
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  2. #2
    Join Date
    Apr 2018
    Location
    Barnes, London
    Posts
    952

    Default Re: Assitance required getting Iframes to scroll on mobiles

    Hi Egg,

    I changed height=550px on your mobile version and the scroll bar appears; not entirely sure it will work for Safari though?


    Gary
    Attached Files Attached Files

  3. #3
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,910

    Default Re: Assitance required getting Iframes to scroll on mobiles

    Hi Gary,

    Thanks for your input.

    I can get the scrollbar showing on a reduced browser size on my desktop but the scrollbar isn't present on my iPhone nor iPad. As the author of the linked webpage states this is a known issue with IOS and he suggests a way of allowing the iframe to scroll rather than the web page itself.

    Unfortunately I receive the two error reports trying to open your file
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	export.jpg 
Views:	70 
Size:	64.2 KB 
ID:	124607  
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  4. #4
    Join Date
    Apr 2018
    Location
    Barnes, London
    Posts
    952

    Default Re: Assitance required getting Iframes to scroll on mobiles

    Hi Egg, not sure if this will help for Safari mobile, but maybe worth a try (don't have an Apple device atm); I came across the code in another forum. For some reason, I don't think it behaves correctly in Edge though.

    HTML Code:
    <div style="overflow:auto;-webkit-overflow-scrolling:touch">
    <iframe src="https://docs.google.com/document/d/e/2PACX-1vTLdrSwri-CCAGuT_TG7nLGMbb4tkQpDsUGDdDHA3dYs8EhMs4OqQ4xE471Ocr0WamUTeFIrVPG2DUV/pub?embedded=true" width=100% height=550>
    </iframe>
    </div>
    Hopefully better luck with the XAR file opening.

    Gary
    Attached Files Attached Files

  5. #5
    Join Date
    Aug 2019
    Location
    Tulsa, Oklahoma, USA
    Posts
    115

    Default Re: Assitance required getting Iframes to scroll on mobiles

    Hey Egg!

    Sorry to be rude, but can I grab your attention: ---->https://www.talkgraphics.com/showthr...t-Facebook-etc

    Maybe you or some of the other Xara gurus can figure this out!

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •