[Xerte] Re: Hyperlinks in Xerte 1.17

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Apr 2 09:31:26 BST 2012


I probably wouldn't do that with jumpFile: I'd link to another web page and let everything re-initialise properly. jumpFile may or may not work: the intention was that it would work that way, but I'm not sure the engine gets properly cleared out and re-setup.

Also, with the recent talk of nested menus and so on: there's a need for it, but you can also build your router in a small piece and have it link off to the sections in separate files, which (in my opinion) keeps things a lot simpler than building more monolithic files that have to cope with the nested approach. Horses for courses.

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 31 March 2012 13:13
To: Xerte list
Subject: [Xerte] Re: Hyperlinks in Xerte 1.17


Look at jumpFile in the Xerte help:

_level0.jumpFile(url);

Jumps to another .rlo, so the engine stays instantiated and simply loads the new .rlo file.

As far as navigating to a specific page (and back I assume), maybe a Flash cookie or a file on the server?

<pseudo>
write file on server as to .rlo & page you are leaving from + page in target
jump
on quit, read file and jump back.
</pseudo>

You would have to have code at the top of every .rlo to check for server file.
It would not be very seamless.



- Hyperlinks between Xerte Modules: I cannot find a way to link from one
Xerte learning object to specific pages in another Xerte learning object.
Is this possible? This point critical for me. For my current project, I am
facing an impasse: The material comprises around 150 nodes that are
organized into 8 chapters. My approach was to split the material and
create one Xerte module for each chapter. However, there are
cross-references between the chapters. So for instance module 1 links to
module 3, page 5. This kind of cross-referencing seems like a very valid
thing to have between different learning objects, but I do not know if and
how Xerte can handle this.

I don't know a way of doing this. However it should be possible to include a pageID value in the url. Whether there is any way that Xerte can access this? Maybe javascript in the index.htm page that sets a variable in the embed code for the swf, that it obtains from the url if it has been specified? Perhaps then a script on the projects entry frame could use it to look up the page and redirect the learner to the page with that pageID. This is all theoretical and not something I have tried out. Perhaps others with more experience in these matters might be able to suggest a better approach.
 own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120402/af932b4c/attachment.html>


More information about the Xerte mailing list