[Xerte] Re: Glossar
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Mon Feb 6 09:58:59 GMT 2012
Add an entry frame to the interface icon, and build your print button in there. Any content in a framework's entry frame is visible on each page in the framework. Generally, if you find yourself repeating code, you're doing something wrong.
In terms of the actual print, are you looking to just print the screen, or something more complex? You can build a new PrintJob and then add items to it to create a completely custom printout, but it can get a bit tricky. If print screen works for you, that's much easier.
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Panke, Stefanie
Sent: 03 February 2012 18:12
To: Xerte discussion list
Subject: [Xerte] Re: Glossar
Hello Ya'll,
First of all: I am liking Xerte more and more every day - especially since this morning, finally, I discovered the "wizard page package" that allows me to combine template convenience with the editing functionality which the general Xerte provides. Pretty cool.
Anyone new to Xerte should definitely review the following two pages in the wiki:
http://wiki.xerte.net/index.php5?title=Image:Guide_to_installing_and_using_Page_Wizards.pdf (note that the current version is a dead link, any of the other files open fine).
http://wiki.xerte.net/index.php5?title=Image:JK_PageWizards.zip
I still have not figured out the printing yet, so any input on how to place a print button, ideally on each page, would be greatly appreciated. Can I include a button in the interface background image? Or should I add an image, position it and add the script to it on every page? Do I need to use an event handler for that?
As for the screen size, on the published Web site / Xerte player, I can change the screen size from default, to large, larger, full screen and fill window. When I export my learning object as a Web page, I get the following results:
Default: everything is fine.
Full screen: a grey bar appears below the module.
Fill window: no change, stays default size.
Large resp. larger: Resizes content area so that the controls and parts of the content disappear from view. User has to reload the page to return to the default view.
So my thought was that I have a faulty setting for the learning object or interface. All the other accessibility features (i.e., font and color changes) work fine. The Sherwood Forest Learning Object has the same issue:
http://equella.nottingham.ac.uk/uon/items/140dba30-9f66-0853-7252-f47bb62cbae6/1/ViewIMS.jsp (choose screen size large or larger).
Best,
Stefanie
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, February 03, 2012 5:11 AM
To: Xerte discussion list
Subject: [Xerte] Re: Glossar
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> [mailto:xerte-bounces at lists.nottingham.ac.uk]<mailto:[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> [mailto:xerte-bounces at lists.nottingham.ac.uk]<mailto:[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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120206/1d02cff8/attachment.html>
More information about the Xerte
mailing list