Jump to content

Recommended Posts

Posted

On my site I have used three frames...Top, Left(menu) and Center. I am trying to set it up so when a link is clicked in the menu in the left frame, it will open in the center frame. I know it probably must be by targets but cannot seem to get it to work. Can anyone help? Thanks in advance.

Posted (edited)

Welcome to the family, bigshew! :dance:

 

Well, by most opinions frames are just plain evil but since you want to use them.

 

The links in your Left frame will have to reference the Center frame with a target link. I will assume you named the center frame Center. So your links should look like this.

 

your link

 

That should open the document in the frame named "Center"

Edited by TCH-Bruce
Posted

well I tried that but it always opens a new browser for the link instead of in the center frame. So let me ask you this...on my index I have the frames defined as follows:

 

<frameset rows="155,*" MARGINWIDTH="0" MARGINHEIGHT="0" FRAMESPACING="0" BORDER="0" FRAMEBORDER="0">

<frame SRC="topindex.html" NAME="top" SCROLLING="NO" NORESIZE>

<frameset cols="109,*" MARGINWIDTH="0" MARGINHEIGHT="0" FRAMESPACING="0" BORDER="0" FRAMEBORDER="0">

<frame SRC="left.html" SCROLLING="no" NORESIZE>

<frame SRC="center.html" SCROLLING="auto" NORESIZE>

</frameset>

 

Do I need to define the frame name more clear for a menu in the left to open in the center?

Posted

never mind. thanks for the help but I figured it out. i didnt even name the left or center frame and now that i did it works fine. thanks for all the help and the welcome.

Posted (edited)

 

You have no NAME for this frame. Add NAME="center" to it and change your target to target="center" and that should do it.

Edited by TCH-Bruce

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...