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 6205775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:19:58+00:00 2026-05-24T05:19:58+00:00

I’m using a Simplemodal plugin that I got from here: http://www.ericmmartin.com/projects/simplemodal-demos/ I was successful

  • 0

I’m using a Simplemodal plugin that I got from here: http://www.ericmmartin.com/projects/simplemodal-demos/

I was successful in putting it one of the links on this page: http://tonangi.com/portfolio_test.html (click the View slideshow link).
I am loading up an iframe. I want to do that 2 more times on the same page but I can’t figure out how…

I simply want to load new content based on on the link – so there you see 3 companies, and I should be able to load up new content whenever someone clicks the appropriate link.

Can someone help me out?

  • 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-24T05:19:59+00:00Added an answer on May 24, 2026 at 5:19 am

    Okay, so there are multiple ways you can achieve this and I will show you several.

        <br><br>
        <a href="#" id="link2">Verizon Support</a>
        <div class="link2" style="display:none"><iframe src="http://www.verizon.com/support" frameborder="0" height="700" scrolling="no" width="800"></iframe></div>
    
        <br><br>
        <a href="#" id="link3">Google ME</a>
        <div class="link3" style="display:none"><iframe src="http://www.google.com/" frameborder="0" height="600" scrolling="no" width="800"></iframe></div>
    
        <br><br>
        <a href="#" id="link4">I Load HTML</a>
    
        <br><br>
        <a href="#" class="link5">I load same as </a> &nbsp; &nbsp; &nbsp;
        <a href="#" class="link5">what i load which is</a> &nbsp; &nbsp; &nbsp;    
        <a href="#" class="link5">same thing again as me! </a>  
    
    
    <script type="text/javascript">
        $(document).ready(function() {
    
            $('#link2').click(function(){ $('.link2').modal(); }); //When you click on object with ID "link2", content from object with Class "link2" will be loaded into modal.
    
            $('#link3').click(function(){ $('.link3').modal(); }); //When you click on object with ID "link3", content from object with Class "link3" will be loaded into modal.
    
            $('#link4').click(function(){ $.modal('<iframe src="http://www.firefox.com/" frameborder="0" height="600" scrolling="no" width="800"></iframe>'); }); //When you click on object with ID "link4", pre-specified HTML content in the "modal" function will be loaded into modal.
    
            $('.link5').click(function(){ $.modal('<iframe src="http://www.woot.com/" frameborder="0" height="600" scrolling="no" width="800"></iframe>'); }); //When you click on any object with Class "link5", woot page will be loaded.
    
        });
    </script>
    

    You can simply put this block of code within your page where you currently have a modal link and see it work.

    Read comments from jQuery section to understand what is happening. Keep in mind, ID must be unique, meaning ALL object ID’s on your entire page must be unique for JS to work properly. If you need multiple instances of same behavior, use CLASS. As shown above in example as “Class5” links.

    Hope this will be sufficient enough to do what you were trying to do.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
Does anyone know how can I replace this 2 symbol below from the string
I'm making a simple page using Google Maps API 3. My first. One marker
We're building an app, our first using Rails 3, and we're having to build
I have a bunch of posts stored in text files formatted in yaml/textile (from
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
In order to apply a triggered animation to all ToolTip s in my app,

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.