i thought i said this :)<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 8, 2012 at 3:58 PM, Smith, John <span dir="ltr"><<a href="mailto:J.J.Smith@gcu.ac.uk" target="_blank">J.J.Smith@gcu.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">And this one says you should use window.location.search and not document.location.search as it has the broadest browser support.<br>
<br>
<a href="http://stackoverflow.com/questions/763044/removing-from-document-location-search" target="_blank">http://stackoverflow.com/questions/763044/removing-from-document-location-search</a><br>
<br>
Regards,<br>
<br>
John Smith<br>
Learning Technologist<br>
School of Health & Life Sciences<br>
Glasgow Caledonian University<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Smith, John<br>
Sent: Thursday, November 08, 2012 3:48 PM<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Proof of concept test - Revisited<br>
<br>
Hi,<br>
<br>
Sorry, just reading these emails... could it be this:<br>
<br>
<a href="http://www.winvistatips.com/null-document-location-search-ie7-launching-local-file-t300545.html" target="_blank">http://www.winvistatips.com/null-document-location-search-ie7-launching-local-file-t300545.html</a><br>
<br>
W3Schools website states that it is location.search that is supported in all browsers?<br>
<br>
<a href="http://www.w3schools.com/jsref/prop_loc_search.asp" target="_blank">http://www.w3schools.com/jsref/prop_loc_search.asp</a><br>
<br>
Regards,<br>
<br>
John Smith<br>
Learning Technologist<br>
School of Health & Life Sciences<br>
Glasgow Caledonian University<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Julian Tenney<br>
Sent: Thursday, November 08, 2012 1:52 PM<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Proof of concept test - Revisited<br>
<br>
What happens if you put button on the interaction, and then click that, when you're damn sure the page has loaded up to execute the function call? Does it just not work, or is it timing?<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Ron Mitchell<br>
Sent: 08 November 2012 13:09<br>
To: 'For Xerte technical developers'<br>
Subject: [Xerte-dev] Re: Proof of concept test - Revisited<br>
<br>
in oninitComplete with the script below attached.<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
[mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Julian Tenney<br>
Sent: 08 November 2012 11:31<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Proof of concept test - Revisited<br>
<br>
OK, then possibly the other way around:<br>
<a href="http://stackoverflow.com/questions/11846560/as-2-0-externalinterface-call-no
t-calling-javascript-functions" target="_blank">http://stackoverflow.com/questions/11846560/as-2-0-externalinterface-call-no<br>
t-calling-javascript-functions</a><br>
<br>
suggest the DOM may not be filly loaded when you call the function: where is the callJS call being made from in the xerte file? In onInit, or something that happens 'later'?<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
[mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Ron Mitchell<br>
Sent: 08 November 2012 11:27<br>
To: 'For Xerte technical developers'<br>
Subject: [Xerte-dev] Re: Proof of concept test - Revisited<br>
<br>
callJS e.g.<br>
<br>
/code for page=x<br>
// only want to redirect once so check if redirect already done if (rootIcon.urlRedirectDone == undefined){<br>
// only check if not in preview mode<br>
if (_level0jumpData.fileType == undefined){<br>
// is there a pageID or page value in the url?<br>
destinationPage = callJS("getUrlParam","page");<br>
//check for a page number first<br>
//debug('destinationPage= '+destinationPage);<br>
if (destinationPage != "null" && destinationPage !=undefined){<br>
//debug('we are here 1');<br>
// we have a page number<br>
if (rootIcon.pages.length > 1){<br>
// we have a fully populated page list<br>
//reduce number found in url by 1 to match array<br>
destinationPage = destinationPage-1;<br>
// flag redirect as done then go to destination page<br>
rootIcon.urlRedirectDone = 1;<br>
rootIcon.gotoPage(destinationPage);<br>
break;<br>
}<br>
}<br>
}<br>
}<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
[mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Julian Tenney<br>
Sent: 08 November 2012 11:17<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Proof of concept test - Revisited<br>
<br>
Forgive my ignorance, is this being called from Flash?<br>
<br>
Is it being called via ExternalInterface, or the xerte function callJS() that wraps it?<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
[mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Ron Mitchell<br>
Sent: 08 November 2012 11:18<br>
To: 'For Xerte technical developers'<br>
Subject: [Xerte-dev] Re: Proof of concept test - Revisited<br>
<br>
Yeah I think we've established that a link like<br>
<a href="http://vle.jisctechdis.ac.uk/xot/play.php?template_id=22&page=12" target="_blank">http://vle.jisctechdis.ac.uk/xot/play.php?template_id=22&page=12</a> works in all browsers apart from IE - the question is why!? ;-)<br>
<br>
Seems it must be the JS that IE treats differently - anyone got any ideas or an alternative?<br>
<br>
function getUrlParam(pairName){<br>
var searchString = document.location.search; var pairVal = "";<br>
<br>
searchString = searchString.substring(1);<br>
<br>
var nvPairs = searchString.split("&");<br>
<br>
for (i = 0; i < nvPairs.length; i++)<br>
{<br>
var nvPair = nvPairs[i].split("=");<br>
if (nvPair[0] == pairName){<br>
pairVal = nvPair[1];<br>
}<br>
}<br>
return pairVal;<br>
}<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
[mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Julian Tenney<br>
Sent: 08 November 2012 11:07<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Proof of concept test - Revisited<br>
<br>
I did, no dice.<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
[mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Ron Mitchell<br>
Sent: 08 November 2012 11:10<br>
To: 'For Xerte technical developers'<br>
Subject: [Xerte-dev] Re: Proof of concept test - Revisited<br>
<br>
Looks like the 2nd and 3rd links below have wrapped and therefore broken so to test please re-add the e or 557 when testing.<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
[mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Ron Mitchell<br>
Sent: 08 November 2012 11:03<br>
To: 'For Xerte technical developers'<br>
Subject: [Xerte-dev] Re: Proof of concept test - Revisited<br>
<br>
Hi Jonathan/all<br>
prompted by a couple of recent discussions I've been revisiting this desire to enable 'deep linking' to pages within LO's especially online XOT LO's....<br>
<br>
Firstly before anyone chips in with a whole load of why's and wherefore's again read the previous thread - not all of which is included below. In short there is agreed value in enabling this so it would be good to focus any new discussion here on getting it to work as well as possible.<br>
<br>
I've been updating the previous test file and we have a new oninnitComplete function to remove the need for an additional delay. I should add that my focus for this is primarily XOT so that's what I've been testing with.<br>
There's also a separate discussion about possibly changing the use of pageID used by the connectors to use linkID instead but in a way that's a separate issue and in any case I've updated the code to work with page=x, pageID=x and linkID=x<br>
<br>
The code inside Nottingham.rlt can no doubt be simplified because at the moment there is some duplication for each parameter but this bit of the solution works what I've not been able to identify is why the additional Javascript Jonathan was using isn't working in IE via a toolkits URL even though it's working in FF, Safari, Chrome & Opera and also working in IE via /index.htm?page=x just not in IE via /play.php?template_id=22&page=12<br>
<br>
So for me at least all of these work in FF, Safari, Chrome & Opera but not IE<br>
<a href="http://vle.jisctechdis.ac.uk/xot/play.php?template_id=22&page=12" target="_blank">http://vle.jisctechdis.ac.uk/xot/play.php?template_id=22&page=12</a><br>
<a href="http://vle.jisctechdis.ac.uk/xot/play.php?template_id=22&pageID=cHotspotImag" target="_blank">http://vle.jisctechdis.ac.uk/xot/play.php?template_id=22&pageID=cHotspotImag</a><br>
e<br>
<a href="http://vle.jisctechdis.ac.uk/xot/play.php?template_id=22&linkID=PG1334782342" target="_blank">http://vle.jisctechdis.ac.uk/xot/play.php?template_id=22&linkID=PG1334782342</a><br>
557<br>
<br>
Do any of these work for you in IE?<br>
<br>
The function in rloObject.js is as follows:<br>
<br>
function getUrlParam(pairName){<br>
var searchString = document.location.search; var pairVal = "";<br>
<br>
searchString = searchString.substring(1);<br>
<br>
var nvPairs = searchString.split("&");<br>
<br>
for (i = 0; i < nvPairs.length; i++)<br>
{<br>
var nvPair = nvPairs[i].split("=");<br>
if (nvPair[0] == pairName){<br>
pairVal = nvPair[1];<br>
}<br>
}<br>
return pairVal;<br>
}<br>
<br>
clearly the XOT code works else it wouldn't work in the other browsers and the JS works for all browsers apart from IE except that it work in IE via index.htm<br>
<br>
Anyone go any ideas why a link like /play.php?template_id=22&page=12 isn't working in IE?<br>
Or perhaps an alternative JS function that would work?<br>
<br>
Cheers<br>
Ron<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
[mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Julian Tenney<br>
Sent: 10 May 2012 09:16<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Proof of concept test<br>
<br>
Let's leave it for now. Priority now is getting the release done, and there's still a bit to do, ________________________________________<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
[<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Pat Lockley [<a href="mailto:patrick.lockley@googlemail.com">patrick.lockley@googlemail.com</a>]<br>
Sent: 09 May 2012 20:53<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Proof of concept test<br>
<br>
Well you could do it on page title?<br>
<br>
if(startpage){<br>
<br>
Cover LO while LO loads<br>
move to startpage<br>
uncover LO<br>
<br>
}<br>
<br>
<br>
On Wed, May 9, 2012 at 8:24 PM, Ron Mitchell <<a href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.uk</a>><br>
wrote:<br>
> firstly yes I always encourage people to think granular and not build<br>
> one big LO but sometimes original plans change and even with a<br>
> relatively small LO linking to a specific page can be very useful.<br>
><br>
> It obviously hasn't ever been available in XOT but for me the simplest<br>
> would be if authors could simply append something like &page=5 or<br>
> just #page=5 to link to page 5. e.g. similar to what you can do with<br>
> pdf's<br>
> <a href="http://www.example.com/myfile.pdf#page=5" target="_blank">http://www.example.com/myfile.pdf#page=5</a><br>
><br>
> Before anyone says "that's not reliable what happens when pages are<br>
> moved around" it's no different to other self-authored resources - the<br>
> author would know the implications of that and re-send or update the<br>
> deep link if pages are re-ordered and in most cases would only be<br>
> sending deep links to established resources unlikely to change or when<br>
> the deep link is an individualised point inWel time reference rather<br>
> than needing to be a permalink etc.<br>
><br>
> -----Original Message-----<br>
> From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Pat<br>
> Lockley<br>
> Sent: 09 May 2012 20:05<br>
> To: For Xerte technical developers<br>
> Subject: [Xerte-dev] Re: Proof of concept test<br>
><br>
> i can't recall where the deep link is shown? how does a teacher find it?<br>
><br>
> On Wed, May 9, 2012 at 8:01 PM, Dave Burnett <<a href="mailto:d_b_burnett@hotmail.com">d_b_burnett@hotmail.com</a>><br>
> wrote:<br>
>><br>
>> One objection:<br>
>> Your deep linking examples "moodle resources, pages with websites,<br>
>> specific blog posts etc" are support materials correct?<br>
>><br>
>> So in the flow of a coherent LO, you can pop up some backup or<br>
>> exploratory material.<br>
>> They generally aren't "Abandon the current learning object, jump to<br>
>> this blog post and continue the lesson from there".<br>
>><br>
>> I see the use of being able to send a link via email.<br>
>> As you say, it's all in context. The needs hierarchy. :-)<br>
>><br>
>> Dave<br>
>><br>
>><br>
>><br>
>> ________________________________<br>
>> From: <a href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.uk</a><br>
>> To: <a href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a><br>
>> Date: Wed, 9 May 2012 19:47:38 +0100<br>
>><br>
>> Subject: [Xerte-dev] Re: Proof of concept test<br>
>><br>
>> I demonstrated the online copy of the test file today as an example<br>
>> of possible features of the upcoming 1.8 release and as expected<br>
>> delegates thought it very useful. In my experience it's something<br>
>> people have wanted for a long time e.g. they often use deep linking<br>
>> to moodle resources, pages with websites, specific blog posts etc and<br>
>> particularly in an FE and ACL context and have often voiced<br>
>> frustration at not being able to do so with Xerte LO's. There are<br>
>> limitations in having to say "follow this link to the first page of<br>
>> this LO and then navigate to page x" especially in areas such a SFL<br>
>> etc. The ability to send a direct link via email or to add a link in<br>
>> another resource to a page within an LO would be very useful in many<br>
>> cases - if it's possible and reliable. It's not a game changer but<br>
>> useful<br>
> on the occasions where it might be used for a particular reason e.g.<br>
>> differentiation and for instance if you take the 560 example<br>
>> <a href="http://www.nottingham.ac.uk/toolkits/play_560" target="_blank">http://www.nottingham.ac.uk/toolkits/play_560</a> there are many<br>
>> occasions where it would be useful to link to a specific page when<br>
>> providing CPD support etc.<br>
>><br>
>><br>
>><br>
>> So if it's unreliable or likely to delay the release then in that<br>
>> context it's not so important but if it can be made to work in a<br>
>> satisfactory way then I can see it being a very useful including the<br>
>> ability to link to new page types within an updated 560 example when<br>
>> highlighting what's new in 1.8.<br>
>><br>
>><br>
>><br>
>> From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Dave<br>
>> Burnett<br>
>> Sent: 09 May 2012 13:08<br>
>> To: <a href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a><br>
>> Subject: [Xerte-dev] Re: Proof of concept test<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> Always value in pure research, but just to be a negative Nellie, I've<br>
>> real doubts about a feature like this actually being used, even if<br>
>> the technical issues are addressed.<br>
>><br>
>><br>
>><br>
>> Authorware had "jumpfile", which seamlessly segued between files.<br>
>><br>
>> It was used if you had a router style architecture.<br>
>><br>
>><br>
>><br>
>> Don't remember anyone asking for the ability to jump to a specific page.<br>
>><br>
>> That sounds like a glossary or definition type structure requirement<br>
>> and there's easier ways to accomplish those.<br>
>><br>
>> And without the ability to return to the same place in the calling<br>
>> module (Call and Return), I don't see huge numbers of folks using it.<br>
>><br>
>><br>
>><br>
>> But like I said, futzing around is a great way to stumble across<br>
>> other nuggets.<br>
>><br>
>> :-)<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> ________________________________<br>
>><br>
>> Date: Wed, 9 May 2012 12:23:32 +0100<br>
>> From: <a href="mailto:johnathan.kemp@ntlworld.com">johnathan.kemp@ntlworld.com</a><br>
>> To: <a href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a><br>
>> Subject: [Xerte-dev] Re: Proof of concept test<br>
>><br>
>> According to my Xerte desktop installation it generates a linkID and<br>
>> not a pageID<br>
>><br>
>><br>
>><br>
>> phew you had me worried there for a minute :-)<br>
>><br>
>><br>
>><br>
>> I know you have referred to "deep linking" before but I was never<br>
>> sure what you meant.<br>
>><br>
>><br>
>><br>
>> The idea here was to create a link using a value known to the<br>
>> learning object author.<br>
>><br>
>><br>
>><br>
>> It was just an experiment. Maybe if it works without the delay in XOT<br>
>> then it would be more acceptable.<br>
>><br>
>><br>
>><br>
>> I can shorten the delay in Xerte but in the absence of a means of<br>
>> knowing when the page array has been fully populated it will always<br>
>> be guess work as to how short the delay can be.<br>
>><br>
>><br>
>><br>
>> Kind regards<br>
>><br>
>><br>
>><br>
>> Johnathan<br>
>><br>
>><br>
>><br>
>> On 9 May 2012 12:05, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>><br>
wrote:<br>
>><br>
>> No, the wizard automatically produces a pageID in the xml - you'll<br>
>> have seen it I'm sure. The intention for this was to facilitate deep<br>
> linking, i.e.<br>
>> ?pageID=321234524<br>
>><br>
>><br>
>><br>
>> But when Pat and I tried to get it to work nicely we couldn't and<br>
>> parked<br>
> it.<br>
>> It may well be we hit the same issue you have hit: the need for the<br>
>> delay, which I don't think is acceptable to the end user.<br>
>><br>
>><br>
>><br>
>> From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Kemp<br>
>> Johnathan<br>
>> Sent: 09 May 2012 11:54<br>
>><br>
>><br>
>> To: For Xerte technical developers<br>
>> Subject: [Xerte-dev] Re: Proof of concept test<br>
>><br>
>><br>
>><br>
>> The javascript routine used matches a name to data, so you could just<br>
>> as easily use ?name=titlePage as you could ?pageID=titlePage<br>
>><br>
>><br>
>><br>
>> The problem with using name is that the page name is more likely to<br>
>> be "Title Page" and the use of spaces might cause a problem.<br>
>><br>
>><br>
>><br>
>> It was never intended that this should be an alternative routing<br>
>> internally within a learning object to another page in that learning<br>
>> object. It was only intended to be a means of opening a different<br>
>> learning object, which you can do already using a URL. The only<br>
>> difference here was that someone on one of the postings was lamenting<br>
>> the inability to open a new learning object at a specific page.<br>
>><br>
>><br>
>><br>
>> The version for XOT would have to use the extXML which, from memory,<br>
>> did not suffer the need for a delay before it could be used. But I am<br>
>> quite happy to leave it out of this release as once people were happy<br>
>> it would work OK then it could be added later.<br>
>><br>
>><br>
>><br>
>> I need a little time to finish the XOT demo version anyway and right<br>
>> now I am focusing on an update to the scenario page to make it easier<br>
>> to implement scenarios like the Farmer, the Goose, the Fox and the<br>
>> Bag of Grain on one side of the river.<br>
>><br>
>><br>
>><br>
>> Kind regards<br>
>><br>
>><br>
>><br>
>> Johnathan<br>
>><br>
>><br>
>><br>
>> On 9 May 2012 10:31, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>><br>
wrote:<br>
>><br>
>> The need for that delay may well be why we decided to leave it last time.<br>
>> It's disorienting to see the page for that long and then suddenly be<br>
>> moved on. Let's leave this for another time.<br>
>><br>
>><br>
>><br>
>> From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Kemp<br>
>> Johnathan<br>
>> Sent: 05 May 2012 10:17<br>
>><br>
>><br>
>> To: For Xerte technical developers<br>
>> Subject: [Xerte-dev] Re: Proof of concept test<br>
>><br>
>><br>
>><br>
>> The delay is because I have had to put a timer in to give Xerte the<br>
>> time to build the rootIcon.pages array - it's a bit of guess work as<br>
>> to how long I need to give it. It would be nice if the onInit event<br>
>> didn't fire until the array had completed being built, then I could<br>
>> remove the timer and the delay would be reduced to the minimum required.<br>
>><br>
>><br>
>><br>
>> In XOT you use a different array so I think the time delay will be<br>
>> insignificant as if I recall correctly the array was already fully<br>
>> available.<br>
>><br>
>><br>
>><br>
>> I'll run some further tests in XOT now that I have the javascript<br>
>> sorted out and then post something for you to try out.<br>
>><br>
>><br>
>><br>
>> Kind regards<br>
>><br>
>><br>
>><br>
>> Johnathan<br>
>><br>
>><br>
>><br>
>> On 5 May 2012 09:44, Ron Mitchell <<a href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.uk</a>> wrote:<br>
>><br>
>> Working fine here too<br>
>> <a href="http://vle.jisctechdis.ac.uk/xot/urlTest/index.htm?pageID=menu" target="_blank">http://vle.jisctechdis.ac.uk/xot/urlTest/index.htm?pageID=menu</a><br>
>><br>
>> Win 7 64bit<br>
>><br>
>> IE 8.0<br>
>><br>
>> Chrome 18.0<br>
>><br>
>> Safari 5.1.5<br>
>><br>
>> Opera 10.60<br>
>><br>
>> Firefox 12.0<br>
>><br>
>><br>
>><br>
>> Great job Jonathan this will be a very popular feature.<br>
>><br>
>><br>
>><br>
>> From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Tom<br>
>> Reijnders<br>
>> Sent: 05 May 2012 08:23<br>
>> To: For Xerte technical developers<br>
>> Subject: [Xerte-dev] Re: Proof of concept test<br>
>><br>
>><br>
>><br>
>> Working fine here (although with a noticeable lag, first page is<br>
>> shown and after 1 second the menu page is opened)<br>
>><br>
>> Windows 7, 64 bit IE9, FF12, Chrome 18<br>
>><br>
>> Op 4-5-2012 23:36, Kemp Johnathan schreef:<br>
>><br>
>> Hello Everyone,<br>
>><br>
>><br>
>><br>
>> I have been working (between beta version stuff) on a means of making<br>
>> it possible to open a Xerte project at a specific page, rather than<br>
>> always have them open at the title page.<br>
>><br>
>><br>
>><br>
>> Attached is a simple 3 page desktop Xerte project as a proof of concept.<br>
>><br>
>><br>
>><br>
>> Do not open it in Xerte (at least until you have finished testing<br>
>> it!) If you publish the project, in Xerte, your local copy of<br>
>> rloObject.js will overwrite the one in the project and the code that<br>
>> supports the redirection will be lost.<br>
>><br>
>><br>
>><br>
>> Would you mind unzipping it and then opening index.htm in a web<br>
>> browser - not Xerte.<br>
>><br>
>><br>
>><br>
>> For it to work you will need to set up the folder in which you place<br>
>> it as a trusted location in the Flash player settings (otherwise<br>
>> javascript calls will not work).<br>
>><br>
>><br>
>><br>
>> It should open at a title page.<br>
>><br>
>><br>
>><br>
>> Then add to the url in your browser<br>
>><br>
>><br>
>><br>
>> ?pageID=menu<br>
>><br>
>><br>
>><br>
>> and press enter to reload the page.<br>
>><br>
>><br>
>><br>
>> After a short delay the project should redirect from the title page<br>
>> to the menu page.<br>
>><br>
>><br>
>><br>
>> I have tested this in Firefox, IE8, and Opera.<br>
>><br>
>><br>
>><br>
>> If anyone has other browsers at their disposal I would be keen to<br>
>> know if the redirection works. e.g. Chrome, Safari,<br>
>><br>
>><br>
>><br>
>> Should you examine the project the key stuff that makes it work is a<br>
>> function at the end of rlsObject.js and some code running off the<br>
>> onInitHandler interaction in the entry frame. Because<br>
>> rootIcon.pages.length has not finished being built when the onInit<br>
>> event fires I have added a timer to create a delay to allow time for<br>
>> the array to be built - hence the delay before redirection takes place.<br>
>><br>
>><br>
>><br>
>> Should this prove reliable in your testing I believe the same<br>
>> approach should be applicable to XOT (albeit using a different array<br>
>> to source the page information)<br>
>><br>
>><br>
>><br>
>> Kind regards<br>
>><br>
>><br>
>><br>
>> Johnathan<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> This message and any attachment are intended solely for the addressee<br>
>> and may contain confidential information. If you have received this<br>
>> message in error, please send it back to me, and immediately delete<br>
>> it. Please do not use, copy or disclose the information contained in<br>
>> this message or in any attachment. Any views or opinions expressed by<br>
>> the author of this email do not necessarily reflect the views of the<br>
> University of Nottingham.<br>
>><br>
>> This message has been checked for viruses but the contents of an<br>
>> attachment may still contain software viruses which could damage your<br>
> computer system:<br>
>> you are advised to perform your own checks. Email communications with<br>
>> the University of Nottingham may be monitored as permitted by UK<br>
> legislation.<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>><br>
>> Xerte-dev mailing list<br>
>><br>
>> <a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
>><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>
>><br>
>><br>
>> This message and any attachment are intended solely for the addressee<br>
>> and may contain confidential information. If you have received this<br>
>> message in error, please send it back to me, and immediately delete<br>
>> it. Please do not use, copy or disclose the information contained in<br>
>> this message or in any attachment. Any views or opinions expressed<br>
>> by the author of this email do not necessarily reflect the views of<br>
>> the<br>
> University of Nottingham.<br>
>><br>
>><br>
>><br>
>> This message has been checked for viruses but the contents of an<br>
>> attachment<br>
>><br>
>> may still contain software viruses which could damage your computer<br>
> system:<br>
>><br>
>> you are advised to perform your own checks. Email communications with<br>
>> the<br>
>><br>
>> University of Nottingham may be monitored as permitted by UK legislation.<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>><br>
>> --<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> Tom Reijnders<br>
>><br>
>> TOR Informatica<br>
>><br>
>><br>
>><br>
>> Chopinlaan 27<br>
>><br>
>><br>
>><br>
>> 5242HM Rosmalen<br>
>><br>
>> Tel: 073 5226191<br>
>><br>
>> Fax: 073 5226196<br>
>><br>
>><br>
>><br>
>><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<br>
>> and may contain confidential information. If you have received this<br>
>> message in error, please send it back to me, and immediately delete<br>
>> it. Please do not use, copy or disclose the information contained in<br>
>> this message or in any attachment. Any views or opinions expressed<br>
>> by the author of this email do not necessarily reflect the views of<br>
>> the<br>
> University of Nottingham.<br>
>><br>
>> This message has been checked for viruses but the contents of an<br>
>> attachment may still contain software viruses which could damage your<br>
> computer system:<br>
>> you are advised to perform your own checks. Email communications with<br>
>> the University of Nottingham may be monitored as permitted by UK<br>
> legislation.<br>
>><br>
>><br>
>><br>
>><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<br>
>> and may contain confidential information. If you have received this<br>
>> message in error, please send it back to me, and immediately delete<br>
>> it. Please do not use, copy or disclose the information contained in<br>
>> this message or in any attachment. Any views or opinions expressed<br>
>> by the author of this email do not necessarily reflect the views of<br>
>> the<br>
> University of Nottingham.<br>
>><br>
>> This message has been checked for viruses but the contents of an<br>
>> attachment may still contain software viruses which could damage your<br>
> computer system:<br>
>> you are advised to perform your own checks. Email communications with<br>
>> the University of Nottingham may be monitored as permitted by UK<br>
> legislation.<br>
>><br>
>><br>
>><br>
>><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<br>
>> and may contain confidential information. If you have received this<br>
>> message in error, please send it back to me, and immediately delete<br>
>> it. Please do not use, copy or disclose the information contained in<br>
>> this message or in any attachment. Any views or opinions expressed<br>
>> by the author of this email do not necessarily reflect the views of<br>
>> the<br>
> University of Nottingham.<br>
>><br>
>> This message has been checked for viruses but the contents of an<br>
>> attachment may still contain software viruses which could damage your<br>
> computer system:<br>
>> you are advised to perform your own checks. Email communications with<br>
>> the University of Nottingham may be monitored as permitted by UK<br>
> legislation.<br>
>><br>
>><br>
>><br>
>> _______________________________________________ Xerte-dev mailing<br>
>> list <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> This message<br>
>> and any attachment are intended solely for the addressee and may<br>
>> contain confidential information. If you have received this message<br>
>> in error, please send it back to me, and immediately delete it.<br>
>> Please do not use, copy or disclose the information contained in this<br>
>> message or in any attachment. Any views or opinions expressed by the<br>
>> author of this email do not necessarily reflect the views of the<br>
>> University of Nottingham. This message has been checked for viruses<br>
>> but the contents of an attachment may still contain software viruses<br>
>> which could damage your computer system: you are advised to perform<br>
>> your<br>
own checks.<br>
>> Email communications with the University of Nottingham may be<br>
>> monitored as<br>
> permitted by UK legislation.<br>
>><br>
>><br>
>> _______________________________________________ Xerte-dev mailing<br>
>> list <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> This message<br>
>> and any attachment are intended solely for the addressee and may<br>
>> contain confidential information. If you have received this message<br>
>> in error, please send it back to me, and immediately delete it.<br>
>> Please do not use, copy or disclose the information contained in this<br>
>> message or in any attachment. Any views or opinions expressed by the<br>
>> author of this email do not necessarily reflect the views of the<br>
>> University of Nottingham. This message has been checked for viruses<br>
>> but the contents of an attachment may still contain software viruses<br>
>> which could damage your computer system: you are advised to perform<br>
>> your<br>
own checks.<br>
>> Email communications with the University of Nottingham may be<br>
>> monitored as<br>
> permitted by UK legislation.<br>
>><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<br>
>> and may contain confidential information. If you have received this<br>
>> message in error, please send it back to me, and immediately delete<br>
>> it. Please do not use, copy or disclose the information contained in<br>
>> this message or in any attachment. Any views or opinions expressed<br>
>> by the author of this email do not necessarily reflect the views of<br>
>> the<br>
> University of Nottingham.<br>
>><br>
>> This message has been checked for viruses but the contents of an<br>
>> attachment may still contain software viruses which could damage your<br>
> computer system:<br>
>> you are advised to perform your own checks. Email communications with<br>
>> the University of Nottingham may be monitored as permitted by UK<br>
> legislation.<br>
>><br>
>><br>
><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>
><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>
_______________________________________________<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>
_______________________________________________<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>
<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>
<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>
_______________________________________________<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>
<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>
_______________________________________________<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>
<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>
_______________________________________________<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>
<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>
_______________________________________________<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>
Glasgow Caledonian University is a registered Scottish charity, number SC021474<br>
<br>
Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.<br>
<a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html" target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html</a><br>
<br>
Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.<br>
<a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html" target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html</a><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>
Glasgow Caledonian University is a registered Scottish charity, number SC021474<br>
<br>
Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.<br>
<a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html" target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html</a><br>
<br>
Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.<br>
<a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html" target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html</a><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>
</blockquote></div><br></div>