[Xerte] Using hotspots in Xerte raw

Johnathan Kemp johnathan.kemp at cxstaffs.co.uk
Wed Jul 29 16:24:41 BST 2009


Hello Julian,
 
Thanks for the quick response.
 
_visible did the trick :-)
 
Still struggling with the event.
 
I have 
 
 
Interaction
    hotspot
        script (triggered by onRollOn event as hotspot click property is
set to 0)
    event
        script (I assume this will trigger when I have the event set up
properly)
 
 
 
the hotspot has an rs value : hs_01_PerfSupp
the event has values
    eventName : onRollOut
    icon : hs_01_PerfSupp
    erase : 1
    exit : 0
 
But the event script never gets run.
 
What have I missed?
 
Kind regards
 
Johnathan

Johnathan Kemp
ICT Development Coordinator
Connexions Staffordshire
www.cxstaffs.co.uk <http://www.cxstaffs.co.uk/> 
01785 355714


 

 

________________________________

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 29 July 2009 15:37
To: Xerte discussion list
Subject: RE: [Xerte] Using hotspots in Xerte raw



Use the onRollOut event of the hotspot. Give it an rs identifier. Then
add an event response:

 

Icon: yourRSFor YourHotspot

EventName:onRollOut

 

_visible is the property.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Johnathan
Kemp
Sent: Wednesday, July 29, 2009 3:18 PM
To: Xerte discussion list
Subject: [Xerte] Using hotspots in Xerte raw

 

On a page I have an interaction which contains a hotspot.

 

I want to display a text block when the hotspot is rolled over and hide
the text block when the mouse pointer is subsequently moved off the
hotspot.

 

I have hit two issues.

 

1. I can fire a script when the mouse moves over the hotspot, but I
can't find a way to detect when the mouse moves off the hotspot to
trigger some script.

2. I haven't found a way to hide a text icon - there does not appear to
be a visible property and I have not been able to set its alpha to 0

 

Can anyone point me in the right direction?

 

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

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/20090729/e13a8f7d/attachment.html


More information about the Xerte mailing list