What I want to do is if the user clicks a link and brings up a image of 300X400 and then clicks another link and brings up and image of 50X100, I do not want to see any whitespace from the loading of that first image.Īgain, thanks in advance to whomever decides to help me out. I also know, from reading other threads, that I’ll probably get 10 different ways to skin this cat… I welcome that. iFrames let you embed external content, such as YouTube videos, advertisements, and content from other sites into your own web page. I am able to embed the iframe, however, the object runs off of the screen on a mobile device. and each PDF where the initial view is set may have a different default zoom and page mode. You will be able to have the PDF viewer in the iFrame be responsive but each viewer will behave differently as far as displaying the PDF if no initial view is set. I know that this is probably a really simple problem (again, I’m new and learning). I am attempting to embed an iframe object onto a page of my wordpress website. You probably wont be able to achieve this with any degree of consistency. I know that iframes have been beaten to death on this site as well as others... I already have the code to resize my iframe’s height... now I am trying to have it conform to the loaded images width... the website, once it is finished, will be for family so I have no need to worry about multiple browser accessibilty (everyone visiting will be using IE)- most of the people visiting will think mozilla is a type of cheese that you put on a pizza.Īnyway, I hope someone can help me out. Help us to keep this website almost Ad Free It takes only 10 seconds of your time: > Step 1: Go view our video on YouTube: EF Core Bulk Extensions. I was able to make a responsive iframe size using vw on both width and height of the style element because I know the amount of horizontal width I want the elements to use and then I calculate the height based on the width and the knowledge that the video is 16:9. I am new to this site and new to javascript.