[Xerte] Re: Glossar

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Feb 3 10:10:42 GMT 2012


Add you print code to a button on an interaction and have the suer hit the utton to print the page.

Dave Burnett has some knowledge / code to share for getting the printing to work nicely: I seem to remember it being a bit tricky.

>Screen Size: The player offers several screen size options; however, they do not work with my module
What's not working / what happens?


From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Panke, Stefanie
Sent: 02 February 2012 22:02
To: Xerte discussion list
Subject: [Xerte] Re: Glossar

Julian,
Thank you very much! The example was very helpful and I was able to create the standard glossary AND include the University logo following the same logic. I just did not pay enough attention on how to do the scripting in the help file.
I have two more critical issues I hope this list can help me to resolve, before I can hopefully start a XERTE project for UNC School of Government. Both have impacts on accessibility / user friendliness:

1.       Printing: How can I use rootIcon.printScreen(); to offer users the option to print individual pages? When I add it as a script to a single page, it automatically launches the default printer while, or rather before, loading the page. I am apparently doing something wrong there... Any hints?

2.       Screen Size: The player offers several screen size options; however, they do not work with my module. I also tried other Xerte modules like the "Sherwood Forest" and it's the same problem. What am I doing wrong so that this very useful feature gets disabled?
Thanks,
Stefanie
P.S. I will work on the interview guide and get it to you sometime next week!


From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Thursday, February 02, 2012 3:24 AM
To: Xerte discussion list
Subject: [Xerte] Re: Glossar

Hi,

There is a built in Glossary. It needs to be enabled before you can use it, and then you can add words to it, with definitions:

Glossry.enabled = true;
Glossary.addTerm('word', 'definition');

Then, whenever those words are displayed, they are clickable and the definition is shown. See attached example.

If that's not quite the way you want it you could build a custom glossary: I might need to add some events for you to listen to, then you could handle those events and show the terms using your own code.

I'd be very happy to help with your email interview!

Julian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120203/a2217de6/attachment.html>


More information about the Xerte mailing list