Texas Instruments TI-Nspire CX CAS TINSPIRE-CX-CAS 产品宣传页

产品代码
TINSPIRE-CX-CAS
下载
页码 603
482 Embedding Documents in Web Pages
contains only the file name instead of the full URL, you must upload the
TI-Nspire™ or PublishView™ document to your web server and ensure that it
resides in the same folder as your blog or web page.
<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>
Line breaks are not recognized in HTML source code. You may see the iframe
code strung together on a single line when you view the source code in a text
editor or HTML editor. To make the code easier to view, you can manually add
line breaks or enable Word Wrap. The following example shows the code
without line breaks.
<script type="text/javascript"
src="http://education.ti.com/html/nspireplayer/js/ticreateiframe.js"></script>
<script type="text/javascript"> tiDeployPlayer.tiCreateIframePlayer({src :
'http://education.ti.com/go/nspireplayer', width : '640', height : '480', scrolling :
'no', frameborder : '0' },{ nspirefile : 'myfile.tns'});</script>
Using the TI-Nspire™ Document Player
The Document Player launches automatically when you open an HTML
document that contains an embedded TI-Nspire™ or PublishView™ document.
The Document Player plays directly from the Internet and does not require any
other Texas Instruments handhelds or software.