[Xerte] Use textIcon field of a text icon to display a graphic
tothe left of a text icon
Patrick Lockley
Patrick.Lockley at nottingham.ac.uk
Wed Aug 5 11:15:21 BST 2009
Hello,
So you want a tick image to appear depending on where an item is
dropped?
Set the graphic to be invisible till the result even, then set it
visible?
Pat
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Johnathan
Kemp
Sent: 05 August 2009 11:15
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Use textIcon field of a text icon to display a graphic
tothe left of a text icon
Hello wonderful Xerte people,
Sorry if this has been covered in the list, but if it has I can't find
it.
Searching on textIcon returns lots of hits for text icon :-( but nothing
for textIcon.
I have a page with a graphic and a text icon.
I have set the textIcon property to
FileLocation + 'media/Tick.png'
which is the same value as the url field of the graphic icon.
The graphic icon shows in the page but fails to show as an icon to the
left of the text icon.
I am eventually aiming to have the text icon appear as a result of
dragging and dropping the text icon.
If the text icon is dragged onto the correct target area I want to
display a tick and if it is dropped onto the wrong target area a cross,
to the left of the text.
First - how do I even get the textIcon to display?
Second - can I change it by a script by using
interactionId.objectDropped.XMLElement.attributes.textIcon =
"FileLocation + 'media/Tick.png'"
Kind regards
Johnathan
Johnathan Kemp
ICT Development Coordinator
Connexions Staffordshire
www.cxstaffs.co.uk <http://www.cxstaffs.co.uk/>
01785 355714
________________________________
This email and any files transmitted with it are confidential and are
intended solely for the use of the individual(s) or entity(s) to whom
they are addressed. All messages are monitored for virus, high risk
files and inappropriate content. As a result users should be aware that
this mail maybe accessed, read and the right is reserved to reject,
return, remove attachments or delete if considered to be inappropriate
or unsuitable. Liability cannot be accepted for any loss or damage
arising from this email (or any attachments) or from scripts or any
virus transmitted. This communication represents the originator's
personal views and opinions, which do not necessarily reflect those of
Connexions Staffordshire. If you are not the original recipient or the
person responsible for delivering the email to the intended recipient,
be advised that you have received this email in error, and that any use,
dissemination, forwarding, printing, or copying of this email is
strictly prohibited. If you received this email in error, please
immediately reply to the sender or notify postmaster at cxstaffs.co.uk
Connexions Staffordshire Limited is registered in England No.4355170
Registered office: Foregate House, 70 Foregate Street, Stafford,
Staffordshire, ST16 2PX
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090805/f3e323f9/attachment.html
More information about the Xerte
mailing list