bigshew Posted February 10, 2004 Posted February 10, 2004 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. Quote
TCH-Bruce Posted February 10, 2004 Posted February 10, 2004 (edited) Welcome to the family, bigshew! 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 February 10, 2004 by TCH-Bruce Quote
bigshew Posted February 10, 2004 Author Posted February 10, 2004 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? Quote
bigshew Posted February 10, 2004 Author Posted February 10, 2004 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. Quote
TCH-Bruce Posted February 10, 2004 Posted February 10, 2004 (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 February 10, 2004 by TCH-Bruce Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.