{"id":755,"date":"2007-07-09T01:00:00","date_gmt":"2007-07-08T16:00:00","guid":{"rendered":"https:\/\/ecoop.net\/memo\/2007-07-09-1.html"},"modified":"2026-08-10T14:41:35","modified_gmt":"2026-08-10T05:41:35","slug":"2007-07-09-1","status":"publish","type":"post","link":"https:\/\/www.ecoop.net\/memo\/archives\/2007-07-09-1.html","title":{"rendered":"IE &#8211; innerHTML \u3067 OBJECT \u30bf\u30b0\u3092\u6b63\u3057\u304f\u53d6\u5f97\u3067\u304d\u306a\u3044"},"content":{"rendered":"<p>\nSWFObject.js \u3092\u4f7f\u3063\u3066\u3044\u3066\u6c17\u304c\u4ed8\u3044\u305f\u306e\u3067\u3059\u304c,<br \/>\nIE \u3067\u306f \u4ee5\u4e0b\u306e\u3088\u3046\u306a\u51e6\u7406\u3067\u3001(element).innerHTML \u304c\u3069\u3046\u3082\u3046\u3055\u3093\u304f\u3055\u3044\u52d5\u4f5c\u3092\u3057\u307e\u3059\u3002<br \/>\n(\u691c\u8a3c\u30d0\u30fc\u30b8\u30e7\u30f3: Internet Explorer Version 6.0)<\/p>\n<blockquote><p>&lt;span id=&#8221;exp_object_tag&#8221;><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;object id=&#8221;foo&#8221; classid=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243; width=&#8221;100%&#8221; height=&#8221;100%&#8221;><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&#8221;movie&#8221; value=&#8221;foo.swf&#8221; \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&#8221;bgcolor&#8221; value=&#8221;#CCCCFF&#8221; \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&#8221;quality&#8221; value=&#8221;high&#8221; \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&#8221;scale&#8221; value=&#8221;noscale&#8221; \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&#8221;flashvars&#8221; value=&#8221;message=hello&#8221; \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;\/object><br \/>\n&lt;\/span><br \/>\n&lt;script type=&#8221;text\/javascript&#8221;><br \/>\n\/\/&lt;![CDATA[<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;alert(document.getElementById(&#8220;exp_object_tag&#8221;).innerHTML);<br \/>\n\/\/]]&gt;&lt;\/script>\n<\/p><\/blockquote>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3092\u542b\u3080HTML\u306e\u8868\u793a\u7d50\u679c\u306f\u3001\u5358\u7d14\u306b\u30bd\u30fc\u30b9\u306e\u307e\u307e\u8868\u793a\u3055\u308c\u308b\u3068\u3044\u3046\u4e00\u822c\u7684\u306a\u671f\u5f85\u306b\u53cd\u3057\u3066\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\n<\/p>\n<blockquote><p>(\u6ce8:\u5b9f\u969b\u306f\u6539\u884c\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u898b\u3084\u3059\u3055\u306e\u305f\u3081\u6539\u884c\u3092\u3044\u308c\u3066\u3042\u308a\u307e\u3059)<br \/>\n&lt;OBJECT id=sotester height=&#8221;100%&#8221; width=&#8221;100%&#8221; classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><br \/>\n&lt;PARAM NAME=&#8221;_cx&#8221; VALUE=&#8221;5080&#8243;><br \/>\n&lt;PARAM NAME=&#8221;_cy&#8221; VALUE=&#8221;5080&#8243;><br \/>\n&lt;PARAM NAME=&#8221;FlashVars&#8221; VALUE=&#8221;&#8221;><br \/>\n&lt;PARAM NAME=&#8221;Movie&#8221; VALUE=&#8221;so_tester.swf&#8221;><br \/>\n&lt;PARAM NAME=&#8221;Src&#8221; VALUE=&#8221;so_tester.swf&#8221;><br \/>\n&lt;PARAM NAME=&#8221;WMode&#8221; VALUE=&#8221;Window&#8221;><br \/>\n&lt;PARAM NAME=&#8221;Play&#8221; VALUE=&#8221;-1&#8243;><br \/>\n&lt;PARAM NAME=&#8221;Loop&#8221; VALUE=&#8221;-1&#8243;><br \/>\n&lt;PARAM NAME=&#8221;Quality&#8221; VALUE=&#8221;High&#8221;><br \/>\n&lt;PARAM NAME=&#8221;SAlign&#8221; VALUE=&#8221;&#8221;><br \/>\n&lt;PARAM NAME=&#8221;Menu&#8221; VALUE=&#8221;-1&#8243;><br \/>\n&lt;PARAM NAME=&#8221;Base&#8221; VALUE=&#8221;&#8221;><br \/>\n&lt;PARAM NAME=&#8221;AllowScriptAccess&#8221; VALUE=&#8221;&#8221;><br \/>\n&lt;PARAM NAME=&#8221;Scale&#8221; VALUE=&#8221;NoScale&#8221;><br \/>\n&lt;PARAM NAME=&#8221;DeviceFont&#8221; VALUE=&#8221;0&#8243;><br \/>\n&lt;PARAM NAME=&#8221;EmbedMovie&#8221; VALUE=&#8221;0&#8243;><br \/>\n&lt;PARAM NAME=&#8221;BGColor&#8221; VALUE=&#8221;FF66FF&#8221;><br \/>\n&lt;PARAM NAME=&#8221;SWRemote&#8221; VALUE=&#8221;&#8221;><br \/>\n&lt;PARAM NAME=&#8221;MovieData&#8221; VALUE=&#8221;&#8221;><br \/>\n&lt;PARAM NAME=&#8221;SeamlessTabbing&#8221; VALUE=&#8221;1&#8243;><br \/>\n&lt;PARAM NAME=&#8221;Profile&#8221; VALUE=&#8221;0&#8243;><br \/>\n&lt;PARAM NAME=&#8221;ProfileAddress&#8221; VALUE=&#8221;&#8221;><br \/>\n&lt;PARAM NAME=&#8221;ProfilePort&#8221; VALUE=&#8221;0&#8243;><br \/>\n&lt;PARAM NAME=&#8221;AllowNetworking&#8221; VALUE=&#8221;all&#8221;><br \/>\n&lt;PARAM NAME=&#8221;AllowFullScreen&#8221; VALUE=&#8221;false&#8221;><br \/>\n&lt;\/OBJECT>\n<\/p><\/blockquote>\n<p>\u6642\u52d5\u7684\u306b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b\u306e\u306f\u3068\u3082\u304b\u304f\u3001\n<\/p>\n<blockquote><p>&lt;PARAM NAME=&#8221;FlashVars&#8221; VALUE=&#8221;&#8221;>\n<\/p><\/blockquote>\n<p>\u3068\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u306f\u3044\u305f\u3060\u3051\u307e\u305b\u3093\u3002<br \/>\n&nbsp;<br \/>\n\u306a\u304a\u3001 += \u30aa\u30da\u30ec\u30fc\u30bf\u3067\u3082\u540c\u69d8\u306e\u73fe\u8c61\u304c\u767a\u751f\u3059\u308b\u305f\u3081\u3001\u6b21\u306e\u3088\u3046\u306b\u3059\u308b\u3068 FlashVars \u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u6e21\u305b\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u3001\u4e0d\u5177\u5408\u306e\u539f\u56e0\u306b\u306a\u308a\u307e\u3059\u3002\n<\/p>\n<blockquote><p>document.getElementById(&#8220;exp_option_tag&#8221;).innerHTML += &#8220;Break it!!&#8221;; \n<\/p><\/blockquote>\n<p>&nbsp;<br \/>\n\u53c2\u8003:<br \/>\n&#8211; <a href=\"http:\/\/msdn2.microsoft.com\/en-us\/library\/ms533897.aspx\">innerHTML Property<\/a> (MSDN)<br \/>\n&#8211; Can&#8217;t pass innerHTML to Internet Explorer containing &lt;param ..\/>(mootools forums)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SWFObject.js \u3092\u4f7f\u3063\u3066\u3044\u3066\u6c17\u304c\u4ed8\u3044\u305f\u306e\u3067\u3059\u304c, IE \u3067\u306f \u4ee5\u4e0b\u306e\u3088\u3046\u306a\u51e6\u7406\u3067\u3001(element).innerHTML \u304c\u3069\u3046\u3082\u3046\u3055\u3093\u304f\u3055\u3044\u52d5\u4f5c\u3092\u3057\u307e\u3059\u3002 (\u691c\u8a3c\u30d0\u30fc\u30b8\u30e7\u30f3: Internet Explore &hellip; <a href=\"https:\/\/www.ecoop.net\/memo\/archives\/2007-07-09-1.html\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">IE &#8211; innerHTML \u3067 OBJECT \u30bf\u30b0\u3092\u6b63\u3057\u304f\u53d6\u5f97\u3067\u304d\u306a\u3044<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[141],"tags":[52,60],"class_list":["post-755","post","type-post","status-publish","format-standard","hentry","category-lifehack","tag-ie","tag-javascript"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/comments?post=755"}],"version-history":[{"count":1,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/755\/revisions"}],"predecessor-version":[{"id":1687,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/755\/revisions\/1687"}],"wp:attachment":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/media?parent=755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/categories?post=755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/tags?post=755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}