Hyperlinks may be added to the Title, Subtitle, Content 0 - 10, Question, Instructions, Correct Feedback, Incorrect Feedback, and "Multiple Tries" Feedback items in the Content Editor.
Hyperlinks must be added in this format:
~<action>=<target>~<hyperlink text>~
The <action> can be external, glossary, or the name of one of the columns in the content database/XML file. The column name will typically be title but can be subtitle or any other column name.
For an external link, the target can be either a URL or the name of document, image, or other item in the \media directory. In this example, the hyperlink text is www.trainingstudio.net but the target is http://www.trainingstudio.net.
~external=http://www.trainingstudio.net~www.trainingstudio.net~
When the student clicks the hyperlink, a new browser window displaying http://www.trainingstudio.net is shown.
In this example, the entire explanation is a hyperlinked to the Wiki site that was the reference:
~external=http://en.wikipedia.org/wiki/Keith_Moon~Moon is also said to have named Led Zeppelin when an early version of the band was being discussed that would have had himself, along with either John Entwistle or John Paul Jones on bass, Jimmy Page and Jeff Beck, with an undecided vocalist, as members; he stated the potential supergroup would "go down like a lead balloon."~
The color of an external hyperlink is set in the starting movie via this line near the top of the Actions layer script:
var hyperlinkColor_External:String = "9B7B0B"; // color for hyperlinks that show external files. This is a string rather than a number since inserted via HTML
The value of this variable is the hexadecimal representation of the desired RGB color.
For glossary link, the target is either the word in the glossary that you want displayed or blank if the word you want displayed is the same as the hyperlink text. For example, both of these entries would display "Bass" in the glossary:
~glossary=bass~bass guitar~
~glossary=~bass~
The color of a glossary hyperlink is set in the starting movie via this line near the top of the Actions layer script:
var hyperlinkColor_Glossary:String = "FF0000"; // color for hyperlinks that are glossary definitions. This is a string rather than a number since inserted via HTML
The value of this variable is the hexadecimal representation of the desired RGB color.
For a "page" link, the action is the name of the column in the content table/XML file and the target is the value of that column. Training Studio will start at the current page and find the next page that matches that value. If it doesn't find a match before the end of the training, it will start over with page 1. For example, this link looks for a page with a title of Training Studio Beatles Exam.
~title=Training Studio Beatles Exam~here~
The color of a page hyperlink is set in the starting movie via this line near the top of the Actions layer script:
var hyperlinkColor_Pages:String = "0000FF"; // color for hyperlinks that jump to other pages. This is a string rather than a number since inserted via HTML
The value of this variable is the hexadecimal representation of the desired RGB color.