Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Creating a list WHITIN an iFrame!?

    Ok so I've been searching for a solution for the pas 9 hours or soo but can't find one... so I just decided to post the question (Yes i'm new at this)

    PLEASE HELP I CAN'T SEEM TO FIGURE IT OUT!

    I want to create a list within an iFrame in this manner:


    <a href="iframelist.html" target="framename">link 1</a>
    <a href="iframelist.html" target="framename">link 2</a>
    <a href="iframelist.html" target="framename">link 3</a>

    <iframe name="framename" width="500" height="500" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
    But what I'm missing is an ID or something for each individual link that will be hosted on iframelist.html!?!?

    So I want a SINGE iframelist.html for every answer instead of creating separate iframelist.html like the sample bellow:

    <a href="iframelist1.html" target="framename">link 1</a>
    <a href="iframelist2.html" target="framename">link 2</a>
    <a href="iframelist3.html" target="framename">link 3</a>

    <iframe name="framename" width="500" height="500" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>

    I don't whant to do this
    SO my single iframelist.html will include the 3 links. I don't know how to accomplish this?

    <a href="http://www.externalurl.com/link1">
    <a href="http://www.externalurl.com/link2">
    <a href="http://www.externalurl.com/link3">

    And either of the 3 links will open within that iframe box.

    so for example:

    outside of the iframe

    Download 1 of the 3 packages:

    outside of the iframe

    this is the inside of the iframeinside of the iframe

    link1 link2 link3

    this is the inside of the iframeinside of the iframe
    I don't know if I made myself clear BUT I HOPE SOMEONE CAN HELP ME

    thanks!

  • #2
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    so no one !?

  • #3
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    index.html
    Code:
    ...
    <h1>Download one of the three packages.</h1>
    <iframe src="download.html" width="500" height="500"></iframe>
    ...
    download.html
    Code:
    ...
    <ul>
      <li><a href="http://example.com">link 1</a></li>
      <li><a href="http://example.com">link 2</a></li>
      <li><a href="http://example.com">link 3</a></li>
    </ul>
    ...
    Why you're doing it like this, I don't understand: at best, you achieve nothing; at worst, you're going to annoy your users.

    You may also want to take a look about where you put your Hs: currently they're everywhere.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •