Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4077280
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:31:50+00:00 2026-05-20T17:31:50+00:00

On my page i have 2 iframes. I have a function to reload the

  • 0

On my page i have 2 iframes.

I have a function to reload the iframe on click.

Now I would like to load the main page without loading the 2 iframe.
Is that possible? How would i do that?

 <ul>
          <li><a href="#discotheque">Discoth&egrave;que</a>
          </li>
          <li><a href="#articlesPresse">Articles de presse</a></li>
  </ul>

  <div id="discotheque">
<a href="javascript: void(0)" onclick="discothequeReload();" style="text-decoration: none" class="">Nouvelle recherche</a>
    <script type="text/javascript">

    function discothequeReload () {
    var f = document.getElementById('discothequeReload');
    f.src = f.src;
    }
    </script>

                <!--TEST RELOAD-->
        <iframe id="discothequeReload" frameborder="0" src="http://www.google.com">
        </iframe>


  </div>


  <div id="articlesPresse">
        Articles de presse
                <a href="javascript: void(0)" onclick="articlesPresseReload();" style="text-decoration: none" class="">Nouvelle recherche</a>
<script type="text/javascript">

function articlesPresseReload () {
var f = document.getElementById('articlesPresseReload');
f.src = f.src;
}
</script>
            <!--TEST RELOAD-->
        <iframe id="articlesPresseReload" frameborder="0" src="http://www.yahoo.com">
        </iframe>
  </div>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T17:31:51+00:00Added an answer on May 20, 2026 at 5:31 pm

    Load the page and load de iframes when the user click on your link? Ok, put the iframe html when the user click. I think that it work’s… I remember I made something like this
    a few months ago.

    <a href="#" onclick="discothequeReload();" style="text-decoration: none" class="">Nouvelle recherche</a>
    
    <div id="discotheque">
    <!-- without the ifram -->
    </div>
    
    <script>
    function discothequeReload() { 
        $("#discotheque").html('<iframe id="discothequeReload" frameborder="0" src="http://www.google.com"></iframe>');
    }
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a number of iframes calling a function in my main page. Is
I have an ASP.net aspx page that's composed of 3 iframes. One for the
I have an iframe in my page and when I load the page, the
I have an iframe on a page that I need to initially have a
I have several embedded iframes on my page and I'm looking for a click
I have in my page many many iframes which build this way: <iframe style=.....>
I have a an iframe on my page that currentlyhas a background color of
I have a script that write a iframe into the page. I want to
I have a main page in which I have an iframe I have bound
I have my login page in an iframe and wished to reload the parent

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.