Q: How to open sites into frames

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mendell
    New Member
    • Jan 2007
    • 1

    Q: How to open sites into frames

    Given:
    I'm using FrontPage and I feel pretty comfortable with the basics of HTML and editing code. I have a page made of three frames, which have been named. All works fine.

    Issue:
    User clicks a hover button. I need to load apples.htm into the "fruit" frame AND cat.htm into the "animal" frame. The hover button can only do one of these. How can I code this? My thought is to have the hover button call apples.htm into the "fruit" frame and add a line into the code for apples.htm that loads cat.htm into the "animal" frame, but I don't know what to type. So far, I seem to get the wrong image in the "fruit" frame and nothing in the "animal" frame.

    I'd appreciate some guidance. Thanks! I think this should be easy, but I can't seem to find it in books or online.
  • AricC
    Recognized Expert Top Contributor
    • Oct 2006
    • 1885

    #2
    Where is your code? You need to specify the name of the fram you want in the target attribut. Post your code if this doesn't help.

    Comment

    • kestrel
      Recognized Expert Top Contributor
      • Jul 2006
      • 1071

      #3
      you need to specify the target frame of the link

      <a href="apple.htm " target="fruits" >Apples</a>

      <frameset cols="25%,50%,2 5%">
      <frame src="fruits.htm " name="fruits">
      <frame src="veggies.ht m" name="veggies">
      <frame src="stuff.htm" name="stuff">
      </frameset>

      now when you click on the "Apples" link, it will open in the fruits frame.

      Comment

      • pravinda
        New Member
        • Dec 2006
        • 23

        #4
        <iframe name="about" height="220" width="360" src="about1.htm l" frameborder="0" scrolling="auto "></iframe>

        use this, this will be help full.

        Comment

        Working...