<html><head></head><body> <div dir="auto">Hi DM,</div><div dir="auto"><br></div><div dir="auto">I’m assuming that the front-end app would normally show the original text that’s enclosed by the abbr element, but that the expansion would be displayed in place of the abbr text when the UI switch is toggled.</div><div dir="auto"><br></div><div dir="auto"><span style="color: var(--text-color); background: var(--bg-color);" dir="auto">The default would always be the former, particularly for apps that had not yet been given the UI switch by its developers. </span><br></div><div dir="auto"><span style="color: var(--text-color); background: var(--bg-color);" dir="auto"><br></span></div><div dir="auto"><span style="color: var(--text-color); background: var(--bg-color);" dir="auto">On the other hand, SWORD developers might decide the the expansion text ought to be displayed above or below the main verse text, like Xiphos does for (eg) Strong’s.</span></div><div dir="auto"><span style="color: var(--text-color); background: var(--bg-color);" dir="auto"><br></span></div><div dir="auto"><span style="color: var(--text-color); background: var(--bg-color);" dir="auto"><div dir="auto" style="unicode-bidi: plaintext; ; outline: none; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration: none;">AFAIK, SWORD front-ends don’t use HTML like you described. It’s unique to JSword apps.</div><div dir="auto" style="unicode-bidi: plaintext; ; outline: none; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration: none;"><br></div><div dir="auto" style="unicode-bidi: plaintext; ; outline: none; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration: none;">Not only so, but it’s not really as convenient to use mouseover tooltip for touchscreen devices, such as phones & tablets. I don’t see that function very often for my iPad Mini 4. Correct me if I’m wrong.</div><br></span></div><div dir="auto">David </div> <div><br></div><div><br></div>On Tue, May 13, 2025 at 00:35, DM Smith <<a class="" href="mailto:On Tue, May 13, 2025 at 00:35, DM Smith <<a href=">dmsmith@crosswire.org</a>> wrote:<blockquote type="cite" class="protonmail_quote"> The XSLT for JSword uses the HTML abbr element to display the OSIS abbr element. Most browsers will show the expansion as a tooltip.
<div>
<br>
</div>
<div>
Are you thinking that this should be a toggle so that the tooltip shows up? Are you thinking that the expansion should be shown with the (ABBR) following?
<br>
<div>
<br>
</div>
<div>
In Him,
</div>
<div>
<span style="white-space:pre" class="Apple-tab-span"> </span>DM
<br id="lineBreakAtBeginningOfMessage">
<div>
<br>
<blockquote type="cite">
<div>
On May 12, 2025, at 12:52 PM, David Haslam <dfhdfh@protonmail.com> wrote:
</div>
<br class="Apple-interchange-newline">
<div>
<div style="font-family: Arial, sans-serif; font-size: 14px;">
It would be really cool if the SWORD API could be enhanced to support the expansion of the OSIS element
<b>abbr</b>.
<br>
<br>
<span style="font-size: 13.5pt; line-height: normal;"><u>Example</u>: </span>
<span style="font-family: Menlo, Consolas, "Courier New", monospace; font-size: 13.5pt; line-height: normal;"><abbr type="x-Roman" expansion="30">.xxx.</abbr></span>
<br>
<br>
<div style="font-family: Arial, sans-serif; font-size: 14px;" class="protonmail_signature_block">
<div class="protonmail_signature_block-user">
When selected via the enhanced UI in any SWORD front-end app, the expansion value should be displayed in place of the abbreviation.
<br>
<br>Please would SWORD (& JSword) developers seriously consider implementing this.
<br>
<br>NB. We may soon have a suitable candidate module for
<span style="display: inline !important; background-color: rgb(255, 255, 255);">testing this functionality.<br></span>
<br>I would like to see all the
<span style="display: inline !important; background-color: rgb(255, 255, 255);">numbers that use </span>lowercase
<b>Roman numerals</b> which are found within verse text in the Bible module
<b style="scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0.35) rgba(0, 0, 0, 0); background-color: rgb(255, 255, 255);">Tyndale</b>
<span style="display: inline !important; background-color: rgb(255, 255, 255);"><span> suitably en</span></span>coded using the
<b>abbr</b> element. Implementing this enhancement to the OSIS XML source text is eminently scriptable.
<br>
<br>
<u>Aside</u>: First, we must ensure that all these instances are tidied up, and consistently wrapped between 2 periods as they are in the printed edition. Please refer to my feedback observations sent to the module team.
<br>
<br>Best regards,
<br>
<br>David
</div>
<div style="font-family: Arial, sans-serif; font-size: 14px;">
<br>
</div>
<div class="protonmail_signature_block-proton">
Sent with
<a href="https://pr.tn/ref/SWXT9A5YZ67G" target="_blank">Proton Mail</a> secure email.
</div>
</div>
</div>_______________________________________________
<br>sword-devel mailing list: sword-devel@crosswire.org
<br>http://crosswire.org/mailman/listinfo/sword-devel
<br>Instructions to unsubscribe/change your settings at above page
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div></blockquote></body></html>