Target to a page inside an iframe

Posted by Marcelo Srougi on Stack Overflow See other posts from Stack Overflow or by Marcelo Srougi
Published on 2013-06-23T03:33:56Z Indexed on 2013/06/28 4:21 UTC
Read the original article Hit count: 141

Filed under:

I will try to explain again:

I have 3 images in my index.html that when clicked i'd like to point respectively to ourmission.html, ourvalues.html and ourvision.html. But this 3 pages are inside an iframe located in the page ourcompany.html as you can see below:

<aside class="sidebar">
<h4>Our Company</h4>
    <ul class="nav nav-list primary pull-bottom">
        <li><a href="contactus.html"target="conteudo">Contact Us</a></li>
        <li><a href="ourmission.html" target="conteudo">Our Mission</a></li>
        <li><a href="ourvalues.html" target="conteudo">Our Values</a></li>
        <li><a href="ourvision.html"target="conteudo">Our Vision</a></li>

</ul>
</aside>

<iframe src="contactus.html" frameborder='0' name="conteudo" width="700" height="700">
</iframe>

How do i to point them directly, so the page ourcompany.html will load with the specific iframe opened.

© Stack Overflow or respective owner

Related posts about iframe