<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText>Like this?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><img width=816 height=729 id="Picture_x0020_1" src="cid:image001.png@01CE5220.0D5023B0"><o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><span lang=EN-US>-----Original Message-----<br>From: xerte-dev-bounces@lists.nottingham.ac.uk [mailto:xerte-dev-bounces@lists.nottingham.ac.uk] On Behalf Of Julian Tenney<br>Sent: 16 May 2013 10:22<br>To: For Xerte technical developers<br>Subject: [Xerte-dev] Re: JS libraries</span></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Or load them before parsing the content...<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>So I could add a datagrid type control to the wizard where you can make a lit of libraries you want to load, and then load them all before parsing the content into the page.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>-----Original Message-----<o:p></o:p></p><p class=MsoPlainText>From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"><span style='color:windowtext;text-decoration:none'>xerte-dev-bounces@lists.nottingham.ac.uk</span></a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"><span style='color:windowtext;text-decoration:none'>mailto:xerte-dev-bounces@lists.nottingham.ac.uk</span></a>] On Behalf Of Julian Tenney<o:p></o:p></p><p class=MsoPlainText>Sent: 16 May 2013 10:03<o:p></o:p></p><p class=MsoPlainText>To: For Xerte technical developers<o:p></o:p></p><p class=MsoPlainText>Subject: [Xerte-dev] Re: JS libraries<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>> have noticed on localhost maths Ajax can take ages (over 20 seconds)<o:p></o:p></p><p class=MsoPlainText>Have not seen that.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>This is perhaps related to the other discussion on scripts, in that whilst you can load them directly from within the LO, it would be neater to configure the scripts loaded in the <head> either automatically for the ones we include and user defined, for others. Then all scripts are ready once the document loads.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>-----Original Message-----<o:p></o:p></p><p class=MsoPlainText>From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"><span style='color:windowtext;text-decoration:none'>xerte-dev-bounces@lists.nottingham.ac.uk</span></a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"><span style='color:windowtext;text-decoration:none'>mailto:xerte-dev-bounces@lists.nottingham.ac.uk</span></a>] On Behalf Of Pat @ Pgogy <o:p></o:p></p><p class=MsoPlainText>Sent: 16 May 2013 09:59<o:p></o:p></p><p class=MsoPlainText>To: For Xerte technical developers<o:p></o:p></p><p class=MsoPlainText>Subject: [Xerte-dev] JS libraries<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Hello,<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Would it be possible to add to page models a parameter which could tell the preview and play script which js to load?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>1) noticed I get a few by default I don't need - media et al<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>2) have noticed on localhost maths Ajax can take ages (over 20 seconds)<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Thoughts?<o:p></o:p></p><p class=MsoPlainText>_______________________________________________<o:p></o:p></p><p class=MsoPlainText>Xerte-dev mailing list<o:p></o:p></p><p class=MsoPlainText><a href="mailto:Xerte-dev@lists.nottingham.ac.uk"><span style='color:windowtext;text-decoration:none'>Xerte-dev@lists.nottingham.ac.uk</span></a><o:p></o:p></p><p class=MsoPlainText><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev"><span style='color:windowtext;text-decoration:none'>http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</span></a><o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>_______________________________________________<o:p></o:p></p><p class=MsoPlainText>Xerte-dev mailing list<o:p></o:p></p><p class=MsoPlainText><a href="mailto:Xerte-dev@lists.nottingham.ac.uk"><span style='color:windowtext;text-decoration:none'>Xerte-dev@lists.nottingham.ac.uk</span></a><o:p></o:p></p><p class=MsoPlainText><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev"><span style='color:windowtext;text-decoration:none'>http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</span></a><o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>_______________________________________________<o:p></o:p></p><p class=MsoPlainText>Xerte-dev mailing list<o:p></o:p></p><p class=MsoPlainText><a href="mailto:Xerte-dev@lists.nottingham.ac.uk"><span style='color:windowtext;text-decoration:none'>Xerte-dev@lists.nottingham.ac.uk</span></a><o:p></o:p></p><p class=MsoPlainText><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev"><span style='color:windowtext;text-decoration:none'>http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</span></a><o:p></o:p></p></div></body></html>