View Full Version : Help on Frames
Rikku555 03-30-2003, 12:02 AM I need help on how to put links into the left frame.
I have put this code in:
<html>
<head>
<title>My Page</title>
</head>
<frameset cols=20%,80%>
<frame src="left.html" name="leftside">
<frame src="right.html" name="rightside">
</frameset>
<body>
</body>
<noframes>
<a href="your main page.html">Click Here</a>
</noframes>
</html>
Now I know that you have to put this code in to put a link in:
<a href="newpage.html" target="rightside">Name of your link</a>
But I don't know where to put it.
starlet 03-30-2003, 12:10 AM Have you created the pages left.html and right.html? If not do so, then you just add your links and content to those pages as you would any regular .html page....
Rikku555 03-30-2003, 12:13 AM Well I have just put all that HTML on to one page thats all.
What do I have to do?
starlet 03-30-2003, 12:20 AM Well...you should have 3 pages, one which has the code you posted above...thats your main page which 'holds' the frames together, then you'll notice in the code it says left.html and right.html...those are the pages that will appear in the frames...so like i said above, create left.html and right.html and just add whatever you want to appear in them...
Rikku555 03-30-2003, 12:26 AM Ok so lets just say that I was creating a new page for the left frame.
What HTML would I put on that page?
Dude128 03-30-2003, 02:02 AM on that page you would put whatever you wanted to appear in the left frame. create a normal HTML page (no special frame codes), just like you would if it was a standalone page.
Rikku555 03-30-2003, 01:03 PM <html>
<head>
<title>Title of the Page</title>
</head>
<body>
<a href="C:\My Documents\Home.htm" target="<frame src="left.html" name="leftside">">Enter</a>
</body>
</html>
Ok I made a new HTML page, this is the HTML code that I put in and it still won't work.
Could someone please tell which part of that code is wrong.
Thanx
Sheila 03-30-2003, 01:05 PM try
<a href="Home.htm" target="leftside">Enter</a>
Rikku555 03-30-2003, 01:22 PM Yep I've just done that.
lol:D
Ok heres the deal now.
When I open the page with the frames on in AOL, just the left and right frames come up with nothing in them.
Then when I open the separate HTML page for the left frame, I see the Enter link.
I need that link to be in the left frame.
How do I that?
Sheila 03-30-2003, 01:25 PM Can you post the URL to the site?
Rikku555 03-30-2003, 01:29 PM emm...I don't think I understand what you mean.
I am building this offline in Notepad.
Do I need a host to build the site or something?
Sheila 03-30-2003, 01:31 PM Well, if you want other people to see it, then yes you will need a host. Also, it would really help seeing it, to help you better.
Rikku555 03-30-2003, 01:34 PM No I can still see what I'm building even without a host.
I was wanting first at least to build most the site first without people seeing it.
Sheila 03-30-2003, 01:35 PM That's okay. I just am not sure how to help you with the problem that you are having now.
Rikku555 03-30-2003, 01:38 PM Do you think that I would be able to do what I am trying to do if I got a host?
Sheila 03-30-2003, 01:39 PM Go ahead and try that. If it still does not work, post the URL to the page. Okay? :)
Rikku555 03-31-2003, 07:18 PM Ok I have now found a host.
Bravenet.
Now let me just get this right.
I have to have 3 pages alltogether. One being the main page with the left and right frames on it.
Then two other pages for the left and right frames.
This is the HTML that I have on the page for both the left and right frames:
<html>
<head>
<title>Final Fantasy X-2</title>
</head>
<frameset cols=20%,80%>
<frame src="left.html" name="leftside">
<frame src="right.html" name="rightside">
</frameset>
<body>
</body>
<noframes>
<a href="your main page.html">Click Here</a>
</noframes>
</html>
This is the HMTL that I have on the page for the left frame:
<html>
<head>
<title>Final Fantasy X-2</title>
</head>
<body>
<a href="name of page with both frames on.htm" target="leftside">Enter</a>
</body>
</html>
Now when I open up the pages with both frames on both the frames are empty.
When I open the page for the left frame I can see the Enter link, that link I need to be in the page with both frames on, in the left frame.
How do I get that to work?
Sheila 04-01-2003, 08:19 AM I have used the codes you have posted, and they work for me. Can you please give me the address to the site?
Rikku555 04-01-2003, 03:10 PM yeah ok here it is:
http://spirasff.bravepages.com/index.html
oh and here the Bravenet site too:
http://www.bravenet.com/
thanx for trying too help me out by the way :)
Sheila 04-01-2003, 04:21 PM I think it has to do with your link....
You have this to enter to the frames page:
http://spirasff.bravepages.com/Final Fantasy X-2.html
You have spaces in that link. You can't have spaces. So you need to fix that in order for it to work.
Hope that made sense.
Rikku555 04-07-2003, 04:31 PM no sorry i don't really understand.
ok what i'll do is I'll tell ya what link i need and on what page I need it on, could someone please tell step by step what to do, then hopefully i'm can get this sorted once and for all :D
I need a link on the FFX-2 page in the left frame that leads to the home page. I need that link to be called Enter.
Sounds simple doesn't it :D
Sheila 04-08-2003, 09:06 AM Like I said above there should be no spaces in your file names or links....
Since you have spaces in your link, when someone clicks on it...this is what the get
http://spirasff.bravepages.com/Final%20Fantasy%20X-2.html
The %20 appears because of the spaces. You need to correct your file names in order for it to work. You have to make it FinalFantasy and NOT Final Fantasy
Rikku555 04-10-2003, 09:27 PM Yeah finally it's worked :D
It wasn't just the spaces that weren't right but a couple of other things too
Thanxs alot for ya help Sheila :D
|