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 8 of 8
  1. #1
    New to the CF scene
    Join Date
    Oct 2002
    Location
    California
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    not sure what I need

    Hello Everyone,
    I am new to this forum, I was referred here by someone else on a Front Page forum.

    This is what I want to do, maybe someone here could help me build a basic code that I can edit to suit my site.

    I have a page with a large 2 columned table in the body.

    In the right side I want to put Iframe, and in the left side I want to put links to change the pages in the iframe.

    I'm sure this is very simple to some of you, but this is my first experience with working with frames of any kind.

    I appreciate your help in advance.

    Thanks

    ~Susan

  • #2
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Okey doke, I can see where you'r comin' from.

    You have your table with the two columns (we won't worry about attributes eg:bgcolor etc):
    Code:
    <table>
    <tr>
    <td></td><td></td>
    </tr>
    </table>
    Now you need to put in your Iframe!:
    Code:
    <table>
    <tr>
    <td></td><td><iframe src="yourpage.html" name="MainFrame"></iframe>
    </tr>
    </table>
    Ok now you need to add the links!:
    Code:
    <table>
    <tr>
    <td>
    <a href="page.html" target="MainFrame" >Link</a><br>
    <a href="page.html" target="MainFrame" >Link</a><br>
    <a href="page.html" target="MainFrame" >Link</a><br>
    <a href="page.html" target="MainFrame" >Link</a><br>
    </td><td><iframe src="yourpage.html" name="MainFrame"></iframe>
    </tr>
    </table>
    There you have it, the ifram tags are quite easy to use, but you have to make sure to name it. In this example I have called it MainFrame, so if you look at your links all you need to insert is target="MainFrame" or whatever you call your Iframe!.

    Hope this answers your question.
    Omnis mico antequam dominus Spookster!

  • #3
    New to the CF scene
    Join Date
    Oct 2002
    Location
    California
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool

    Mhtml,
    You are an absolute angel of mercy! Thank you soooooooo much!!
    ~Susan

  • #4
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Don't forget that closing TD tag!
    Code:
    <table>
    <tr>
    <td>
    <a href="page.html" target="MainFrame" >Link</a><br>
    <a href="page.html" target="MainFrame" >Link</a><br>
    <a href="page.html" target="MainFrame" >Link</a><br>
    <a href="page.html" target="MainFrame" >Link</a><br>
    </td><td><iframe src="yourpage.html" name="MainFrame"></iframe></td>
    </tr>
    </table>
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #5
    New to the CF scene
    Join Date
    Oct 2002
    Location
    California
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Got it, Thank you!!

    I have my iframes in place and they are working great! As soon as I finish the renovation on my site, I will post a link for you all to see what I have done.

    Thanks again for all the help!

    ~Rides

  • #6
    New to the CF scene
    Join Date
    Oct 2002
    Location
    California
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The way I handled it is, I just copied and pasted into the table I wanted it in, in the Normal View of FP with the Special Paste as HTML option, then I dragged the links to the other cell, where I wanted them.
    Front Page did the rest! So I did get the code you were concerned with me losing.

    Thanks again.

  • #7
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Omnis mico antequam dominus Spookster!

  • #8
    New to the CF scene
    Join Date
    Oct 2002
    Location
    California
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Are you saying I am verbose?


  •  

    Posting Permissions

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