Solved

Having problem's

Posted on 2003-12-04
9
205 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
Independent Software Vendors: 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
Sending ASP to server side 8 31
Why is my $_POST not going to results page 10 36
Validating number not work with decimal 4 24
Calculating percentage 2 29
Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

756 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