title: How to open an iframe from clicking an image
body: <p>I'm wondering if anyone can help me. I'm hoping I can open an iFrame in the centre of my webpage from clicking a picture. So in effect the iframe would be hidden until the picture is clicked. I have a very small and simple upload form on another page that I would like to appear when the user needs to upload and click the picture. I've had a good look round on this site and google in general but not found what I'm looking for, or the basics weren't included because it's common knowledge for most people here. Would there also be a way of closing this when it's finished uploading too? The form currently diverts to the homepage when finished so It would be handy to have a close option as in the end (post successful upload) the iframe contents will be the same as the page it's displayed on.</p>
  
  <p>The best/easiest I have come across has been on w3schools but I have read using html for iFrames is not widely accepted or it isn't the best option cross-browser.</p>
  
  <p>I have been viewing and trying different code but without even the basic knowledge I can't get my head around it.</p>
  
  <p>If anyone is able to help, please assume I'm 5 years old. I'm not daft but in terms of code I'm literally just starting.</p>
  
  <p>Thanks in advance</p>