Skip to content

Instantly share code, notes, and snippets.

@kevn
Created August 9, 2011 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevn/1133239 to your computer and use it in GitHub Desktop.
Save kevn/1133239 to your computer and use it in GitHub Desktop.
TinyMCE iframe creation
// Create iframe
// TODO: ACC add the appropriate description on this.
n = DOM.add(o.iframeContainer, 'iframe', {
id : t.id + "_ifr",
src : u || 'javascript:""', // Workaround for HTTPS warning in IE6/7
frameBorder : '0',
allowTransparency : "true",
title : s.aria_label,
style : {
width : '100%',
height : h
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment