Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Calling with input type hidden probs

0 views
Skip to first unread message

Gordon Handley

unread,
Nov 29, 2000, 7:24:31 PM11/29/00
to
Hi
I am having a bit of a problem calling a perl file from a html file. I
am using images as buttons and then input type hidden etc but I want to call
one perl script with three different images and don't want to have to put it
in a seperate form each time as this means the layout looks shit as the
buttons will not be put underneath each other. This is the code I want to
implement, but this will not call the script.

<FORM method="post" action
="http://www.cs.cf.ac.uk/User-bin/G.Handley/houses.pl">
<input type="image" src="images/buttonnews.gif"
alt="Houses News" border=0><input type ="hidden" name="action" value="News">
<input type="image" src="images/buttonpeople.gif"
alt="People" border=0><input type ="hidden" name="action" value="People">
<input type="image" src="images/buttoncontacts.gif"
alt="Contacts" border=0><input type ="hidden" name="action"
value="Contacts"></FORM>

Is there away of doing it without having to split each image into a
different form. I have tried tables and image maps , but I can't seem to
get it working.
The script itself is working fine as you can see at
www.housestalybont.co.uk/index1.html Any suggestions would be very welcome.
Thanks


0 new messages