[Xerte] Template Wizard - MCQ Sound on Options
Paul Beckwith
paul.beckwith at acns-group.com
Wed Oct 7 16:16:44 BST 2009
Nah, isn't working. but if it did, wouldn't this add a new option? I don't
want to do that, I want to have the ability to add a sound actually within
each option.
Here's what I've got at the mo anyway.
<!--MCQ
PAGE------------------------------------------------------------------------
-->
<mcq menu="Interactivity" menuItem="Multiple Choice Question"
icon="icComments" remove="true" thumb="thumbs/mcq.jpg" hint="Poses an
multiple answer question with multiple options. Create simple true - false
questions, or more complex questions with multiple correct answers.">
<name type="TextInput" label="Page Title"/>
<align type="ComboBox" label="Align Text" options="Left,Right"
width="100"/>
<instruction type="TextArea" label="Instruction" height="100"/>
<prompt type="TextArea" label="Prompt" height="100"/>
<type type="ComboBox" options="Single Answer,Multiple Answer"
width="120" label="Question Type"/>
<panelWidth type="ComboBox" label="Panel Width"
options="Small,Medium,Large,Full" width="100"/>
<narration type="media" label="Narration" optional="true"/>
<newNodes>
<option>
<sound type="media" label="Sound" optional="true"/>
<![CDATA[<option sound="Select a Sound" text="here is an
option" feedback="feedback for this option" correct="false"/>]]>
</option>
</newNodes>
</mcq>
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 October 2009 15:41
To: Xerte discussion list
Subject: RE: [Xerte] Template Wizard - MCQ Sound on Options
first on, 2 - thats the xml that is added
second, no, in the section for an option...
<option>
<sound type="media" label="Sound" (possibly)optional="true"/>
...
</option>
the optional = true bit means the user will have to add it from the optional
properties combo at the top,
HTH
J
_____
From: xerte-bounces at lists.nottingham.ac.uk on behalf of Paul Beckwith
Sent: Wed 07/10/2009 15:23
To: 'Xerte discussion list'
Subject: RE: [Xerte] Template Wizard - MCQ Sound on Options
Thanks Jules,
Just struggling a bit to see where you mean.. When you say add it to the
option tag, which tag do you mean?...
<option (1) here? > <![CDATA[<option or (2) here? text="here is an
option" feedback="feedback for this option" correct="false"/>]]></option>
And when you say add it to the part of the .xwd ... I've been adding it
inside <mcq. > here </mcq> is that right?
Cheers,
Paul
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 October 2009 14:21
To: Xerte discussion list
Subject: RE: [Xerte] Template Wizard - MCQ Sound on Options
you need to add it to the option tag:
<option sound="Select a Sound"...> - this is in the newNodes section for a
question - so the xml node for the option contains the sound="blah" bit as
well.
AND add it to the part of the .xwd so that the wizard can draw the control
for it
<sound type="media" label="Sound File"/>
_____
From: xerte-bounces at lists.nottingham.ac.uk on behalf of Paul Beckwith
Sent: Wed 07/10/2009 13:29
To: 'Xerte discussion list'
Subject: [Xerte] Template Wizard - MCQ Sound on Options
Hi everyone,
I'm trying to edit the multiple choice question model in the Xerte Template
Wizard so that depending on which option the user chooses, a different
audio file will be played. To do this I need to add the ability to add a
sound file link to each option. I think I need to add the <sound
type="Media" label="SoundFile"/> element somewhere in the XML but
everywhere I have tried hasn't given a result. I haven't even managed to
break it which is a first for me!
Any help would be great J
Cheers,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091007/4bb1dd85/attachment.html
More information about the Xerte
mailing list