<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Never try to reply in English on a Dutch telephone with a Dutch
    dictionary....<br>
    <br>
    I'll try to fix it for now, and will properly fix it later.<br>
    <br>
    Tom<br>
    <br>
    <div class="moz-cite-prefix">Op 18-2-2013 12:47, Tom Reijnders
      schreef:<br>
    </div>
    <blockquote
      cite="mid:923e60be-0dfe-4b0c-8d23-6fa4f36c9af1@email.android.com"
      type="cite">I'll yet to fix It for now. Will clean It up later...<br>
      <br>
      <div class="gmail_quote">Julian Tenney
        <a class="moz-txt-link-rfc2396E" href="mailto:Julian.Tenney@nottingham.ac.uk"><Julian.Tenney@nottingham.ac.uk></a> schreef:
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif; margin-top: 0px">It should be, yes, and agree, we should tidy it up at some point,

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a class="moz-txt-link-freetext" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Pat @ Pgogy
Sent: 18 February 2013 09:20
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Too many places with duplicate code, and I lost track....

Hello,

I think, but am not sure, that only one set of the files is exported now. The code in the modules folder mirrors the desktop XOT export. This part of the code is a bit confused.

Pop up should be in all three though

Pgogy Webstuff - <a moz-do-not-send="true" href="http://www.pgogywebstuff.com">http://www.pgogywebstuff.com</a> Makers of web things of a fair to middling quality

On 18 Feb 2013, at 08:00, Tom Reijnders <a class="moz-txt-link-rfc2396E" href="mailto:reijnders@tor.nl"><reijnders@tor.nl></a> wrote:

<blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">I've got a problem with a xot installation and a scorm export.

This particular RLO is using the embedDiv model, and it works fine if you publish it from XOT, but exported to SCORM (can't test normal export yet, need user credentials first), it doesn't work.

As far as I can tell now, it's because the embedDiv tries to call resizePopup, but that doesn't exit in scormRLO.htm. As far as I can tell it doen's exist in modules/xerte/player/RLOobject.htm (used for a normal export) either, and I think it should.

A lot of code that is in the rlo object is duplicated.

There is a rloObject.js in the root of xerte that is similar but different than the rloObject.js used for export. There is popupCode in play.php, and in scromRLO.htm, rloObject.htm, scorm2004.htm, but the latter 3 miss some functions that are in player.php.

At some point in time we should clean this up. For now, Am I correct that resizePopup should be in scromRLO.htm, rloObject.htm, scorm2004.htm?

Tnx,

Tom

--
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196


<hr>
Xerte-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a>
<a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>
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.

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.</blockquote>
<hr>
Xerte-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a>
<a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>

<hr>
Xerte-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a>
<a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>
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 delet
 e 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.

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.
</pre>
        </blockquote>
      </div>
      <br>
      -- <br>
      Verzonden van mijn Android telefoon met K-9 Mail.
      <br>
      <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Xerte-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

</pre>
  </body>
</html>