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>&nbsp;&nbsp;

    <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>&nbsp;&nbsp;

    <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>&nbsp;&nbsp;

    <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>&nbsp;&nbsp;

    <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 

 

 

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to