Parameter syntax:
('id' | 'reference' | 'nextReference' |
'previousReference' | 'swapIdAndReference') S [ id
]?
An element with an IDREF or IDREFS attribute must be implicitly or explicitly selected. Scrolls to and selects the element having this ID (if found).
An element with an ID attribute must be implicitly or explicitly selected. Scrolls to and selects first element referencing this ID (if found).
An element with an IDREF or IDREFS attribute must be implicitly or explicitly selected. Scrolls to and selects following element referencing this ID (if found).
An element with an IDREF or IDREFS attribute must be implicitly or explicitly selected. Scrolls to and selects preceding element referencing this ID (if found).
An element with an ID, IDREF or IDREFS attribute must be implicitly or explicitly selected. Scrolls to and selects opposite link end (if found).
Notes:
An ID argument may be specified with options id
and reference
(but not with options nextReference
, previousReference
and swapIdAndReference
). When this ID argument is specified (non interactive command typically used in a macro), there is no need for an element with an ID, IDREF or IDREFS attribute to be implicitly or explicitly selected.
When implicitly or explicitly selected element has an IDREFS attribute containing several IDs, user is prompted to choose on of these IDs.
Examples:
selectById swapIdAndReference selectById id introduction