[Xerte] Re: adding pop up action to a model

Kemp Johnathan johnathan.kemp at ntlworld.com
Tue Sep 11 16:51:22 BST 2012


The hotspot Connector and the Scenario Connector both display a text block
over the current page content with a button to close the text block. These
text blocks are normally hidden but display when something takes place. In
the case of the Hotspot connector the learner clicks on a hotspot, in the
case of the scenario an outcome takes place.

This was about as close as I could get to a "pop up" when I did these pages.

I don't know of a function or method in Xerte similar to a javascript
alert("Some important message") method you get in javascript.

So it may be you need to add a text block with maybe a panel to act as a
background and then set their visible properties to 0. When you need to
display them set the visible property to 1 (or it may need "true").

Hope that is some help.

Kind regards

Johnathan

On 11 September 2012 16:30, Laurent MATHIEU <laurent.mathieu at scassi.com>wrote:

>  Good afternoon,
>
>
>
> I am trying to make my first set of customised models and templates for
> XOT using the latest version of Xerte desktop. However I’m not sure about
> what is feasible and how.
>
>
>
> One of my expectation would be to get the narration transcript displayed
> on demand to the learner. That could be a cool feature for learners without
> appropriate audio device, in a public space or even suffering from hearing
> damage for instance.
>
>
>
> If possible, this development would take the form of a button invoking a
> pop up to be displayed - like the pop up we get from a term in the glossary
> or the pop up used for the table of content.
>
>
>
> I have not had a chance to find any occurrence of these pop up from the
> default template and models files. Just wondering if there is a function
> existing for invoking such pop up?
>
>
>
> Many thanks.
>
>
>
> Laurent
>
>
>
>  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.
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> 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/20120911/9b0b3bb1/attachment.html>


More information about the Xerte mailing list