Solved

Having problem's

Posted on 2003-12-04
9
206 Views
Last Modified: 2010-04-09
Hi all im having problems with making this web page interactive eg i want people to wright in these areas and be abel to save it to there area the fineched product

the areas are all the " " bits in this code

yours

hisshadow

<head>
<!-- TemplateBeginEditable name="doctitle" -->
<title>Leason Plan</title>
<!-- TemplateEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<style type="text/css">
<!--
.style2 {font-size: 12px}
.style3 {
      font-size: 18px;
      font-weight: bold;
}
.style5 {font-size: 14px}
.style6 {font-size: 18px}
-->
</style>
</head>

<body>

<div align="center">
  <p align="center" class="style3"><u>Lesson Plans </u></p>
  <p align="center" class="style6">Month
    <select name="month">
        <option value="1">1</option>
      <option value="2">2</option>
      <option value="3">3</option>
      <option value="4">4</option>
      <option value="5">5</option>
      <option value="6">6</option>
      <option value="7">7</option>
      <option value="8">8</option>
      <option value="9">9</option>
      <option value="10">10</option>
      <option value="11">11</option>
      <option value="12">12</option>
    </select>
  Year
  <select name="YY">
    <option value="00">00</option>
    <option value="01">01</option>
      <option value="02">02</option>
      <option value="03">03</option>
      <option value="04">04</option>
      <option value="05">05</option>
      <option value="06">06</option>
      <option value="07">07</option>
      <option value="08">08</option>
      <option value="09">09</option>
      <option value="10">10</option>
      <option value="11">11</option>
      <option value="12">12</option>
      <option value="13">13</option>
      <option value="14">14</option>
      <option value="15">15</option>
      <option value="16">16</option>
      <option value="17">17</option>
      <option value="18">18</option>
      <option value="19">19</option>
      <option value="20">20</option>
  </select>
  </p>
</div>
<div align="center">
  <table width="776" height="193" border="1">
    <tr>
      <td width="74"><span class="style2">NC/GCSE Level </span></td>
      <td width="686"><u><strong>Learning Objectives </strong></u></td>
    </tr>
    <tr>
      <td><div align="right">
        <ul>
          <li></li>
        </ul>
      </div></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td><div align="right">
        <ul>
          <li></li>
        </ul>
      </div></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td><div align="right">
        <ul>
          <li></li>
        </ul>
      </div></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td><div align="right">
        <ul>
          <li></li>
        </ul>
      </div></td>
      <td>&nbsp;</td>
    </tr>
  </table>
</div>
<p>&nbsp;</p>
<div align="center">
  <table width="776" height="127" border="1">
    <tr>
      <td width="160" height="0"><span class="style5">Literacy/Presentation</span></td>
      <td width="601">&nbsp;</td>
    </tr>
    <tr>
      <td width="160" height="0"><span class="style5">Numerancy</span></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td width="160" height="0"><span class="style5">SMSC/Citizenship</span></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td width="160" height="0"><span class="style5">ICT</span></td>
      <td>&nbsp;</td>
    </tr>
  </table>
</div>
<p>&nbsp;</p>
</body>
</html>
0
Comment
Question by:Nicky Raven
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 3

Accepted Solution

by:
mrh30 earned 125 total points
ID: 9873056
I suggest you put a couple of form tags round everything you want to input:

<form name="mainform" action="[location of a CGI script]" method="post">
[Content]
</form>

Then replace each of your &nbsp; by <textarea name="area1"></textarea>

Your CGI script should then be able to gather the information from the text areas and save the data off for you.  For example in a Perl CGI script, you might access the textarea above by something like:

#!/usr/bin/perl -w

use strict;
use CGI;

my $q = new CGI();
print $q->header();

my $input = $q->param('area1');

open FILE, "> filename";
print FILE $input;
close FILE;

print "Saved data";
0
 

Author Comment

by:Nicky Raven
ID: 9873416
a contuniu to that question i get arros on the end of the editable box is there a way of geting rid of them intill someon over wrights over the seeable edge

yours

HisShadow
0
 
LVL 3

Expert Comment

by:mrh30
ID: 9873442
It's a little bit tricky to do so.  The only way you could achieve that sort of effect is to set the textarea's style to "overflow: hidden", which hides the scroll bars, but also any content which overflows the box.  You could then write a bit of Javascript to monitor the input and change the overflow type when there's enough input to probably overflow the box.  But that's very tricky to know as characters can be different sizes etc.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Nicky Raven
ID: 9873466
that worked ta ill get back if i come across another problem ill give points out as soon as its been published on my intranet server

yours

HizShadow
0
 

Author Comment

by:Nicky Raven
ID: 9873757
sorry about this but ive been asked to ad a save button to the bottom of the page so it saves it a a .Doc file is there a way and i have no CGI script

yours painfully

HiZShadow
0
 
LVL 3

Expert Comment

by:mrh30
ID: 9873783
Outputting .doc files with Perl is quite hard work.  Best I can do is point you in the direction of http://use.perl.org/article.pl?sid=01/03/07/030233

I'm afraid I've never done it myself.
0
 

Author Comment

by:Nicky Raven
ID: 9873828
im using dreemwaever to create the page i have no understanding  of these programing languages (arrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr)

yours

HizShadow
0
 
LVL 3

Expert Comment

by:mrh30
ID: 9873841
Well, what you're asking for requires server-side scripting to save the data somewhere, which means you'll need to learn something about Perl or similar.
0
 

Author Comment

by:Nicky Raven
ID: 9873922
k ta

yours

HizShadow
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question