Click to See Complete Forum and Search --> : frames


newtda
10-27-2003, 06:23 PM
here is some code I need help with. I am trying to put in a frame on the left side. where would i put the codeing.

there is my codeing that i want to put the frame in.

<html>
<head>
<body>
<br><br><center><h1>Information About Dan's Park District</font></br></br></center></h1>
<br><br><center><h2>Dan's park District has been around since 1985, each and every year we have changed in some way thanks to the pople who have join to the park. We use to just have a swing set, but every year that goes by we are able to build onto the park. Some of the newest parts of the park would be the pool and the tennis and basketball courts.In the past couple of years we have increased the amount of people that joined to the park. We plan on adding camp grounds for people to camp, baseball and football feild.By the year 2010 rolls around we would like to be one of the biggest parks in Ohio.</br></br></center></h2>
<br><br>
<h2><center>
<a href="price.html"><h2><center>Prices To Join The Park</a></h2></center>
<body>
<br><br><br>
</html>
</head>


<script>
//user will check the answer they will want

function the_question()
{
window.document.the_question.elements[0].checked = true;
window.document.the_question.elements[1].checked = true;
window.document.the_question.elements[2].checked = true;
window.document.the_question.elements[3].checked = true;
window.document.the_question.elements[4].checked = true;
}
</script>


<body>

<h2><center>What Would You Like To See In The Park</h2></center>
<br>
<br>

<form name="the_question">
<input type="checkbox">Lake<br>
<input type="checkbox">Water Park<br>
<input type="checkbox">Nature center<br>
<input type="checkbox">Walkking/biking trails<br>
<input type="checkbox">concession Stand<br>
<input type="submit" value="submit"></center><br>

</form>
</body>
</html>

PunkSktBrdr01
10-27-2003, 06:47 PM
That code goes in a seperate file. Set the frame src to the name of that seperate file.

newtda
10-27-2003, 07:07 PM
say if i wanted that same frame on all the pages how would I write out the text

PunkSktBrdr01
10-27-2003, 07:12 PM
Are you using framesets/frames or iframes? With framesets, you have the framesets on your index page (or wherever you plan to use them). That just tells the browser about the layout of the frames, though. You need a separate file for each frame's content. For iframes, you put the iframe code on the main page, and them have the iframes content in a separate file.

newtda
10-27-2003, 07:24 PM
i am using frames/framsets

newtda
10-27-2003, 07:32 PM
I think i have figure it out thanks for the help

PunkSktBrdr01
10-27-2003, 08:33 PM
Good luck!