HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Link to open in Frame
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
dick



Joined: 13 Mar 2005
Posts: 1

PostPosted: Sun Mar 13, 2005 9:11 am     Link to open in Frame Reply with quote

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

PostPosted: Sun Mar 13, 2005 10:00 am     Reply with quote

youre right

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



Joined: 13 Sep 2009
Posts: 6

PostPosted: Sun Sep 13, 2009 10:53 am     ugh Reply with quote

it doesn't work for me either.
nikki



Joined: 24 Nov 2008
Posts: 132

PostPosted: Tue Sep 15, 2009 1:45 pm     Reply with quote

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

PostPosted: Tue Sep 15, 2009 5:30 pm     Reply with quote

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

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

Please read my post at:

http://www.htmlcodetutorial.com/help/ftopic2976.html
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial