title: This javascript gets the iFrame to load on a page. It won't load in IE...
body: <p>Here's the js we're using to call the iframe.  In IE, it will either time out or get a "
  Internet Explorer cannot load the page" message.  It works fine in Chrome and Firefox.  <strong>Any insights at all would be greatly appreciated...</strong> </p>
  
  <pre><code>(function () {
      function f(i) {
          if (i.origin !== e + "" + n) {
              return
          }
          if (i.data === "destroy_bookmarklet") {
              var s = document.getElementById(g);
              if (s) {
                  document.body.removeChild(s);
                  s = null
              }
          }
      }
      var e = "http://",
          n = "URL GOES HERE",
          g = "ID_div",
          r = "ID_content_iframe",
          i = document.getElementById(r);
      if (i) {
          return
      }
      var d = document.createElement("div"),
          s = e + "" + n + "/post/create?response_type=embed",
          o = document.createElement("iframe");
      d.id = g;
      d.style.position = "absolute";
      d.style.top = "0";
      d.style.left = "0";
      d.style.height = "100%";
      d.style.width = "100%";
      d.style.zIndex = "16777270";
      o.id = r;
      o.src = s + "&amp;link=" + encodeURIComponent(window.location.href) + "&amp;title=" + encodeURIComponent(document.title) + "&amp;description=" + encodeURIComponent("" + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text));
      o.style.height = "600px";
      o.style.width = "650px";
      o.style.border = "10px solid #333333";
      o.style.marginTop = "100px";
      o.style.marginLeft = "auto";
      o.style.marginRight = "auto";
      o.style.display = "block";
      o.style.background = "#ffffff";
      o.style.overflowY = 'scroll';
      o.style.overflowX = 'hidden';
      document.body.appendChild(d);
      d.appendChild(o);
      var u = window.addEventListener ? "addEventListener" : "attachEvent";
      var a = u == "attachEvent" ? "onmessage" : "message";
      window[u](a, f, false)
  })();
  </code></pre>