-
Easy beginner question!
Code:
<HTML>
<HEAD>
</HEAD>
<BODY>
<P>
<TABLE cellSpacing=1 cellPadding=1 width="75%" border=1>
<TR>
<TD>
<a href="http://www.vbforums.com">Link1</a><br>
<a href="http://www.looknmeet.com/tmfboy">Link2</a>
</TD>
<TD>I want my links to open in this cell!!!!</TD>
</TR>
</TABLE>
</P>
</BODY>
</HTML>
I don't know how to navigate when using tables as a frameset! The code above uses 1 row and 2 coumns to keep it simple! I want to use de first cell as a navigation panel for the second cell! So if a user clicks a link in the first cell, only the information in the second cell should be refreshed!
Sorry I'm just a newbie in this HTML stuff
-
You can't really do that I'm afraid, you to either use real frame or an iframe. And iframe is about the closest you'll get to what you want:
Code:
<iframe src="PAGE.html" width="90%" height="300" name="content">Sorry but your browser doesn't support iframes</iframe>
-
Hmmmmmmmmm I doubt that!
I learned that I can't use frames because Netscape doesn't support that! Instead you should use tables for your webdesigning. But I was unable to target my links in that second cell! :(
-
I don't think that's what they mean. What they mean is that you have to columns, one for links (usually on the left) and another for the main content. Something like:
Code:
<table>
<tr>
<td>LINKS GO HERE</td>
<td>CONTENT GOES HERE</td>
</tr>
</table>
Although you shouldn't really use tables as it's not very accessible. You should really use CSS and DIVs like so:
Code:
<head>
<style type="text/css"><!--
#menu {
position:absolute;
top:0px;
left:0px;
width:10em;
}
body {
margin-left:11em;
}
--></style>
</head>
<body>
<p>MAIN CONTENT GOES HERE</p>
<div id="menu">
LINKS GO HERE
</div>
</body>
Plus the advantage of CSS is you can do so much with it, and add different style sheets to make your page look different without ever having to change your original page (if you use external style sheets that is).
And Netscape can handle frames (from memory anyway), just not IFRAMEs in version 4 or earlier.
-
I believe there is a way using Javascript but I don't know how that works!
-
Well you can do things using JavaScript, but I can't think of a way that makes it easy. Plus if you do that you'd probably be alienating just as many people as if you used frames. As long as you provide a <noframes></noframes> section underneath your last </frameset> you won't have any problems using frames as people without frames would see what you put in the noframes section (i.e. a link to a page that lists all pages on your site).
-
Pls?
I really need the javascript! All my code and layout is based on it! This code I got:
Code:
function Click(gekozenlink)
{if (gekozenlink=='link1')
{document.location="link1.html";}}
--> This is the javascript function to open up the page
Code:
<A href="javascript:Click('link1')" name=link1><IMG height=18 src="images/button11.gif" width=130 border=0 name=link1></A>
--> This is a simplified version of my link
But this cod makes the WHOLE window refresh and I just want new content in my main cell! :confused: :mad: :rolleyes:
PLS... HHHHHEEEEELLLLLLPPPPPP