ID aliasing (1 Viewer)

blogo

Portal Member
July 6, 2006
14
0
Sandnes
Home Country
Norway Norway
Started on: 2007-03-04
last update: 2007-03-04

Summary:
Give a control an alternative ID for easier navigation, see example below.

Area:
Navigation, skin files.

Description:
Say you want to navigate from the video overlay to a specific button in one screen. The button has the id 1234, so you set the <onup> value for video overlay to 1234.
In another screen you want the same action to move to another button with ID 2345, this is not possible now since the <onup> value is reserved for button 1234.

With an alias you could specify in the xml header that button 1234 could also be reached with id 1111, and in the other screen button 2345 could have the same alias 1111, therefore when navigating you would reach the button the author intended.

It would also be nice if one could specify two or more id's in the <on*> values so if the first id isn't found it will try the next on the list.
 

Users who are viewing this thread

Top Bottom