Click to See Complete Forum and Search --> : frame?


DanUK
07-10-2003, 12:28 PM
Hi, sorry to bother you. I wonder if you can help me. I didnt want to change any major code .. as i've worked so long on this, but I thought something would be brilliant. I'll paste my code below, but is there an easy way to make the main body text, where all my content will be in a frame, instead of when it's large scrolling down, putting the copyright etc at hte bottom of the page. I wanted it so that just the content had a 'scroller', and the copyright etc etc would stay static around the screen.
my apologies if this is hard to understand.

here is the code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<HTML>
<HEAD>
<TITLE>my test.</TITLE>
<LINK REL="stylesheet" HREF="test.css" TYPE="text/css">
<script language="JavaScript">
<!--
script1
// -->
</script>

<script language="JavaScript">
<!--
script2
// -->
</script>

<script>
<!--
script3
-->
</script>

</HEAD>
<BODY BGCOLOR=#FFFFFF leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<font size="1">
<!-- Begin Body. -->
<script type="text/javascript"><!--
script4
//--></script>
</font>
<table width="100%" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="70" width="287" bgcolor="98A2AB" valign="top"> <table width="287" border="0" cellspacing="0" cellpadding="0" background="images/bkgrntop.jpg" height="70">
<tr valign="top">
<td nowrap height="50"></td>
</table>
<font size="1"><a name="top"></a></font></td>
<td height="70" bgcolor="98A2AB" valign="top" class="bodyplainwhite" width="472" nowrap></td>
</tr>
<tr>
<td height="18" colspan="2" valign="top"> <table border="0" cellspacing="0" cellpadding="0" width="100%" height="21" background="images/bkgrnnav_pattern.jpg">
<tr>
<td colspan="3"> <table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="menu" onMouseOver="MenuOver(this);" onMouseOut="MenuOut(this);" width="96"><font size="1">NAVIGATE >></font></td>
<td class="menu" onMouseOver="MenuOver(this);" onMouseOut="MenuOut(this);" width="76"><font size="1"><a href="link1" target="" class="menu">LINK2</a></font></td>
<td class="menu" onMouseOver="MenuOver(this);" onMouseOut="MenuOut(this);" width="76"><font size="1"><a href="link2" target="" class="menu">LINK3</a></font></td>
<td class="menu" onMouseOver="MenuOver(this);" onMouseOut="MenuOut(this);" width="76"><font size="1"><a href="link3" target="" class="menu">LINK4</a></font></td>
<td class="menu" onMouseOver="MenuOver(this);" onMouseOut="MenuOut(this);" width="76"><font size="1"><a href="link4" target="" class="menu">LINK5</a></font></td>
<td class="menu" onMouseOver="MenuOver(this);" onMouseOut="MenuOut(this);" width="76"><font size="1"><a href="link5" target="" class="menu">LINK6</a></font></td>
<td class="menu" onMouseOver="MenuOver(this);" onMouseOut="MenuOut(this);" width="76"><font size="1"><a href="link6" target="" class="menu">LINK7</a></font></td>
<td class="menu" onMouseOver="MenuOver(this);" onMouseOut="MenuOut(this);" width="76"><font size="1"><a href="link7" target="" class="menu">LINK8</a></font></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td class="bodyplain" colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150" bgcolor="5F6F7F" valign="top" background="images/bkgrnbody.jpg" style="background-repeat: no-repeat; background-attachment: fixed;"><TABLE border=0 cellPadding=0 cellSpacing=0 width=150>
<TBODY>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG border=0 height=29 src="images/blah2.gif" width=150></FONT></TD>
</TR>
<TR>
<TD background=images/blah4.gif width=17></TD>
<TD bgColor=#ffffff vAlign=top width=114><FONT face=Tahoma size=1><strong>
<IMG height=9 src="images/arrow.gif" width=9> <FONT class=content color=#363636>LINK<BR></FONT></strong><FONT class=content color=#363636>
<IMG height=8 src="images/bulletb.gif" width=8> <a href="LINK">LINK</a><BR>
<IMG height=8 src="images/bulletb.gif" width=8> <a href="LINK">LINK</a><BR>
<IMG height=8 src="images/bulletb.gif" width=8> <a href="LINK">LINK</a><BR>
<IMG height=8 src="images/bulletb.gif" width=8> <a href="LINK">LINK</a></FONT></FONT></TD>
<TD background=images/blah3.gif width=19></TD>
</TR>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG border=0 height=21 src="images/blah5.gif" width=150></FONT></TD>
</TR>
</TBODY>
</TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=138>
<TBODY>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG border=0 height=29 src="images/blah2.gif" width=150></FONT></TD>
</TR>
<TR>
<TD background=images/blah4.gif width=17></TD>
<TD bgColor=#ffffff vAlign=top width=114><FONT face=Tahoma size=1><IMG height=9 src="images/arrow.gif" width=9>
<FONT class=content color=#363636><b>LINK</b></FONT></FONT><FONT class=content color=#363636 face=Tahoma size=1><BR>
<IMG height=8 src="images/bulletb.gif" width=8> <a href="LINK">LINK</a><BR>
<IMG height=8 src="images/bulletb.gif" width=8> <a href="LINK">LINK</a><BR>
<IMG height=8 src="images/bulletb.gif" width=8> <a href="LINK">LINK</a></FONT></TD>
<TD background=images/blah3.gif width=19></TD>
</TR>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG border=0 height=21 src="images/blah5.gif" width=150></FONT></TD>
</TR>
</TBODY>
</TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=147>
<TBODY>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><BR>
<IMG border=0 height=29 src="images/blah2.gif" width=150></FONT></TD>
</TR>
<TR>
<TD background=images/blah4.gif width=17></TD>
<TD bgColor=#ffffff vAlign=top width=114><FONT face=Tahoma size=1><IMG height=9 src="images/arrow.gif" width=9>
<FONT class=content color=#363636><b>LINK</b></FONT></FONT><FONT class=content color=#363636 face=Tahoma size=1><BR>
<IMG height=8 src="images/bulletb.gif" width=8> <a href="LINK">LINK</a><BR>
<IMG height=8 src="images/bulletb.gif" width=8> <a href="LINK">LINK</a><BR>
<IMG height=8 src="images/bulletb.gif" width=8> <a href="LINK">LINK</a></FONT></TD>
<TD background=images/blah3.gif width=19></TD>
</TR>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG border=0 height=21 src="images/blah5.gif" width=150></FONT></TD>
</TR>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><BR>
<IMG border=0 height=29 src="images/blah2.gif" width=150></FONT></TD>
</TR>
<TR>
<TD background=images/blah4.gif width=17></TD>
<TD bgColor=#ffffff vAlign=top width=114><FONT face=Tahoma size=1><strong><IMG height=9 src="images/arrow.gif" width=9>
<font color="#363636">LINK </font></strong><FONT class=content color=#363636><a href="LINK"><img src="images/eu.gif" width="20" height="10" border="0"></a></FONT></FONT></TD>
<TD background=images/blah3.gif width=19></TD>
</TR>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG border=0 height=21 src="images/blah5.gif" width=150></FONT></TD>
</TR>
</TBODY>
</TABLE>
<P align="center"><font color="#FFFFFF" size="1" face="Tahoma">Please select your language:</font></P>
<form name="getstart">
<div align="center"><font size="2" face="Tahoma">
<select name="select" onChange="goUrl(this.form.select)">
<option value="-1" selected>Please select ...</option>
<option value="LINK">English</option>
<option value="LINK">Romanian</option>
</select>
</font></div>
</form>
</td>
<td width="16" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="16" height="16"><font size="1"><img src="images/cornertop.jpg" width="16" height="16"></font></td>
</tr>
</table></td>
<td valign="top"> <p>&nbsp;</p>
<p align="center"><font color="#000000" size="1" face="Tahoma"><strong>body text</strong></font></p>
<p align="justify"><font color="#000000" size="1" face="Tahoma">body text</font></p>
<p align="justify"><font color="#000000" size="1" face="Tahoma">body text</a></font></p>
<p align="justify"><font color="#000000" size="1" face="Tahoma">body text</font></p>
<p align="right"><font color="#000000" size="1" face="Tahoma"><a href="#top">Back to top</a></font></p>
<hr align="center" width="90%" size=1 Color=#000000> <p></p>
<p align="center"><font color="#000000" size="1" face="Tahoma">body text</a>.</font></p>
<p align="center"><font color="#000000" size="1" face="Tahoma">body text</font></p>
<p align="right"><font color="#000000" size="1" face="Tahoma"><a href="#top">Back to top</a></font></p>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150" bgcolor="5F6F7F">&nbsp;</td>
<td width="16"><font size="1"><img src="images/cornerbottom.gif" width="16" height="16"></font></td>
<td>&nbsp;</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<!-- Begin copyright information. -->
<td height="19" bgcolor="5F6F7F"> <div align="center" class="bodyplainwhite"><font size="1"><font color="#ffffff">COPYRIGHT</a></font>.</font></div>
<font size="1">
<!-- End copyright information. -->
</font></td>
<td height="19" width="31"><font size="1"><img src="images/footer.gif" width="31" height="19"></font></td>
<td bgcolor="B4C64E" width="100">&nbsp;</td>
</tr>
</table></td>
</tr>
</table>
</BODY>
<!-- End Body. -->
</HTML>

Khalid Ali
07-10-2003, 01:34 PM
put all th econtent in another page and open that page in an iframe(if you have to use frames)
then on the main pages bottom print the copy right statement

DanUK
07-10-2003, 02:53 PM
i thought it'd be difficult hehe!
thanks!
do you think the code above looks 'right', i worked so long on it .. i bet others can spot errors so quick .. :)