Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
ToolBook 10.5: DHTML Export Considerations

ToolBook 10.5: DHTML Export Considerations

Ratings: (0)|Views: 65|Likes:
Published by CubemanPDX

More info:

Published by: CubemanPDX on May 02, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/02/2011

pdf

text

original

 
 1
VIEWING AN HTML APPLICATION IN A WEB BROWSER
The following notes describe differences in the appearance or behavior of certain objects in nativeToolBook when compared to these same objects displayed in a Web browser after export to HTML usingthe ToolBook Web Specialist. Since the browsers have certain limitations, it is not always possible foreach ToolBook object to have precisely the same look and behavior in different browsers. Thesedifferences are listed below.
Actions Editor
Actions for randomized answers
Actions created for answers to randomized multiple-choice questions do not behave the same inToolBook and an exported HTML application. When an action for an event (such as the On clickevent) is created for a specific answer to a multiple choice answer field or button, the action will notremain associated with the event after the question is randomized in an HTML application.
Assigning click events to a group
The On click and On double-click events are not supported for editable fields and combo boxes inToolBook. However, the On click and On double-click events are supported for editable fields andcombo boxes in HTML. This difference is apparent when On click or On double-click events aredefined for a group that contains editable fields or combo boxes. In ToolBook, when the user clicks onthe editable field or combo box in the group nothing happens, but in HTML, the On click or Ondouble-click events for the group execute when the combo box or editable field is clicked.
Feedback message does not stop action sequence
In HTML, when a response to a question triggers a popup feedback message, the processing of anysubsequent statements in the action sequence continues. In ToolBook, the processing of an actionsequence with a feedback message is stopped until the user dismisses the pop-up message.
Fill color is not supported for draw objects in Actions Editor
In ToolBook, draw objects such as rectangles and circles can be created with the tool palette. Youcan set the color inside of these objects before exporting to HTML and the object will appear asexpected in a browser after export. However, if you try to use the Actions Editor to set the rgbFillproperty of a draw object, this property is not available since all draw objects are exported asgraphics and the fill color cannot be set after export.
List boxes
In a list box or combo box, setting the selectedItemText property allows you to select a specific line oftext. The value stored in this property is case-sensitive in HTML but not in ToolBook. For example, ifyou set the selectedItemText property to "triplet" (all lowercase) in an HTML application, an existingline of text that says "Triplet" will not be selected because the property value is case-sensitive inHTML.
On load book event sent when new page pops up
If you have a button with a hyperlink that pops up a new page, after export to HTML clicking thebutton in a Web browser causes the pop-up page to generate an On load book event. In the HTMLversion of the book, a pop-up hyperlink is actually opening another instance of the HTML runtime andloading the book in that instance. The two HTML instances are totally separate, whereas in native
 
 2ToolBook there is only a single instance of the runtime open when you display a new page in a pop-up window.
Order of events
Actions within an action sequence will always execute in the same order regardless of the browser inuse. However, the order of events is not always consistent between ToolBook and a specific browser,so authors should never rely on an exact order of events. For example, when you click on a list boxobject in ToolBook, this is the sequence of events for a click that causes a property change:
trigger
click
select (if an item is selected)
property changeIn a browser, after exporting to HTML the order is:
click
select (if an item is selected)
property change
trigger
Path animation
Assigning the action named “On media complete” to a path animation causes slightly differentbehavior. In ToolBook, the animation stops, returns to the start, and then the complete event occurs.In HTML, the animation stops, the complete event occurs, and then the animation returns to its start.
Pop-up text boxes
Due to a limitation in JavaScript, any action (other than pop-up text) set to execute after text pops upwill occur without waiting for the user to close the pop-up text box.
Timed Delay actions
You cannot use a Timed Delay action within a loop or an “if” condition in an action sequence, if youplan to export to HTML. The delay will function in ToolBook but is ignored in HTML.
Universal Media Player and periodic time markers
Periodic time markers allow developers to check the status of the media at regular (but notguaranteed to be precise) time intervals. In ToolBook, the timing event is fired at regular intervals, butin HTML the timing events could be at any interval and might even stop if the movie stops at a framewhile waiting for user input. For media that uses frames, such as a Flash movie file, the timing unit isin milliseconds because frames are not "regular" - frames might be set at different rates at differentparts of the movie, and the movie can stop at any point.
Graphic / Images
Backdrop styles
The following three styles are not supported in HTML:
tile from center (tile from upper left is substituted)
checkerboard 3 (checkerboard 1 is substituted)
checkerboard 4 (checkerboard 2 is substituted)
Images crop differently in DHTML when compared to native ToolBook
If you turn off the autosizing option of an image object and reduce its width or height, the image willbe cropped. In the authoring environment, the image appears cropped along the bottom and rightedges. However, in the DHTML published content, the cropped image is centered within the new sizeof the image object.
 
 3
Chromakey color
When a computer is running with a 16-bit color display driver, a graphic that uses a chromakey colormay not export to HTML properly, since the export is dependent on the video driver mapping colorscorrectly between 16-bit and 24-bit.
Displaying a path animation
In ToolBook an object can have a defined path animation that includes resizing the object. Afterexporting to HTML, playing the animation in a browser will not display any resizing of the object.
Embedded images in text fields
A text field or record field that is editable cannot contain an embedded image in an HTML application.
List boxes
If a bitmap is inserted into a text object that is set to single-select list box or scrolling, it will display inToolBook. In HTML, the bitmap does not appear.
"Use Windows colors" option
A HTML application running in a browser cannot determine the system colors set on the computer ofthe end user. When the "Use Windows colors" option is checked in ToolBook, the export to HTMLcode checks the author's computer for the current settings of the Windows button face and strokecolors and uses these values in the HTML files. The colors displayed in ToolBook (for example, abackground pattern) may not be the same as the colors seen in HTML. This difference in color valuesapplies to the options labeled "Use standard Windows colors" and "Use dialog box color" found in theproperties dialog boxes for objects such as buttons, text fields, draw objects, and stages.
Hyperlinking
Go Back
If a hyperlink is specified as going back to the previously displayed page, in an HTML application thelink is not functional if the previously displayed page is in another book. In other words, if a hyperlinkto a page in another book is triggered, and that page has an object with a hyperlink to go back towherever you came from, clicking that object will have no effect.If a hyperlink specifies going to a page in another book with a transition effect, the HTML form of thehyperlink does not use the transition. When such a link is triggered, the page in the other book isactually displayed in a new browser window and the one showing the first book is closed.
Scores tracked through AICC/SCORM are not reported
If a book contains a hyperlink that closes the current book and opens another book, and both booksare exported with AICC or SCORM support, student scores will not be tracked when running thebooks from an AICC or SCORM LMS server. To take advantage of the score tracking feature in anAICC- or SCORM-compliant learning management system (LMS), set up each one as a separatelesson in the LMS.
Media
Displaying multiple Popup Universal Media Players on a page
You can have more than one Popup Universal Media Player (UMP) on a page. In native ToolBook,only one Popup UMP can play at a time. If a user tries to play media in two different Popup UMPs atthe same time, ToolBook will close the media file currently playing and will then start playing thesecond media file. After export to HTML, two separate Popup UMPs can play simultaneously.However, if one Popup UMP is triggered in response to question feedback, in HTML the Popup thatplays the media feedback file will close when another Popup UMP is triggered.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->