7 Replies Latest reply on Apr 26, 2011 12:25 AM by Willam van Weelden

    How to give a relative path from a button in the master page header?

    JunooniRobo Level 1

      so I have this code in the header of my Master page in RoboHelp:

       

      <input type="image" value="View graphics legend"

      onclick="window.location.href='Graphics_legend.htm'"
      src="Images\graphic legend.png" name="image1"
      title="View graphics legend" style="width: 118px; height: 21px;" />


      i need to call the 'Graphics_legend.htm' file which is sitting in the root folder. When i try this it works fine for the html file which are in the root folder as well, but anything with is in a sub directory , the button stops working.

       

      It might be just to add a realtive path ,but i am failing to understand how to make a relative path for 'Graphics_legend.htm' ,.. ?