Texas Instruments TINSPIRE Manual Book page 252

Teacher software guidebook
Hide thumbs Also See for TINSPIRE:
Table of Contents

Advertisement

<script type="text/javascript"
src="http://education.ti.com/html/nspireplayer/js/ticreateiframe.js"></scri
pt>
<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>
Modifying the parameter
If you have placed your file in the shared location, change the parameter
to reflect the new or path where the document is stored. The or path to
a shared document is typically easy to find. Often, right-clicking the or
path name copies a shortcut to the document, which you can paste into
the iframe.
1. Place your document on a shared location. For example, a shared
network drive or web site.
2. Copy the path or .
3. Open the page in a text editor to view and modify the code.
4. Replace the parameter by pasting the new or path over the existing
or path name.
5. Save the updated file.
If your shared document is located on a shared network drive, the
updated might look like this:
<iframe
src="http://education.ti.com/go/nspireplayer?nspirefile=file:/P:/MathDepa
rtment/Algebra/Lessons/myfile.tns" width="360" height="290"
scrolling="no" frameborder="0"></iframe>
240
Embedding documents in web pages

Advertisement

Table of Contents
loading

Table of Contents