I have a relatively complex html-structure in a document library, which I want to display in a web part. The web part refers to site.com/library/index.htm
, from which other pages are called.
Problems occur with the relative paths. site.com/library/index.htm
is calling <a href="page1.htm">Page 1</a>
which results into site.com/library/page1.htm
. But the index.htm within webpart just calls site.com/page1.htm
.
Is there any way to change this behaviour without adding ../library/
to every single link? Editing every link in a couple of dozen files does not look like an appealing solution. :/