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!
What HTML code that to change the Frame into other Link?(Ple
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
Akira_AnimeAdikuZ



Joined: 27 Aug 2008
Posts: 7

PostPosted: Wed Aug 27, 2008 4:38 pm     What HTML code that to change the Frame into other Link?(Ple Reply with quote

What I mean that I have my own Frame then from the buttom is Image Link aka Image that has link. and I want If I click the Image link the frame will transfer into the link what the image link has.. Can you understand?

to understand please click this Link
http://s240.photobucket.com/albums/ff90/Akira_AnimeAdikuZ/?action=view&current=untitled.jpg

If I click the About Image. the frame will transfer to about site. and if i click the comments image, so it will transfer to comments site.
that is the one I needed.. any Info?
sticks464



Joined: 31 Dec 2006
Posts: 1283

PostPosted: Wed Aug 27, 2008 6:39 pm     Reply with quote

Let's assume the name or id of the frame is MAIN
To have links open in this frame
Code:
<a href="tfetacos.html" target=MAIN>my link</a>
Akira_AnimeAdikuZ



Joined: 27 Aug 2008
Posts: 7

PostPosted: Wed Aug 27, 2008 7:33 pm     Reply with quote

what did u mean the MAIN....
can you give me the whole Codes..
sticks464



Joined: 31 Dec 2006
Posts: 1283

PostPosted: Wed Aug 27, 2008 8:39 pm     Reply with quote

The code for the home page should be
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"

Code:
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Frames</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="100, 30, 600,*" framespacing="10px" frameborder="yes" border="1">
    <frame src="header.html" name="head" scrolling="no" noresize>
    <frame src="menu.html" name="menu" scrolling="no" noresize>
    <frame src="page.html" name="main" scrolling="no" noresize>
    <frame src="footer.html" name="foot" scrolling="no" noresize>
</frameset>
<noframes><body>
</body>
</noframes>
</html>


The footer.html would have all the links
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
</head>
<body>
<div id="menu" ><a href="#" target="main">link1</a> | <a href="#" target="main">link2</a> | <a href="#" target="main">link3</a> | <a href="#" target="main">link4</a></div>
</body>
</html>
Akira_AnimeAdikuZ



Joined: 27 Aug 2008
Posts: 7

PostPosted: Fri Aug 29, 2008 1:44 pm     Reply with quote

where can I put the IMage code?
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 

 
HOSTING / DESIGN
MAKE MONEY

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