Texas Instruments TI-Nspire CX CAS TINSPIRE-CX-CAS Merkblatt

Produktcode
TINSPIRE-CX-CAS
Seite von 603
494 Embedding Documents in Web Pages
1.
Open a new document in any text editor such Notepad (Windows®) or
TextEdit (Mac®).
2.
Paste the code into the text editor. The following code is an example of
how the snippet may look when you copy it and open it in a text editor.
<!-- START: TI-Nspire(TM) Document Player -->
<!--
Paste the code below into the body of an existing web page or blog. The
code will generate an HTML iframe when the page is loaded. Note the
'nspirefile' parameter holds the location and file name of the TI-Nspire(TM)
or PublishView(TM) document that is to be shown on the page. If 'nspirefile'
contains only a file name instead of a full URL, be sure to upload the TI-
Nspire or PublishView document to your web server and place it in the same
folder as your blog or web page. Also, be sure the 'nspirefile' string contains
no backslash characters '\'. Use forward slash characters '/' instead.
-->
<script type="text/javascript"
src="http://education.ti.com/html/nspireplayer/js/ticreateiframe.js"></script>
<script type="text/javascript">
tiDeployPlayer.tiCreateIframePlayer(
// IFRAME attributes.
{            src : 'http://education.ti.com/go/nspireplayer',
width : '640',
height : '480',
scrolling : 'no',
frameborder : '0'
},
// TI-Nspire(TM) Document Player parameters.
{           nspirefile : 'myfile.tns'
}
);
</script>
<!-- END: TI-Nspire(TM) Document Player -->
3.
Edit the code snippet if needed.
4.
Save the file using the .html file extension. You can use any name you
choose to name the file; however, you must ensure the file extension is
.html.