[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] One for the perlmonks
And Lo! The Great Prophet Steve Tickle uttered these words of wisdom:
>
> Not a lot. :-( Maybe if I explained a bit more what I'm trying to do.
>
> I have a perl script which is called when someone clicks on an image. The
> script logs the time, date and REMOTE_ADDR and redirects the browser to
> another page. I want to display that page in another frame.
> I'm quite OK doing this in HTML or javascript but as I'm not using HTML or
> javascript in this particular application, I'm a bit stumped.
> HTH a bit
In that case, can't the image just be like:
<a href="myscript.pl" target="targetframe">
<img src="picture.jpg" border="0" />
</a>
Then myscript.pl well be executed in the context of the frame named
targetframe, and any page subsequently sent back by the script will go
there... ?
Chris...
--
\ Chris Johnson \ NP:
\ cej [at] nightwolf.org.uk \
\ http://cej.nightwolf.org.uk/ \
\ http://redclaw.org.uk/ ~---------------------------------------
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.