I'll grant you that #aside might be the least likely item to have open and
consult other parts of the page, but you might still want to open the knowl, and
choose to leave it open for a good long while as you read through other parts of
the page.
Everything else here does seem critial of knowls themselves, generally. Should
we convert all born-hidden knowls to popup dialogs?
I was just discussing this with Andrew at Drop-In, and was further reminded of
all the code that is in place for generating content for knowls - visible or
not, born-hidden or cross-reference. I don't feel the case here is compelling
enough to initiate and debug a parallel system.
> PTX knowls use javascript to insert stuff in the page
Certainly true for a cross-reference knowl. But a born-hidden knowl (which is
what we are discussing) has all its content on the page already, so it is more a
matter of visibility, I think? Of course, I don't know the JS that well, but I
think there is a fundamental distinction between the two here.
Rob
On 3/3/26 10:24, Alex Jordan wrote:
> > But why not a knowl?
>
> There are reasons. Not throwing shade at knowls of course, but:
>
> * PTX knowls use javascript to insert stuff in the page. Whereas a dialog can
> just use native HTML and the invoker API on buttons.
> * Pushing down the content that comes after the knowl. Any movement of content
> is not ideal, when it's not literally the user choosing to scroll.
>
> If there's anything that we currently knowl where it seems least likely you
> would need to see the main content or other knowls at the same time, it's
> "aside" imho.
>
>
>
>
> On Tue, Mar 3, 2026 at 8:38 AM 'Rob Beezer' via PreTeXt support <pretext-
>
sup...@googlegroups.com <mailto:
pretext...@googlegroups.com>> wrote:
>
> On 3/1/26 10:28, Andrew Scholer wrote:
> > I like Alex's suggestion of a popover presentation.
>
> Sure. I like that idea in principle. But why not a knowl? We have a lot of
> infrastructure in place for that already, and it is not trivial to manufacture
> the content, clickable titles, and so on, plus it would not require any
> additional Javascript. Search is its own separate thing, with a dialog serving
> a different purpose.
>
> > I'm happy to handle any needed/wanted HTML/CSS changes given appropriate pub
> > variable switches.
>
> Thanks! Publisher switches and additional classes are pretty straight-forward
> to add. So lets continue discussion of what the publisher options might be.
>
> Rob
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
pretext-suppo...@googlegroups.com <mailto:
pretext-
>
support%2Bunsu...@googlegroups.com>.
> support/MTAwMDAxNS5iZWV6ZXI.1772555901%40pnsh <
https://groups.google.com/d/
> msgid/pretext-support/MTAwMDAxNS5iZWV6ZXI.1772555901%40pnsh>.
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> CA%2BR-jrd0O3LWcEAsGvvNxAf9_Q2GqpzaZH9c1dzJeYJm6KAp_w%
40mail.gmail.com <https://
>
groups.google.com/d/msgid/pretext-support/CA%2BR-
> jrd0O3LWcEAsGvvNxAf9_Q2GqpzaZH9c1dzJeYJm6KAp_w%
40mail.gmail.com?
> utm_medium=email&utm_source=footer>.