cheatsheet : open related help with relative url [message #1715848] |
Thu, 26 November 2015 15:21 |
Philippe Favrais Messages: 23 Registered: April 2011 |
Junior Member |
|
|
Hello,
I am creating cheatsheet xml file (myCheatsheet.xml) that i open in the cheatseet view from the file (meaning that the cheatsheet is not registered as a plugin).
Here you can see the structure of my project where the cheatsheet and html file are in different folders of the same project.
\test_project
\help
NewFile.html
image.gif
\Assitant
myCheatsheet.xml
From my cheatsheet i would like have "related help" contained in an Html file (NewFile.hmtl) and being displayed in eclipse help window).
Here is an example where from my cheatsheet i provide a link to an help html document.
<intro href="file:///D:/Demo/test_workspace/test_project/help/NewFile.html"/>
The above reference works, and the html file is opened in the Eclipse Help but the images in my html file are not shown in the Eclipse Help window. (in other browers the html file and image are correctly displayed)
Note that the url of the image is relative to the html file.
<img width=628 height=303 id="Object 2" src="SystemStack_files/image002.gif">
If i replace the relative URL by an absolute one, it works perfectly.
However, it really would like to use only relative url in my html file.
Moreover, i would also like to use an relative url between the cheatsheet xml file and the html file.
Does anybody have encounter that problem and/or have a solution or suggestion ?
Thank you in advance
Philippe
|
|
|
Powered by
FUDForum. Page generated in 0.03732 seconds