|
-
May 28th, 2000, 10:17 PM
#1
Thread Starter
New Member
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
-
May 29th, 2000, 04:38 AM
#2
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?
-
May 29th, 2000, 07:50 AM
#3
Thread Starter
New Member
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.
-
May 29th, 2000, 03:17 PM
#4
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.
-
May 30th, 2000, 05:32 AM
#5
Thread Starter
New Member
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.
-
May 30th, 2000, 06:27 AM
#6
Oh, right...I get you now. You're using the IE ActiveX control?
-
May 30th, 2000, 08:32 AM
#7
Thread Starter
New Member
i am using the micrsoft transfer control thing.. do you know how to do what i am trying to figure out?
-
Jun 1st, 2000, 06:39 AM
#8
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|