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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2002
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    a question about linking - where all the information appears in one frame

    as topic..

    if there are a bunch of links (ie. me / you / her...) and you want to keep all the information cleanly in one frame... how do you do it? one frame as in.. one table.. .. you click on one link and all the info would appear in that certain frame.. if you click on another link... all the info from THAT link would also appear in that certain frame...

    um.. i hope that's clear enough.

    THANKS FOR THE HELP!

  • #2
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72° W. 48' 57" , 41° N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    it's called an IFrame. it's only available in newer browsers. (IE4+, NS6+, Opera 6.05 etc. ) you create your IFrame where you want it to be, like so:

    <IFrame Src="default.htm" Name="billy"></IFrame>

    where default.htm is the page that you want to show, before any links have been clicked. note that i've included Name="billy". this is because we need some way, to tell the links that we want them to open inside this IFrame. we do that, like this:

    <A Href="thePage.htm" Target="billy">click click</A>

    it looks just like a normal link, except for that Target="billy" bit. See the connection? Where do i want this to open; i want it to open in billy.

    also, i'm gonna move this thread over to the HTML & CSS forum, since it really doesn't have anything to do with javascript.
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.


  •  

    Posting Permissions

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