1
I have an application that serves with a HELP for the system, that is, the user clicks on the question mark and instantaneously opens a new tab with this HELP directly on the equivalent page, but as this has its paths treated with iframe/JavaScript
the path is incomplete and thus opens only the HELP homepage and not the specific page.
How I pass a path to a href
who is being treated by JavaScript
where he 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’s the HELP call you should open on the specific page on .NET
:
<div class="imagem">
<a href="../PCI.HELP/index.html" target="_blank">
<img src="../PCI.HELP/helpmenor.png"/>
</a>
</div>