242 Embedding documents in web pages
After you have placed your document in a shared location and modified
the , opening the file automatically launches the TI-Nspire™ Document
Player and displays your embedded document a your default web
browser. Anyone accessing the document must be connected to the
Internet and have access to the shared file to view it.
Storing and sharing files offline
You can also share your documents with others to be opened and viewed
offline. You can send the file to others as an email attachment or on a
flash drive. The recipient can save the file on their hard drive, then open
the document in their web browser or text editor.
Launching a dedicated TI-Nspire™ Document
Player window
You can use to add a link to your web page that will launch the
TI-Nspire™ Document Player in a dedicated window. The example code
provided produces a link that launches a document from the Activities
Exchange on education.ti.com in a dedicated window.
<script type="text/javascript"
src="http://education.ti.com/html/nspireplayer/js/ticreateiframe.js"></scrip
t>
<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 : 'http://dl.dropbox.com/u/10849702/myfile.tns'
}
);
</script>