Hello, Laszloers!
After poring through arcane tomes of knowledge and decrypting the hidden
writings from within the sacred Mozilla source code, I have quit the
quest to implement in XUL my long-standing dream of an automagic
marginalia editor. My hopes were dashed when I faced the utter lack of
ability to simply select a portion of text, from, say a description
element, and to embed within it arbitrarily nested text elements, whose
Y-coordinates I might thereafter glean at whim--specifically when
resizing a window.
Nay, the depths of XUL were barren to me. Its champions had fled, XBL
lie dying in the corner. Darkness ensued. Then came Laszlo.
I have, for the past several days, thrown myself at the Sisyphean task
of trying to build in Laszlo, what would be the equivalent in XHTML of
<span> elements, arbitrarily nested in a <div>, differing from said
XHTML elements in that the X and Y coordinates of the <span> nodes were
accessible through the DOM. I have concluded, based upon careful
searches of the archives of this list, of the web, and of
Macromediadobe's documentation as well as the writings of the Elder
Moock, that this technology simply does not exist.
So. I am here for two reasons. First, to ask for help in achieving
what seems like it should be a very simple task--if I've overlooked some
simple means of getting the Y coordinate of a <span> element in XHTML or
am unaware of a new method in OpenLaszlo to create nested <text>
elements which behave like <div> and <span> elements, please let me
know. Second, to offer my assistance in building and developing a
solution for this problem if I am correct and none presently exists.
Regards,
--
Alexander Saint Croix