Highlight Navigation Relative to Session Box

2.01K viewsCSS Questions
0

I think I can use Reactions to do this, but is there not a simpler (more elegant) way to highlight eg the first track of the session box?

Barring that, how would I do this using reaction?

Basically
‘Listen’ to the select-relative-to-session button1
Highlight Track x, where x is track one IN the session box.

admin Changed status to publish
Attached Files:
0

thank you Wim for these clear instructions

-make a ‘Reaction’ and call it for instance ‘SelectSessionTrack1’
– add a listener (button 1)
-add an action and now you have two options:
-click the ‘Switch to custom’ button
and enter ‘self.set_highlighted_track(self.get_sessbox_track_offset())’

or select ‘Script’ and then ‘set selected track’
then select under ‘Action Parameters’ select ‘Custom Code’ and paste ‘self.get_sessbox_track_offset()’

then for the other track / button add +1,+2,+3 after “offset()”

admin Changed status to publish
Attached Files:
You are viewing 1 out of 16 answers, click here to view all answers.