[Interest] Qt Assistant and javascript
David C. Partridge
david.partridge at perdrix.co.uk
Tue Mar 11 09:42:30 CET 2025
I understand that Qt Assistant uses litehtml under the covers and that this
means that it doesn't support javascript.
This presents me with a bit of a problem because there a quite a few places
in the html code for the help that use javascript like this:
<A
onmouseover="document['STACKRESULT01'].src='../images/Theory/Stack_1.jpg';;d
ocument.getElementById('LEGEND01').innerHTML='One Light Frame';"
href="javascript:void(0);">
1 image</A></b><br>
<b>
<A
onmouseover="document['STACKRESULT01'].src='../images/Theory/Stack_2.jpg';do
cument.getElementById('LEGEND01').innerHTML='Stack of 2 light frames';"
href="javascript:void(0);">
2 images</A></b><br>
<b>
<A
onmouseover="document['STACKRESULT01'].src='../images/Theory/Stack_4.jpg';;d
ocument.getElementById('LEGEND01').innerHTML='Stack of 4 light frames';"
href="javascript:void(0);">
4 images</A></b><br>
<b>
<A
onmouseover="document['STACKRESULT01'].src='../images/Theory/Stack_16.jpg';;
document.getElementById('LEGEND01').innerHTML='Stack of 16 light frames';"
href="javascript:void(0);">
16 images</A></b><br>
<b>
<A
onmouseover="document['STACKRESULT01'].src='../images/Theory/Stack_32.jpg';;
document.getElementById('LEGEND01').innerHTML='Stack of 32 light frames';"
href="javascript:void(0);">
32 images</A></b></p>
To select which image to display based on which text the mouse is "over".
Is there any hope for javascript support in the short term?
Alternatively, is there another way to achieve this function that Qt
Assistant does support?
Is it likely that Qt Assistant might be changed to use QtWebEngine instead
(which I think would provide javascript).
Thanks, David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20250311/3cc06f38/attachment.htm>
More information about the Interest
mailing list