0

虽然我发现了一个类似的 Question Using mark of the web with MathML,但我找不到解决方案。我从 MathJax 网站尝试了以下示例

<!DOCTYPE html>
<html>
<head>
<title>MathJax TeX Test Page</title>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
</script>
<script type="text/javascript"
  src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
</head>
<body>
<span style='font-size:130%'>
When $a \ne 0$, there are two solutions to \(ax^2 + bx + c = 0\) and they are
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
</span>
</body>
</html>

我明白了

Internet Explorer 限制此网页运行脚本或 ActiveX 控件。

IE 9 中的警告。

这个数学博客

http://swanlotus.com/varieties-of-multiplication/

在 IE 9 中运行良好。

只是想知道我需要对示例进行哪些更改才能解决此问题。

4

1 回答 1

0

Problems like these exist because you're running the webpage directly from your computer, in other words you'll need to serve the page using a http server ( like apache, IIS, etc ).

You can still disable the warning, if you want to, by going to Tools (menu) → Internet Options → Security (tab) → Custom Level (button) → and Disable Automatic prompting for ActiveX controls. This will only apply to your computer obviously.

Anyway, if you're developing a webpage of sorts i recommend you run it in a http server in your localhost ( try installing WAMP for instance, gives you apache and php + mysql, and its easy to use )

于 2012-11-23T22:16:06.027 回答