HTML Help Forum Index HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

Link to open in Frame
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
dick



Joined: 13 Mar 2005
Posts: 1

Posted: Sun Mar 13, 2005 9:11 am     Link to open in Frame  

What is the html for having a hyperlink open in a particular frame on my Home Page instead of opening in a new window? I always thought it was Target=(name of frame) but that doesn't seem to work. Thanks
chrisxkelley



Joined: 07 Dec 2004
Posts: 246

Posted: Sun Mar 13, 2005 10:00 am      

youre right

<a href="mylink.html" target="framename">text</a>
laurathealien



Joined: 13 Sep 2009
Posts: 6

Posted: Sun Sep 13, 2009 10:53 am     ugh  

it doesn't work for me either.
nikki



Joined: 24 Nov 2008
Posts: 132

Posted: Tue Sep 15, 2009 1:45 pm      

This is the main page with frames

Code:       <html>
         <head>
              <frameset cols="50%,50%" >
                   <frameset rows="50,50">
                       <frame src="1.html"  name = "frame1">
                       <frame src="2.html"  name = "frame2">
                   </frameset>
                   <frameset rows="50,50">
                      <frame src="3.html" name = "frame3">
                      <frame src="4.html"  name = "frame4" >
                   </frameset>
              </frameset>
        </head>
        <body>

         </body>
     </html>


and 4.html has

Code: <html>
   <head></head>
   <body>
      Page 4         
      <a href = "http://www.google.com" target = "frame1">Go to GOOGLE</a>
         
   </body>
</html>


When you click on "Go to GOOGLE" , this will replace the frame1(1.html) with google.com.
I have tested this in Safari and FF and works fine.
laurathealien



Joined: 13 Sep 2009
Posts: 6

Posted: Tue Sep 15, 2009 5:30 pm      

YESSS.

it works now.
i never named my frames so i was just using the .htm as my target and that's why it didnt work.

thank you so much.
nsavalas



Joined: 16 Nov 2009
Posts: 4
Location: Los Angeles, CA US

Posted: Tue Nov 17, 2009 1:39 am     How to keep a framed page in it's frameset, always...  

Please read my post at:

http://www.htmlcodetutorial.com/help/ftopic2976.html
 
 
DARFUR
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum Index -> HTML Frame
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group