• Resolved doofustoo

    (@doofustoo)


    I am displaying a wikipedia page by: <iframe src="https://en.wikipedia.org/wiki/April_16" width="100%" height="600px"></iframe> and it works just fine.
    However, when displayed as a PWA on a mobile phone the (extraneous)left panel is stripped out. IT LOOKS GREAT. Can I/how can I code it to display that way all the time on any device?

    • This topic was modified 4 years, 11 months ago by doofustoo.
    • This topic was modified 4 years, 11 months ago by doofustoo.
    • This topic was modified 4 years, 11 months ago by doofustoo.
    • This topic was modified 4 years, 11 months ago by bcworkz. Reason: code fixed

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    The source is slightly different for mobile devices. You can directly request mobile content by adding .m after the en in the URL:
    <iframe src="https://en.m.wikipedia.org/wiki/April_16" width="100%" height="600px"></iframe>

    Thread Starter doofustoo

    (@doofustoo)

    Works great!
    Thank you VERY much.
    john

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display embedded site without side panels’ is closed to new replies.