Remove this Banner Ad

Need help!

🥰 Love BigFooty? Join now for free.

Grimace

Team Captain
Dec 14, 2001
323
0
Other Teams
Hawthorn
well I'm trying to build a webpage but I don't know how to link an address from a content frame into another frame on the main page. :confused: can someone please help???
i think that's a bit confusing but that's the best i can explain it! i'm such a dumbo! :eek: :p

Grimace :D :p :)
 
Originally posted by Grimace
well I'm trying to build a webpage but I don't know how to link an address from a content frame into another frame on the main page. :confused: can someone please help???
i think that's a bit confusing but that's the best i can explain it! i'm such a dumbo! :eek: :p

Grimace :D :p :)

Assuming you've got frames established, you normally just put target="main" or whatever name you have to given to the target frame in the anchor as per the example below

<a href="stories/north.html" target="main">North Melbourne</a>

If you need know how to setup frames, well just copy the code below and save it via notepad with a html extension and play with it

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Title</title>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"><!-- frames -->
<META content="my own work" name=GENERATOR></HEAD><FRAMESET
cols=123,*><FRAME name=navbar marginWidth=10 marginHeight=10
src="sidebar.htm"
frameBorder=0 noResize ><FRAME name=main marginWidth=10
marginHeight=10
src="main.htm"
frameBorder=0></FRAMESET></HTML>
 
I'm using Microsoft Frontpage 5.0 hawkfan5. I tried the help topics but the instructions confuse me a bit. I'm hopeless. :(

And I did what you said Jim Boy but the link opens inside the content frame instead of the frame on the main frame.
I was also wondering if the code is any different if the links are coming off a drop menu? Could that be the problem?!

Sorry if I'm bothering anyone with my questions! As you can see, I'm no pro at building webpages! I just really want one! :D

GRimace
 

Log in to remove this Banner Ad

Originally posted by Grimace
And I did what you said Jim Boy but the link opens inside the content frame instead of the frame on the main frame.
I was also wondering if the code is any different if the links are coming off a drop menu? Could that be the problem?!
Shouldn't make any difference if it's a dropdown

Every frame has a name. Usually the names are like main or content, but really they could be anything. This names are stated in the overall html code for the final page. For example in the code I put earlier the frames were named 'main' and 'navbar'.

When you write the anchor code for a link, the target=frame_name variable with the anchor code indicates where to open the linked html page. It may have been that you made a typo with target="main" or maybe the content frame is called "main". In either case the code would open in the same frame as the link. As a test, try putting in any rubbish as the link name, such as target="sgfsgfs". This will cause explorer to open a new browser window to display the link.

Also try editing this in notepad. I often find intuitive website software can sometimes get your guesses wrong

Hope this helps
 

Remove this Banner Ad

Need help!

🥰 Love BigFooty? Join now for free.

Back
Top