Perl CGI script giving me problems

Earle Martin perl at downlode.org
Thu Feb 8 11:51:46 GMT 2007


On 08/02/07, peter church <peter.church at church-consultancy.co.uk> wrote:
> 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?

Peter,

Perl doesn't do client-side (browser) stuff. For that you need to use
JavaScript. In particular, you're looking for the focus() method. This
page seems to explain it well: http://jdj.sys-con.com/read/36810.htm

Hope this helps,

Earle.

-- 
Earle Martin
            http://downlode.org/
http://purl.org/net/earlemartin/


More information about the london.pm mailing list