I have an application that serves with a HELP for the system, that is, the user clicks on the question mark and instinctively opens a new tab with that HELP direct on the equivalent page, however, since it has its paths treated with iframe/JavaScript
the path is incomplete and thus opens only the HELP homepage and not the specific page.
How do I pass a path to a href
that is being handled by JavaScript
where it returns a div
with iframe
?
Example (JS):
<script type="text/javascript">
function clickLink(link){
document.getElementById("iframeTeste").src = link;
}
</script>
Example (Html):
<li>
<a href="#" onclick="clickLink('CaixaSeparacao.html')">Caixa Separação</a>
</li>
<div id="teste" >
<iframe id="iframeTeste" style="position: absolute; border: 0; margin-top: 72px; width: 100%; height: 80%; z-index:-1;">
</iframe>
</div>
Here is the HELP call that should open on the specific page in .NET
:
<div class="imagem">
<a href="../PCI.HELP/index.html" target="_blank">
<img src="../PCI.HELP/helpmenor.png"/>
</a>
</div>