vitaly
7th July 2006, 12:14
Hello,
I use Qt 3.3.2 version of Qt. I chose Qt Assistant as help browser. In the code I use QAssistantClient to open the Assistant window and pass to it an html page. I need to position the Assistant to a particular place in the file that defined by tag <a name="id"/>. I tried to pass the following string to QAssistantClient::showPage():
assistant->showPage("/somepath/myhelp.html#myid")
It works only when the Assistant is opened first. Next call of showPage() will not position the opened html file into another place.
What is wrong? Can I position already openned html file into another place?
Thanks,
Vitaly
I use Qt 3.3.2 version of Qt. I chose Qt Assistant as help browser. In the code I use QAssistantClient to open the Assistant window and pass to it an html page. I need to position the Assistant to a particular place in the file that defined by tag <a name="id"/>. I tried to pass the following string to QAssistantClient::showPage():
assistant->showPage("/somepath/myhelp.html#myid")
It works only when the Assistant is opened first. Next call of showPage() will not position the opened html file into another place.
What is wrong? Can I position already openned html file into another place?
Thanks,
Vitaly