<div>
<div><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Where are you moving the back button?</span>
</div><div><br></div><div>
<div>
<div>The back button is moved in the setup script off the Entry Frame.</div><div> </div></div><div>I spent a fair bit of last night playing around with the positioning of the buttons to try to find a way of losing that phantom mask that won't go away.</div>
<div><br></div><div>In the end I came up with a solution that positioned the home button on top of the phantom mask.</div><div><br></div><div><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Also, we should put the code you’ve got here in the engine, something like setInterfaceControls(style).</span>
</div></div></div><div><br></div><div>With respect to the code shown in the image below shall I include if for now in the .rlt? </div><div><br></div><div>This will then remove any time pressure for it to be put into the engine.</div>
<div><br></div><div>If you are thinking of putting it in the engine soon then I will need to wait until this is done so that I can modify the rlt code and test it, prior to updating the svn.</div><div><br></div><div><br></div>
<div>Kind regards</div><div><br></div><div>Johnathan</div><br><div class="gmail_quote">On 19 November 2012 10:22, Julian Tenney <span dir="ltr"><<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Also, we should put the code you’ve got here in the engine, something like setInterfaceControls(style).</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Where are you moving the back button?</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><img width="988" height="754" src="cid:image001.png@01CDC63F.C80CE520"></span></p>
<div class="im"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Kemp Johnathan<br>
<b>Sent:</b> 18 November 2012 13:23<br><b>To:</b> Xerte Developers Discussion List<br><b>Subject:</b> [Xerte-dev] Connector update</span></p></div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">
The last thread was getting very long and complicated, so time for a new thread.</p></div><div class="im"><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">
I have attached a page templates project that implements pretty much all of what I think has been discussed on the flash side of things. I am presenting this as a prototype which if everyone is happy with I will use as the basis for modifying all the Connector pages.</p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">It features the following</p></div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div>
</div><div><p class="MsoNormal" style="margin-left:72.0pt"><span>1.<span style="font:7.0pt "Times New Roman""> </span></span>A new option for the learning object navigation attribute of "historic" which implements a home button, historic back button and next button.</p>
<p class="MsoNormal" style="margin-left:72.0pt"><span>2.<span style="font:7.0pt "Times New Roman""> </span></span>A new attribute "Navigation Buttons" to allow every page type to offer the author control over what navigation buttons are displayed when that page is viewed. "Navigation Buttons" is an optional attribute for standard pages and mandatory for the original Connector pages. This allows the author to select from 5 navigation options "all,back and next, back only, next only, none". </p>
<p class="MsoNormal" style="margin-left:72.0pt"><span>3.<span style="font:7.0pt "Times New Roman""> </span></span>Code in the .rlt file (on the onInitComplete and onOpenPage events sets the navigation buttons based on the "Navigation Buttons" attribute correctly whether the learning object navigation is linear, historic, etc. Where a page does not have the "Navigation Buttons" attribute set the page defaults to "all". It works a treat and only requires the addition of one line to each page's xwd and no change to the page model. (This was implemented to support the new context menu "Page Link" option, but it also really simplifies the Connector pages as they no longer need to handle any navigation button settings for destination pages)</p>
<p class="MsoNormal" style="margin-left:72.0pt"><span>4.<span style="font:7.0pt "Times New Roman""> </span></span>Use of pageList controls for selection of links in Connector pages (see the new way to set up a list of pages for the menu connector.</p>
<div class="im"><div><p class="MsoNormal" style="margin-left:36.0pt">Have a play with the navigation options to see what you think.</p></div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">
There are a few minor issues that need resolving though</p></div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">a) It appears that the historic back button is currently broken as no navigation takes place when it is clicked</p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">b) Despite looking in the flash code and inspecting the rootIcon I cannot find the identifier for the mask that is persisting to display a blue circle when you use the historic back button. As I moved the back button a little it is currently showing behind and to the left of the home button and I can't get rid of it :-(</p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">c) advanced and language check boxes are broken at present in xwd</p></div><div><p class="MsoNormal" style="margin-left:36.0pt">
</p></div><div><p class="MsoNormal" style="margin-left:36.0pt">d) I agree that the plainTextConnector is redundant now that we have the "Page Link" feature in the context menu. I think this is a real game changer which necessitated the introduction of the "Navigation Buttons" attribute mentioned above. I recommend that as a result of this ability to create links in any page type (in XOT if not in Xerte) that we also retire from XOT the Redirector Connector (keep it Xerte only) as it is redundant now and retire the Tabbed Navigator Connector as it pretty much does what the Tabbed Navigator page does but with links that can now be added using the pageLink context menu item.</p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><div><p class="MsoNormal" style="margin-left:36.0pt">I agreed with Julian to prototype the Connector page changes prior to committing anything to the svn. </p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt">Julian if you are happy with the prototype I will now do the following</p></div></div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">
</p></div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">i) Update the rlt code in the svn to handle the historic navigation attribute and the setting of navigation button options</p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt">ii) Add the extra line to every xwd file in the svn that will provide the optional "Navigation Buttons" parameter.</p></div><div><p class="MsoNormal" style="margin-left:36.0pt">
iii) Modify the rlm and xwd files of each of the following connector pages in the svn to use pageList controls and "Navigation Buttons" settings </p></div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt">( In order to enable the current Connector pages to use pageList controls and still work with Xerte I will create two xwd files e.g. connectorMenu.xwd and connectorMenu_XOT.xwd. The _XOT one will be used for building templates.xwd. Currently this poses a minor problem since all .xwd files must have an identically named .rlm file to be included in the templates.xwd file created by Tom's script. Tom is going to implement a test to check for a modelFile="" attribute (e.g. modelFile="connectorMenu") in the xwd file that can be used to over-ride the file name. )</p>
</div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:10.0pt;font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman""> </span></span></span>Menu Connector</p><p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:10.0pt;font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman""> </span></span></span>HotspotImageConnector</p><p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:10.0pt;font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman""> </span></span></span>MCC Connector</p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:10.0pt;font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman""> </span></span></span>Scenario Connector</p><div><p class="MsoNormal" style="margin-left:36.0pt">
iv) Flag the following connectors as excluded from XOT</p></div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:10.0pt;font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman""> </span></span></span>Tabbed Navigator Connector</p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:10.0pt;font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman""> </span></span></span>Redirector Connector</p><p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:10.0pt;font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman""> </span></span></span>Plain Text Connector</p><div><p class="MsoNormal" style="margin-left:36.0pt">Kind regards</p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">Johnathan</p></div></div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div></div><div>
<p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div></div></div></div><br><div class="im">
<p>
This message and any attachment are intended solely for the addressee and may
contain confidential information. If you have received this message in error,
please send it back to me, and immediately delete it. Please do not use,
copy or disclose the information contained in this message or in any attachment.
Any views or opinions expressed by the author of this email do not necessarily
reflect the views of the University of Nottingham.
</p>
<p>
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
</p>
</div></div><br>_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
<br>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
<br></blockquote></div><br>