Quantcast
Channel: Microsoft Online: SharePoint Online forum
Viewing all articles
Browse latest Browse all 10096

Embedding classic pages inside my modern page using the Embed modern web part, will not show horizontal and/or vertical scroll bars on small sized screens

$
0
0

Inside modern pages, i always embed some classic pages using the Embed modern web part:-

i use this appraoch when i want to show some content using JavaScript. where i add the JavaScript inside a classic page, and then I Embed the classic page inside my modern page. as inside modern pages we can not write cusotm JavaScript. here is how my embed code looks like:-

<iframe src="https://******.sharepoint.com/Pages/images1.aspx?isDlg=1" width="100%" height="285"></iframe>

from my previous experience in modern pages, when i access the web page inside a small sized screen (mainly rectangular screen), the iframe will show vertical and/or horizontal tool bar to allow showing the full iframe content, as follow:-

But today i start working on a new sharepoint online tenant and when i embed a classic age inside our modern page, the iframe did not show any tool bars, and some content inside the iframe will be hidden when accessed from small sized screens..

so can anyone adivce? as seems there is not any option to control showing/hiding vertical and horizontal tools bars for our Embed web parts?? so not sure why i am getting inconsistent results ?as on some tenants vertical and/or horizontal tools will be shown automatically if the iframe content can not be fully rendered..

here is my classic page markup, where when i access the modern page from small sized screens only the first image will be shown, while the other will be hidden, and i did not get any tools bars to be able to scroll and see the missing 2 images.:-

<p><a title="Document Library" href="/Shared%20Documents" target="_blank"><img alt="Document Library-Icon.png" src="/PublishingImages/Pages/Icons/Document%20Library-Icon.png"/></a>​ 

<a title="Hub" href="/sites/info" target="_blank"><img alt="Wiki Library-Icon.png" src="/PublishingImages/Pages/Icons/Wiki%20Library-Icon.png"/></a><a title="Support" href="mailto:***@****.net"> <img alt="Support-Icon.png" src="/PublishingImages/Pages/Icons/Support-Icon.png"/></a></p><div class="ms-rtestate-read ms-rte-wpbox" contenteditable="false" unselectable="on"> <div class="ms-rtestate-notify  ms-rtestate-read 9aa82477-e611-4eee-9137-0039b788b7b5" id="div_9aa82477-e611-4eee-9137-0039b788b7b5" unselectable="on"></div><div id="vid_9aa82477-e611-4eee-9137-0039b788b7b5" unselectable="on" style="display: none;"></div></div>




Viewing all articles
Browse latest Browse all 10096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>