HTML frames question

Status
Not open for further replies.

cocoa

Baseband Member
Messages
34
Hopefully one of you will be able to figure out why I cannot get my link to open in the main frame on my frameset... this is the code:


main.html is an already created file that I want to open, the button(homebutton) is appearing fine, in the index.html file where I created my frameset, one document the nav. doc is called toc.html and the other is called welcome.html, I also gave it a name=welcome..however, the link is opening in the navigation frame not the welcome frame??
 
you mean the home page of the website? well it is welcome.html. Well let me go back the frameset is divided into two frames toc.html and welcome.html, is that what you are asking?
 
do you have a frame called welcome?
if so your HTML should read:

Code:
<a href="main.html" target="welcome"> 
     [img]homebutton.jpg[/img]
</a>

Now whenever anyone clicks on the image it will open main.html in the frame named welcome
 
So your using a frameset?
so u ahve two frames

frame A
frame B

you want the link which is in Frame A to open in frame B?

To do that first u need to name the frames

frame A will be called "rightframe"
frame b will be caleld "mainframe"

in your link

you have to do this

text
 
Status
Not open for further replies.
Back
Top Bottom