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="http://www.wolfram.com/cdf-player/plugin/v2.1/cdfplugin.js" type="text/javascript">
</script>
<script type="text/javascript">
var cdf = new cdfplugin();
cdf.embed("http://path.to/myCDF.cdf", 500, 600, {fullscreen:'true'});
</script>