Question

I have a description inside my KML for all my shapes,

And I’m trying to add a live link that represents the shape location on our network

So I can just click on the link and open the location for the specific shape,

Im using the following html tag [as an example]

   <tr>
    <td>Link:</td>
    <td><a> href="C:\Users\Name\Downloads"></a></td>
  </tr>

This shows the link but without the hyperlink beneath it,

Does anyone know why?

Was it helpful?

Solution

Remove the closing angle bracket from the a element opener. You have invalid html markup right there.

 <tr>
    <td>Link:</td>
    <td><a> href="C:\Users\Name\Downloads"></a></td>
  </tr>

should be:

 <tr>
    <td>Link:</td>
    <td><a href="C:\Users\Name\Downloads" target="_blank">C:\Users\Name\Downloads</a></td>
  </tr>

To stop the link opening inside the ongowindow try using target="_blank"

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top