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

Produktcode
TINSPIRE-CX-CAS
Seite von 603
Opening Documents in a Linked Frame
You can create a web page that contains links to TI-Nspire™ and PublishView™
documents that open in a Document Player window embedded on the same
web page. Creating this web page lets you quickly open documents from links
without reloading Document Player. This saves time and provides a way to
create a "one page" destination containing links to multiple documents. When
you click a link, the document opens in the embedded Document Player
window. Clicking another link on the page opens the document in the same
Document Player window. The links and the Document Player window must be
on the same HTML page. A simple web page might look like the following
illustration.
Embedding a Linked Frame in a Web Page
You can use TI-provided code to create a web page that has links to
documents and an embedded Document Player window. To create the web
page, you must:
Add the header lines to the header section
Create links
Create the Document Player window
You can use the
File > Export
feature to quickly generate the code needed to
create a web page. When the web page is created, modify the frame using
HTML parameters and the following Java script files.
Head Section
Place the following code into the head section.
<script
src="http://education.ti.com/html/nspireplayer/3.2.0/application/js/strings.js"></s
cript> <script
Embedding Documents in Web Pages 499