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

What HTML code that to change the Frame into other Link?(Ple
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
Akira_AnimeAdikuZ



Joined: 27 Aug 2008
Posts: 7

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

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

Posted: Wed Aug 27, 2008 6:39 pm      

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

Posted: Wed Aug 27, 2008 7:33 pm      

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



Joined: 31 Dec 2006
Posts: 1283

Posted: Wed Aug 27, 2008 8:39 pm      

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

Posted: Fri Aug 29, 2008 1:44 pm      

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