InsertHML() is striping out HTML in IE ???
If I pass:
var objectCode = '<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';
objectCode += ' CODEBASE="http://download.macromedia.com/pub/shoc ... n=7,0,19,0"';
objectCode += ' WIDTH="' + width + '"';
objectCode += ' HEIGHT="' + height + '"';
objectCode += ' ID="theMovie">';
objectCode += ' <PARAM NAME="src" VALUE="<% = MyFolder & ImageBank %>zoomify/ZoomifyDynamicViewer.swf">';
objectCode += ' <PARAM NAME="FlashVars" VALUE="zoomifyImagePath=<% = MyFolder & ImageBank %>zoomify/' + swf + '" >';
objectCode += ' <EMBED SRC="<% = MyFolder & ImageBank %>zoomify/ZoomifyDynamicViewer.swf"';
objectCode += ' FlashVars="zoomifyImagePath=<% = MyFolder & ImageBank %>zoomify/' + swf + '"';
objectCode += ' PLUGINSPAGE="http://www.macromedia.com/shockwave/dow ... kwaveFlash"';
objectCode += ' WIDTH="' + width + '"';
objectCode += ' HEIGHT="' + height + '"';
objectCode += ' NAME="theMovie">';
objectCode += ' </EMBED>';
objectCode += ' </OBJECT>';
FCK.InsertHtml(objectCode);
The following if returned (Please note the lack of the <EMBED> tag).
<p><object id="theMovie" codebase="http://download.macromedia.com/pub/shoc ... n=7,0,19,0" height="400" width="400" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="/authtrack/ImageBank/zoomify/ZoomifyDynamicViewer.swf" name="src"/>
<param value="zoomifyImagePath=/authtrack/ImageBank/zoomify/Court-Sax" name="FlashVars"/></object></p>
It works fine in Firefox (but the flash file wont show in the editor in Firefox).
Does the InsertHTML() do this on purpose or is it an IE bug.
Can anyone shed some light your comments would be greatly appricated.
Thanks
Courtenay
Tue, 03/29/2005 - 07:43
#1
RE: InsertHtml and IE, Stripping EMBED TAG
RE: InsertHtml and IE, Stripping EMBED TAG
RE: InsertHtml and IE