<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2>Sorry - didn't answer the last bit.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2>The initalisation is handled by the web page, as is finish.
The Xerte code should be running in an initialised wrapper, waiting for you to
set or get data. You don't need to worry about anything else - the web page does
it.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2>If you want to change the way initialisation works, or
provide any custom code, make changes to the web page, or the js files it
loads.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2>Use the test suite for testing all SCORM stuff. In this
case, you should see the piece initialise, ask for suspend_data, set
suspend_data every time you navigate to a page, and then finish when you close
down the web page.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2>What Xerte does is:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2>ask for suspend_data</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2>is it null (an empty string)?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2>if it is, this is the user's first visit
so</FONT></SPAN><SPAN class=594452712-14042008><FONT face=Verdana color=#0000ff
size=2> make the initial trackingData variable, and fill it with 0's for each
page</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2>if not, use the tracking data we get back from our last
visit - the user has been here before</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2>that sets it up. The menu is then built and the status is
based on the value of trackingData for each page.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2>When the user navigates to a new page, Xerte sets the value
of trackingData for that page to 1 and saves suspend_data</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2>HTH</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=594452712-14042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Mark
Tomlinson, AC&S Ltd<BR><B>Sent:</B> 14 April 2008 11:16<BR><B>To:</B>
'Xerte discussion list'<BR><B>Subject:</B> [Xerte] dynamicMenu
example<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=000440010-14042008><FONT face=Arial size=2>I am playing
around with the dynamicMenu example in an effort to get up to speed on
Xerte.</FONT></SPAN></DIV>
<DIV><SPAN class=000440010-14042008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=000440010-14042008><FONT face=Arial size=2>I have added a few
pages with frameworks etc and all is working well.</FONT></SPAN></DIV>
<DIV><SPAN class=000440010-14042008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=000440010-14042008><FONT face=Arial size=2>I have a question
on the SCORM tracking though. When previewing the piece the menu details
each chapter as 'Not Started' and the status stays that way, which is what I
expected as we are not running through an LMS at this point. I have
published the file and packaged as SCORM 2004, and then uploaded to a SCORM
2004 compliant LMS. The PIF uploads and launches without error, but on
first and subsequent runs the menu items show as 'Completed'?? I
wasn't expecting this! OK, so what did I do wrong /
miss?</FONT></SPAN></DIV>
<DIV><SPAN class=000440010-14042008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=000440010-14042008><FONT face=Arial size=2>Do I need to do
something else to initialise the SCORM tracking with this example? and
in General?</FONT></SPAN></DIV>
<DIV><SPAN class=000440010-14042008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=000440010-14042008><FONT face=Arial
size=2>Cheers</FONT></SPAN></DIV>
<DIV><SPAN class=000440010-14042008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=000440010-14042008><FONT face=Arial
size=2>Mark</FONT></SPAN></DIV>
<DIV> </DIV>
<STYLE>A.psl {
        COLOR: #003366; TEXT-DECORATION: none
}
A:hover {
        TEXT-DECORATION: underline
}
A.psl:hover {
        COLOR: #999999
}
.noro {
        FONT-SIZE: 8pt; COLOR: #003366; FONT-FAMILY: Verdana,Arial,fixed
}
.tiny {
        FONT-SIZE: 1pt
}
.logotext {
        FONT-SIZE: 10pt; COLOR: #ffffff; FONT-FAMILY: Verdana,Arial,fixed; TEXT-DECORATION: none
}
A.brand {
        FONT-SIZE: 8pt; COLOR: #ffffff; FONT-FAMILY: Verdana,Arial,fixed; TEXT-DECORATION: underline
}
</STYLE>
<TABLE cellSpacing=0 cellPadding=0 width=600 border=0>
<TBODY>
<TR>
<TD>
<TABLE height=80 cellSpacing=0 cellPadding=0 width=600 align=right
border=0>
<TBODY>
<TR>
<TD class=tiny>
<TABLE
style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid"
height="100%" cellSpacing=0 width=600>
<TBODY>
<TR bgColor=#003366>
<TD class=tiny width="100%" height=1>
<TABLE cellSpacing=0 cellPadding=1 width="100%" border=0>
<TBODY>
<TR>
<TD class=logotext style="PADDING-LEFT: 5px">Aerospace
Consulting & Services Ltd</TD>
<TD class=noro
style="PADDING-RIGHT: 5px; FONT-SIZE: 7pt; COLOR: #ffffff"
align=right><A class=psl style="COLOR: #ffffff"
href="http://www.acns-gmbh.com/"
target=_blank>Engineering, Training,
Consultancy</A></TD></TR></TBODY></TABLE></TD>
<TD class=tiny></TD></TR>
<TR>
<TD colSpan=2>
<TABLE height="100%" cellSpacing=2 width="100%" align=right
border=0>
<TBODY>
<TR style="PADDING-BOTTOM: 4px" height=1>
<TD class=noro style="PADDING-LEFT: 4px"
vAlign=top><B>Mark Tomlinson</B><BR><I>Managing
Director</I> </TD>
<TD class=noro style="PADDING-RIGHT: 4px" vAlign=top
align=right><B>AC&S LTD</B><BR>35A Victoria Road
East<BR>Thornton-Cleveleys<BR>Lancashire<BR>FY5
5BU<BR>UK </TD></TR>
<TR height=1>
<TD class=noro
style="PADDING-LEFT: 4px; PADDING-BOTTOM: 4px"
vAlign=bottom><A class=psl
href="mailto:mark.tomlinson@acns-group.com"
target=_blank>mark.tomlinson@acns-group.com</A><BR><A
class=psl href="http://www.acns-group.com/"
target=_blank>www.acns-group.com</A> </TD>
<TD class=noro
style="PADDING-RIGHT: 4px; PADDING-BOTTOM: 4px"
vAlign=bottom align=right>
<TABLE cellSpacing=0 align=right border=0>
<TBODY>
<TR>
<TD class=noro noWrap align=right>tel: <BR>fax:
<BR>mobile: </TD>
<TD class=noro style="PADDING-LEFT: 4px" noWrap
align=right><A class=psl
title="Click to call. Cheap rates & no headset required!"
href="http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B44+1253+855+997&Email=mark.tomlinson@acns-group.com"
target=_blank>+44 1253 855 997</A><BR>+44 870
762 6818<BR><A class=psl
title="Click to call. Cheap rates & no headset required!"
href="http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B44+789+968+7257&Email=mark.tomlinson@acns-group.com"
target=_blank>+44 789 968 7257</A>
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
<TD></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<DIV> </DIV></BLOCKQUOTE></BODY></HTML>