AllHale
asked on
Setting Frames
I've managed to create frames for my homepage but they are not "sticking" to the index.html file. When I view it in a browser it works but it won't work on the actual internet. What do I do to connect the frames together so that they remain together when posted on the internet like they do when I preview the browser? Please provde step-by-step instructions to adding frames and content. Also, is there a way to stretch images as the background instead of the tiling fault?
Thanks for your time,
Thanks for your time,
ASKER
Below is the code for the index.html of my site. Please let me know how I can set it up so that frames (sidebars) will appear. Thanks again.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>FrontierAIDS</title >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
background-color: #000000;
}
.style3 {color: #4AA5FF}
.style4 {
font-size: 24px;
color: #4AA5FF;
}
.style7 {color: #4AA5FF; font-size: 18px; }
a:link {
color: #4AA5FF;
}
a {
font-size: 16px;
font-family: Arial, Helvetica, sans-serif;
}
.style9 {color: #4AA5FF; font-size: 16px; }
-->
</style>
</head>
<body bgcolor="#000000" text="#669999" vlink="#006666" alink="#003333">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<!--DWLayoutTable-->
<tr align="center">
<td height="183" colspan="3"><a href="#">
<object classid="clsid:D27CDB6E-AE 6D-11cf-96 B8-4445535 40000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1100" height="175">
<param name="movie" value="Images/FrontierAids HeaderWith InFo.swf">
<param name="quality" value="high">
<embed src="Images/FrontierAidsHe aderWithIn Fo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockw ave-flash" width="1100" height="175"></embed>
</object>
</a></td>
</tr>
<tr>
<td width="364" height="27" align="center" valign="top"><span class="style9"><a href="index.html">Search</ a></span>< /td>
<td width="467" align="center" valign="top"><span class="style7"><u><a href="Images/aboutfrontier AIDSpage.h tm" class="style3">About FrontierAIDS</a> </u></span></td>
<td width="279" align="center" valign="top"><a href="mailto:frontieraids@ gmail.com" class="style3">Contact US </a></td>
</tr>
</table>
<p> </p>
<p align="center">
<object classid="clsid:D27CDB6E-AE 6D-11cf-96 B8-4445535 40000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1000" height="750">
<param name="movie" value="Images/HIVViralFigu re5.swf">
<param name="quality" value="high">
<embed src="Images/HIVViralFigure 5.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockw ave-flash" width="1000" height="750"></embed>
</object>
</p>
<p align="center" class="style4">
<object classid="clsid:D27CDB6E-AE 6D-11cf-96 B8-4445535 40000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="857" height="359">
<param name="movie" value="Images/NavigationBa r.swf">
<param name="quality" value="high">
<embed src="Images/NavigationBar. swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockw ave-flash" width="857" height="359"></embed>
</object>
</p>
<p align="center">
<object classid="clsid:D27CDB6E-AE 6D-11cf-96 B8-4445535 40000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1020" height="100">
<param name="movie" value="Images/Contribution Bar.swf">
<param name="quality" value="high">
<embed src="Images/ContributionBa r.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockw ave-flash" width="1020" height="100"></embed>
</object>
</p>
<p align="center"> </p>
<p> </p>
<p align="center">Copyright © 2005-2006.</p>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>FrontierAIDS</title
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
background-color: #000000;
}
.style3 {color: #4AA5FF}
.style4 {
font-size: 24px;
color: #4AA5FF;
}
.style7 {color: #4AA5FF; font-size: 18px; }
a:link {
color: #4AA5FF;
}
a {
font-size: 16px;
font-family: Arial, Helvetica, sans-serif;
}
.style9 {color: #4AA5FF; font-size: 16px; }
-->
</style>
</head>
<body bgcolor="#000000" text="#669999" vlink="#006666" alink="#003333">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<!--DWLayoutTable-->
<tr align="center">
<td height="183" colspan="3"><a href="#">
<object classid="clsid:D27CDB6E-AE
<param name="movie" value="Images/FrontierAids
<param name="quality" value="high">
<embed src="Images/FrontierAidsHe
</object>
</a></td>
</tr>
<tr>
<td width="364" height="27" align="center" valign="top"><span class="style9"><a href="index.html">Search</
<td width="467" align="center" valign="top"><span class="style7"><u><a href="Images/aboutfrontier
<td width="279" align="center" valign="top"><a href="mailto:frontieraids@
</tr>
</table>
<p> </p>
<p align="center">
<object classid="clsid:D27CDB6E-AE
<param name="movie" value="Images/HIVViralFigu
<param name="quality" value="high">
<embed src="Images/HIVViralFigure
</object>
</p>
<p align="center" class="style4">
<object classid="clsid:D27CDB6E-AE
<param name="movie" value="Images/NavigationBa
<param name="quality" value="high">
<embed src="Images/NavigationBar.
</object>
</p>
<p align="center">
<object classid="clsid:D27CDB6E-AE
<param name="movie" value="Images/Contribution
<param name="quality" value="high">
<embed src="Images/ContributionBa
</object>
</p>
<p align="center"> </p>
<p> </p>
<p align="center">Copyright © 2005-2006.</p>
</body>
</html>
Okay, there is no frameset command in the above. How are you displaying the frames?
AllHale, a frameset page looks something like this:
<frameset cols="80,*,80" frameborder="no" border="0" framespacing="0">
<frame src="page1.html" name="leftFrame" id="leftFrame" title="leftFrame" />
<frame src="mainpage.html" name="mainFrame" id="mainFrame" title="mainFrame" />
<frame src="page2.html" name="rightFrame" id="rightFrame" title="mainFrame" />
</frameset>
<noframes>
<body>
</body>
</noframes>
Where page1 and page2 are your left and right sidebars and mainpage is your content. Is this what you need?
<frameset cols="80,*,80" frameborder="no" border="0" framespacing="0">
<frame src="page1.html" name="leftFrame" id="leftFrame" title="leftFrame" />
<frame src="mainpage.html" name="mainFrame" id="mainFrame" title="mainFrame" />
<frame src="page2.html" name="rightFrame" id="rightFrame" title="mainFrame" />
</frameset>
<noframes>
<body>
</body>
</noframes>
Where page1 and page2 are your left and right sidebars and mainpage is your content. Is this what you need?
ASKER
I believe what I need to know is where to insert a code for frames within the code for the index.html and how to modify the code to make changes in those individual frames. Also, could someone please tell me how to add more than one as well. Also, how can I add images that are stretched to the background instead of images that become tiled? Thanks guys.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Post the code from the index.html document (the frameset) and we'll troubleshoot it...