在 IE 的情况下,每个 IE 都以不同的思想运行,
甚至 jQuery 和插件有时也不能与 IE 一起使用,这似乎是一样的..
基本问题是 IE 为 JavaScript 提供的支持在各个版本中不一致。
您需要更改的一些小事情。
您已经指定<!DOCTYPE HTML>
此外,您需要指定 meta 来定义其类型。
引导 IE 识别内容类型..(哑 IE)
<meta http-equiv="X-UA-Compatible" contant="IE=edge" />
请在此 Meta TAG 之后定义所有 meta。
之后是这段代码,你必须在开始定义脚本之前定义它。
<!--[if lt IE 9]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
<![endif]-->
这也让事情得到了控制。
请更改此设置并查看差异。
更新:如果有一些与特定的绘图有关的东西,
在此示例链接上,当您单击绘图图像时,它会使用这样的代码生成图像。
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcwAAAFACAYAAAAxqUwlAAAgAElEQVR4Xu2de2xdx32gf7zk5Zui3pSsh00rSeOkUR5KU2VtAZHjrJvsJmllQ0itOI1Qw8BSC6wWqIQlVKD9QxK0FVTARaEFiBAF5EWKQissukXQ7lpJKiBqEHe1Thwrjmz5QT9iU6YoiS+RvA/uzNCHurwi78x9njPnfscwSIpzzpnz/eaejzNn5nca5tQmbBCAAAQgAAEIFCTQgDBpIRCAAAQgAAE7AYRpZ0QJCEAAAhCAgCBMGgEEIAABCEDAgQDCdIBEEQhAAAIQgIAR5vnz5+Xs2bOSSCTk8OHD0tvba8ik02nz8+TkpDQ1NcnJkyelvb0dahCAAAQgAIG6I9Dw/vvvz/393/+9PP3006LF+ZOf/ESOHDkiyWRSzpw5I52dnbJnzx7z/fj4uBw4cKDuIHHBEIAABCAAgUVDssPDw3LixAk5duyYNDc3S39/v/T19Zkep/7d4OCgHDp0yMiUDQIQgAAEIFBPBBYJU/cwr1y5YnqRufLUw7D5P9cTJK4VAhCAAAQgYISZzWbl1KlT5vlkMORajjC/973viT4mGwQgAAEI+EdAz2f5zne+Y0Ya2e4QWNTDvHz5spw+fdpM7t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以这只不过是嵌入在<img
标签下的图像的 base64 字符串。
另请参阅更新fiddle
并回复:)
编辑: IE 8 中的 DataURL
请参阅旧帖子这将如何工作或替代以使其工作。虽然方法并不容易,但可以在 MHTML(基于 Mime 的 html)、CSS 的帮助下解决,并且约束是 32 KB 的大小。请注意是否有其他解决方法..
IE8以下不支持数据URI。
编辑:找到新链接
有一个使用 CSS 文件并将其称为 MHTML Mime 类型的技巧。
链接到页面
我认为这会有所帮助,(大小限制的限制是相同的。
如有任何疑问请回复