Mathematica notebooks can be made into Computable Document Format (CDF) documents. CDF documents that are embedded into a web page appear as gray boxes when they contain potentially unsafe dynamic content. This is a security feature that prevents potential malicious code from being run.

If the CDF document is embedded in full screen mode, it shows a button that allows a viewer to run the document’s content. To embed the CDF document in full screen mode, use the following code in the web page:

<script src="" type="text/javascript">
<script type="text/javascript">
var cdf = new cdfplugin();
cdf.embed("", 500, 600, {fullscreen:'true'});