NAME
st — a position, carried in a data-s attribute
SYNOPSIS
st(s)
DESCRIPTION
The page's security policy refuses style attributes in the markup, so each position is written as data-s="…" and copied into the element's style by the script when the book opens. Quotation marks are escaped.
PARAMETERS
s: CSS declarations, such as "left:8px;top:10px"; empty for none.
RETURN VALUE
' data-s="…"', or "".
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
