Perl CGI script giving me problems
Matt Jones
matt at snurfer.org
Thu Feb 8 11:59:07 GMT 2007
On 2/8/07, peter church <peter.church at church-consultancy.co.uk> wrote:
> Hi,
> I am in the middle of my first CGI project and I am stuck on 2 issues. I
> am creating an answers file using a form one attribute at a time,
> so the form pops up asks a question with a submit then prints the previous
> answers and brings up the next question etc.
> what I need to do is
> 1) make the cursor appear in the box containing the current question each
> time
> 2) make the web page scroll down to where the box is if the page is longer
> than a standard browser window
>
> is this easy to achieve with the Perl CGI module?
I'd use a bit of Javascript for the first (so long as your project
doesn't require everything to be done on the server side), and I'd use
a HTML anchor for the second, rather than doing it with perl.
Please feel free to drop me a mail off-list if you want some links to
web pages with more details on how to do this.
--
Matt
More information about the london.pm
mailing list