Results 1 to 8 of 8

Thread: Internet control Question

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    oxford,mi,usa
    Posts
    10

    Question

    I made some links in the toolbar and i would like them to load a specific frame instead of the whole thing i know there is a way to do it. Could someone tell me what the code is?

    Thanks

    DJLunacy

  2. #2
    Guest
    I a frameset, you mean?
    Consider the following:

    Code:
    <html>
      <head>
        <title>Frames Page</title>
      </head>
      <frameset cols="150,*">
        <frame name="contents" target="main" src="contents.html">
        <frame name="main" target="main" src="home.html">
        <noframes>
          <body>
            <p>This page uses frames, but your browser doesn't support them.</p>
          </body>
        </noframes>
      </frameset>
    </html>
    Each frame needs a name, e.g. name="main".
    Now you need to tell the hyperlinks which frame to load into. You do this with a target tag, e.g. target="main". Linked pages will load into which frame is specified by the target tag.

    You can also put a target tag in the head section of a page to affect all the links on that page only:

    Code:
    <head>
      <base target="main">
    </head>
    And you can put it in the individual hyperlink tags too:

    Code:
    <a href="page2.html" target="main">Page 2</a>
    Clear as mud?

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    oxford,mi,usa
    Posts
    10
    Yes I know that.. i am talking about if a toolbar selection to change the pages

    ex. wbIE.Navigate = ("C:\your.html") [main]
    something like that i am not sure how to type it up so it does not give me an error and actually loads in a frame.

  4. #4
    Guest
    Perhaps I'm not quite understanding what you're trying to do. Do you mean that you've got a frameset in the browser window and you want a link on the toolbar to the page displayed in one of the frames? If that's so then you can either view the frames page source and manually add a favourite/bookmark or right click on the frame and bookmark it from there...otherwise you're gonna have to be more specific.

  5. #5

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    oxford,mi,usa
    Posts
    10
    I am programming my own browser for my site.. in my tool bar are the links to pages i want them to load in a frame (main)..

    this is not HTML that i am trying to use.

  6. #6
    Guest
    Oh, right...I get you now. You're using the IE ActiveX control?

  7. #7

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    oxford,mi,usa
    Posts
    10
    i am using the micrsoft transfer control thing.. do you know how to do what i am trying to figure out?

  8. #8
    Guest
    sorry

Posting Permissions

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



Click Here to Expand Forum to Full Width