Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder
    Join Date
    Apr 2011
    Posts
    26
    Thanks
    7
    Thanked 0 Times in 0 Posts

    IFrame not showing IMG in IE8 in HTTPS

    help? red x

  • #2
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,662
    Thanks
    41
    Thanked 189 Times in 188 Posts
    ... ?

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • #3
    New Coder
    Join Date
    Apr 2011
    Posts
    26
    Thanks
    7
    Thanked 0 Times in 0 Posts
    images load fine in mozilla/chrome. when i try to load iframe in IE8- images do not display.

    it is over a secure connection.

  • #4
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,662
    Thanks
    41
    Thanked 189 Times in 188 Posts
    can you post some code of what you're doing? or at least the site you are setting the iframe src to?.... ive never tried to embed an HTTPS site in an iframe so idk about the compatibility... i think though that it would defeat the purpose of it being secure- not sure

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • #5
    New Coder
    Join Date
    Apr 2011
    Posts
    26
    Thanks
    7
    Thanked 0 Times in 0 Posts
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <script type="text/javascript" language="javascript" name="mm_scormRTI" >
    <!-- Inserted by:
    // SCORM Runtime Wrapper
    // version 1.2.6     09/09/02
    // Copyright 2000, 2001, 2002 Macromedia, Inc. All rights reserved.
    // ----------------------------------------------------
    
    // define global var as handle to API object
    var mm_adl_API = null;
    
    // mm_getAPI, which calls findAPI as needed
    function mm_getAPI()
    {
      var myAPI = null;
      var tries = 0, triesMax = 500;
      while (tries < triesMax && myAPI == null)
      {
        window.status = 'Looking for API object ' + tries + '/' + triesMax;
        myAPI = findAPI(window);
        if (myAPI == null && typeof(window.parent) != 'undefined') myAPI = findAPI(window.parent)
        if (myAPI == null && typeof(window.top) != 'undefined') myAPI = findAPI(window.top);
        if (myAPI == null && typeof(window.opener) != 'undefined') if (window.opener != null && !window.opener.closed) myAPI = findAPI(window.opener);
        tries++;
      }
      if (myAPI == null)
      {
        window.status = 'API not found';
        alert('JavaScript Warning: API object not found in window or opener. (' + tries + ')');
      }
      else
      {
        mm_adl_API = myAPI;
        window.status = 'API found';
      }
    }
    
    // returns LMS API object (or null if not found)
    function findAPI(win)
    {
      // look in this window
      if (typeof(win) != 'undefined' ? typeof(win.API) != 'undefined' : false)
      {
        if (win.API != null )  return win.API;
      }
      // look in this window's frameset kin (except opener)
      if (win.frames.length > 0)  for (var i = 0 ; i < win.frames.length ; i++);
      {
        if (typeof(win.frames[i]) != 'undefined' ? typeof(win.frames[i].API) != 'undefined' : false)
        {
    	     if (win.frames[i].API != null)  return win.frames[i].API;
        }
      }
      return null;
    }
    
    // call LMSInitialize()
    function mm_adlOnload()
    {
      if (mm_adl_API != null)
      {
        mm_adl_API.LMSInitialize("");
        // set status
        mm_adl_API.LMSSetValue("cmi.core.lesson_status", "incomplete");
    	//uid test
    	
      }
    }
    
    // call LMSFinish()
    
    function show_confirm()
    {
    var r=confirm("Please indicate that you have completed this training by affirming the statement below and then click Submit.\n\nI acknowledge understanding and intent of the material presented in the Pressure Ulcer 2011 - A Program for Nursing course and I intend to adhere to any policies and/or provisions referenced in this section.");
    if (r==true)
      {
      alert("Your transcript will now be marked as completed for this course");
        mm_adl_API.LMSSetValue("cmi.core.lesson_status", "completed");
        mm_adl_API.LMSCommit("");
        mm_adl_API.LMSFinish("");
      }
    else
      {
      alert("You pressed Cancel! You will not be marked as completed for this course");
      }
    }
    
    
    // get the API, launch it
    mm_getAPI();
    mm_adlOnload();
    
    // -->
    </script>
    
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Pressure Ulcers 2011 - A Program for Nursing Staff</title>
    </head>
    
    <body>Once you have completed all modules of this course, click the button to the right: 
    <input type="button" name="mm_finishBtn" value="Mark As Complete" onClick="show_confirm()" /></p>
    <iframe src="blank.htm" width="100%" height="780" id="qualtrics" name="qualtrics">
      <p>Your browser does not support iframes.</p>
    </iframe>	
    </body>
    </html>


    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="refresh" content="5;url=https://www.nursingquality.org/NDNQIPressureUlcerTraining/Default.aspx">
    <title>Pressure Ulcers 2011 - A Program for Nursing Staff</title>
    </head>
    <body><div align="center"><img src="logo.jpg"></div>
    </body>
    </html>
    https://www.nursingquality.org/NDNQI...g/Default.aspx has the images in teh assessment...its buried a couple pages in the assessment. the subject matter is a little gross

  • #6
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,662
    Thanks
    41
    Thanked 189 Times in 188 Posts
    i did a little searching (google) and have not found a definitive answer... there seems to be a lot of banter back and forth about whether or not https can be in an iframe... there is also a lot of subject matter stating you shouldn't do it and what not back and forth... but one seemingly consistent consensus is that there will be problems across browsers... what about for that page opening a new page?
    Code:
    <a href="https://......." target="_blank">blah</a>

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • #7
    New Coder
    Join Date
    Apr 2011
    Posts
    26
    Thanks
    7
    Thanked 0 Times in 0 Posts
    we wanted a logo to display for five secs...all other images appear fine; its within the assessment that the question images are not displaying.

    could there be a script on their side that disables it?

  • #8
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,662
    Thanks
    41
    Thanked 189 Times in 188 Posts
    Quote Originally Posted by owlsey View Post
    we wanted a logo to display for five secs...all other images appear fine; its within the assessment that the question images are not displaying.

    could there be a script on their side that disables it?
    idk, maybe...? maybe this site http://www.w3.org/wiki/HTML/Elements/iframe will give some insight... try adding the sandbox section (can be ref'd via link) and allow for scripts?

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE


  •  

    Posting Permissions

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